---
📦 For Start
git clone https://github.com/He-STALIN/ttykit.git
- Change dir and exec
pip install .
- 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.2.2
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.2.2.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ttykit-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / ttykit-0.2.2.tar.gz
| Download URL | ttykit-0.2.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5b1538c58abe4b5e731872d0979e08bf04546312376bc726f23b4d96cc42bcf
|
|
BLAKE2b-256 checksum How to use checksums |
38ffa45ebae7c2ebecbedfd7db3d9d88f927f901a3a7332e74eaa22a421e0ac6
|
| 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.2.2-py3-none-any.whl
| Download URL | ttykit-0.2.2-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23a5268f0500441b295923d84bf9dd2a3daeddd15c509d55b0a254a94589144b
|
|
BLAKE2b-256 checksum How to use checksums |
f2b1afe2e364d315d656540716d5aa77d0afbf296dd9a37a6b178cdb12360708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|