Speedi
A typed, stateful, high-performance CLI framework for Python.
- Declarative, Typer-like API
- Type-hint aware parsing and validation (Satya-ready stubs)
- Stateful session (in-memory, optional persistence)
- Async-first with simple parallel primitives
- Optional Rust core (PyO3) scaffold
Quickstart (local, no install)
python examples/speedi_example.py --help
python examples/speedi_example.py greet Alice 30 --loud
Example output:
Hello Alice, age 30
HELLO ALICE
Session (optional persistence)
python examples/speedi_example.py login alice
python examples/speedi_example.py whoami
To persist session between runs, pass --persist to commands that mutate session or set env SPEEDI_PERSIST=1.
Session file path (if persisted): ~/.speedi/session.json
Project Layout
speedi/– core Python packageapp.py–Appand command systemsession.py– session managementconcurrency.py–parallelhelpervalidation.py– type validation stubsengine.py– optional Rust bridge (stub)__init__.py– exports
examples/– example CLIrust/speedi_core/– optional Rust core (PyO3) scaffoldtests/– minimal tests
Rust core (optional)
A PyO3 stub is included under rust/speedi_core. It's not required to run the Python example.
Colors
Speedi supports colored output via Rich with graceful fallback.
- Install extras:
pip install -e .[rich] - Auto-enabled on TTY; force with
SPEEDI_COLOR=1or disable withSPEEDI_COLOR=0. - Try:
python examples/speedi_example.py colors
Agent guide
See AGENT.md for integrating Speedi into your app/agent: commands, session, concurrency, and color helpers.
License
MIT
Metadata
Release files for speedi 0.1.0
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 | |
|---|---|---|---|---|
| speedi-0.1.0.tar.gz | 11.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| speedi-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
Total release size: 239.6 kB
Release files / speedi-0.1.0.tar.gz
| Download URL | speedi-0.1.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
573de1e2f0b3c5349850b70be36dd1f975c69116806f25143bab0f38068278ed
|
|
BLAKE2b-256 checksum How to use checksums |
949ed9239b88a6a0fd9ea61696442d8100c9f8f7df0f7c30bb1936a0eae76e56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / speedi-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | speedi-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 228.1 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
12517c27a82409a53d579ac0a4dad1ae78f72d982166ee5800142779f78ae525
|
|
BLAKE2b-256 checksum How to use checksums |
2b7f04577b639c980b5125a9112343a7d9d10926846a4f0ea08f3981941484cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Security for speedi 0.1.0
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.