Skip to content

dimasusername/typer-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typer Fun

What is this?

I've just discovered Typer, a library for building command-line interfaces (CLIs) in Python. It's built on top of Click and uses Python's type hints to provide a simple and intuitive way to create CLIs.

This is FastAPI sibling.

Why?

Instead of adding this to my bookmarks, I will just go ahead and create a repo for it. I will add more examples as I learn more about Typer.

Directory

.
├── README.md         # This file
├── main.py           # Welcome program
├── 001-hello_world/
│   └── hello_name.py       # Hello, Name! program

Installation Log

$ uv add typer
Using CPython 3.13.5 interpreter at: /usr/bin/python3.13
Creating virtual environment at: .venv
Resolved 10 packages in 1.65s
Prepared 5 packages in 290ms
Installed 8 packages in 11ms
 + click==8.3.0
 + markdown-it-py==4.0.0
 + mdurl==0.1.2
 + pygments==2.19.2
 + rich==14.1.0
 + shellingham==1.5.4
 + typer==0.19.2
 + typing-extensions==4.15.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages