Skip to content

aayanrahman/Python-Typer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python Typer Project

Welcome to the Python Typer Project! This project is designed to help you quickly create command-line interfaces (CLI) using Python's Typer library.

Table of Contents

Installation

To install the required dependencies, run:

pip install typer

Usage

Here's a simple example of how to use Typer in your project:

import typer

def main(name: str):
    typer.echo(f"Hello {name}")

if __name__ == "__main__":
    typer.run(main)

To run the example, use the following command:

python your_script.py NAME

Features

  • Easy to use
  • Automatic help messages
  • Supports type annotations
  • Built-in validation

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages