No project description provided
Project description
TurboTerm
⚡ A high-performance terminal styling and CLI toolkit for Python, written in Rust 🦀
Styled output, tables, and argument parsing — all three from a single Rust-backed import. TurboTerm covers 90% of CLI use cases in a single package and aims to provide the fastest possible performance with the smallest possible footprint.
Installation
pip install turboterm
Quickstart
from turboterm import console
from turboterm.cli import Option, command, run
@command
def greet(
name: str = Option(["--name", "-n"], default="World"),
):
"""Greet someone."""
console.print(f"[bold]Hello, {name}![/bold]")
if __name__ == "__main__":
run()
python app.py --name Alice
# Hello, Alice!
python app.py --help
For the full API reference see USAGE.md.
Development
git clone https://github.com/valentinstn/turboterm.git
cd turboterm
uv run maturin develop
Running tests
uv run python -m unittest discover tests
Running benchmarks
uv run python scripts/benchmark.py # full benchmark + regenerate charts
License
MIT License
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
Built Distributions
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 turboterm-0.1.1.tar.gz.
File metadata
- Download URL: turboterm-0.1.1.tar.gz
- Upload date:
- Size: 86.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30abe3fc96e44362c84addffd4f50ca7412e4fdd74e55f91a17402b7da5d5de7
|
|
| MD5 |
abf923549e7adc068c9c9bf005f4439c
|
|
| BLAKE2b-256 |
e3e8622d03ea568c0fa5670f9f3f25d6fe9c254388bb6f4f3d2b83eadf577eb0
|
File details
Details for the file turboterm-0.1.1-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: turboterm-0.1.1-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 274.1 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
745187359b164b7383b19830a9a1b0475ed988c47ca664c56fef89e0fedd4585
|
|
| MD5 |
cee22f1350369d8a4f772f2e945ea36b
|
|
| BLAKE2b-256 |
c7a7c8d57c718d6a312536249cfb741ba710cde94cb08e0c7ce321c89aec901e
|
File details
Details for the file turboterm-0.1.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: turboterm-0.1.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 349.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f67e668247b2b21f0a64151caa742285af55bff00c51f839cd11e0b885a6627f
|
|
| MD5 |
9b7c337d4d529a05950a9bb8a25eb646
|
|
| BLAKE2b-256 |
b1af73d88aa74c6d5adc89b2ffc1640e21bba1a5d58375c57e1b046c4b50bb6f
|
File details
Details for the file turboterm-0.1.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: turboterm-0.1.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 332.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86afb63da15b179b1a6e8ca042834a01c44d97113957c3ecc1ca991cc954c6c3
|
|
| MD5 |
c05347363d3b3c14a0eb2ed451d6c819
|
|
| BLAKE2b-256 |
43128a15601a88477520226be90ca95ac5562cb83032b96be1bd992a1f880d62
|
File details
Details for the file turboterm-0.1.1-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: turboterm-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 318.1 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da456b08ab1769b89043dcf3e87a7e51412d0183893a20209742e226efaa5864
|
|
| MD5 |
95ba79912e4d86f72cc0d0674094a6fd
|
|
| BLAKE2b-256 |
2ad898fcf3e79e4815c2ef70737e6b496b02bcb3e80002cb3024bb352ae661dc
|
File details
Details for the file turboterm-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: turboterm-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 336.3 kB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2c0f87c36a9e91f49a7a2e721ddf2fce9a4fbb08ace49f785e64903ee3bc65b
|
|
| MD5 |
90c0e36554bf9f0beccbdab9c286ed2b
|
|
| BLAKE2b-256 |
d7326fd50f5892a01aa4e020d7f41e7c7e6ee9b7e7fcd5e6ee2896b062f1ddbf
|