Command-line interfaces made accessible to even simpletons
Project description
Climates
Command-line interfaces made accessible to even simpletons.
Installation
pip install climates
Usage
# Step 1: import Climate
from climates import Climate
# Step 2: create Climate object
cli = Climate("hello", description="Hello world app.")
# Step 3: ???
# Step 4: add commands to CLI
cli.add_commands(hello, bye)
# Step 5: run CLI
cli.run()
# Step 6: PROFIT!!!
See example.py for details.
Features
- Generate CLI help and options from docstrings and type annotations
- Automatic dispatch to command handling functions
License
MIT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
climates-0.0.4.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file climates-0.0.4.tar.gz.
File metadata
- Download URL: climates-0.0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d0d69083a8950598e3a1f160feda7a4702ba14aec32bf48872e33e2aa5cb92
|
|
| MD5 |
8f09a23584a1fd4967ee4b7dccfd8bd0
|
|
| BLAKE2b-256 |
3088154f410bbe4d7d6e5fd5fa10113f2e6dc094fa26663b8d590a8b228ff0f3
|
File details
Details for the file climates-0.0.4-py3-none-any.whl.
File metadata
- Download URL: climates-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a504816829d86baab46865db3d8d721fa44804c8a0476cf1b6f06628cdcde2a9
|
|
| MD5 |
2c9c2634fc98327ccc77fb00a814f640
|
|
| BLAKE2b-256 |
9a1d87b71a7973b276e4bb52687c3e3b9f7835750c1fc84607e6de19b0f1ac65
|