Pre-release
This release is a pre-release and may not be stable for production use.
📦 For Start
Manually:
git clone https://github.com/He-STALIN/ttykit.git
- Change dir and exec
pip install .
Auto
-
exec
pip install ttykit -
And use in your projects!
License
- This lib uploading with MIT License See License
Code Examples
Status
from ttykit import Status, TaskState
with Status("Something unit", spinner="line") as status:
<some action>
status.set_state(TaskState.SUCCESS)
Progress
from ttykit import Progress
with Progress(100, "Some desc", 40) as progress:
<some action>
progress.update(<value>)
<some action again>
progress.finish()
or
with Progress(100, "Some desc", 40) as progress:
while not progress.finished:
<some actions>
progress.advance(<step>)
<maybe action again>
Also
- also you can use prepared colors in this lib
Metadata
Release files for ttykit 0.3.0b4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ttykit-0.3.0b4.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ttykit-0.3.0b4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.4 kB
Release files / ttykit-0.3.0b4.tar.gz
| Download URL | ttykit-0.3.0b4.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21f578ac1fc7c9bde546d27f0891bc9fca4d1eb1cdc9120e613c4cf0176cfce5
|
|
BLAKE2b-256 checksum How to use checksums |
c19584159321f4611cad1d1dc495ae6aff1d19ceb7b5881094809eae27da9740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / ttykit-0.3.0b4-py3-none-any.whl
| Download URL | ttykit-0.3.0b4-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a01ed01222aafa94ee4ed319ebc2adb34cf0a8fb39d3eb05e2d01f7e0d0c161
|
|
BLAKE2b-256 checksum How to use checksums |
5b419dd6bbe9109f885eab4ea6c20116c0e07b3fb8a5eee9e8e4997860e8dbbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|