Skip to main content

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.

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)

Source distribution for atsuko 0.2.1
File Size Uploaded
atsuko-0.2.1.tar.gz 13.7 kB Details

Built distribution (wheel)

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

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}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.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