Skip to main content

Climates

GitHub Workflow Status PyPI PyPI - Python Version GitHub

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.

Metadata

Release files for climates 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for climates 0.0.4
File Size Uploaded
climates-0.0.4.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for climates 0.0.4
File Interpreter ABI Platform
climates-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / climates-0.0.4.tar.gz

Download URL climates-0.0.4.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d8d0d69083a8950598e3a1f160feda7a4702ba14aec32bf48872e33e2aa5cb92
BLAKE2b-256 checksum
How to use checksums
3088154f410bbe4d7d6e5fd5fa10113f2e6dc094fa26663b8d590a8b228ff0f3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / climates-0.0.4-py3-none-any.whl

Download URL climates-0.0.4-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a504816829d86baab46865db3d8d721fa44804c8a0476cf1b6f06628cdcde2a9
BLAKE2b-256 checksum
How to use checksums
9a1d87b71a7973b276e4bb52687c3e3b9f7835750c1fc84607e6de19b0f1ac65
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page