atsuko
A tool for easily create command-line interfaces in Python.
I discovered that a tool like atsuko already exists and is much more advanced: its name is typer. It does exactly what I planned for atsuko to do, so I recommend using typer instead of atsuko.
I will stop developing this package.
Installation
Install atsuko using pip:
pip install atsuko
Usage
Here's a simple example of how to use atsuko to create a command-line interface:
import sys
from atsuko import CLI
# Create a new CLI application
app = CLI(
name="my-app",
description="A simple example application.",
version="0.1.0"
)
@app.command
def greet(name: str):
"""Greets the given name."""
app.log(f"Hello, {name}!")
if __name__ == "__main__":
app.run(sys.argv[1:])
You can then run the application from the command line:
python my_app.py greet World
# Output: Hello, World!
Contributing
Contributions are welcome! Please feel free to submit a pull request.
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
Metadata
Release files for atsuko 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atsuko-0.2.1.tar.gz | 13.7 kB | Without provenance | Details for atsuko-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atsuko-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for atsuko-0.2.1-py3-none-any.whl |
Total release size: 23.9 kB
Release files / atsuko-0.2.1.tar.gz
| Download URL | atsuko-0.2.1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0afd7772d2f3a2d8762118050ccd65799ecaf934080cfbd69e51fd511f14c54
|
|
BLAKE2b-256 checksum How to use checksums |
40c1a2ef69196cc0cdf9533af3a32aa5e5cbf2710a23c419e8907c426d421654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / atsuko-0.2.1-py3-none-any.whl
| Download URL | atsuko-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e15336e2251db31d331e40e8b9caa6e5070fa3d4aedf0c74e1c4a49ec33fecb9
|
|
BLAKE2b-256 checksum How to use checksums |
93440442cc3e37e4498570acf6afa7f85b7e7717f39d1ee5661deb13c22a16f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for atsuko 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.