Skip to main content

TTYKit

Helping made beautiful out in terminal

Python Version GitHub license Repository


📦 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

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttykit 0.3.7
File Size Uploaded
ttykit-0.3.7.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 25.0 kB

Release files / ttykit-0.3.7.tar.gz

Download URL ttykit-0.3.7.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
501c79e808a3dd15aedded2a8d124122279c9ed2478a70e3114077a1669a21f7
BLAKE2b-256 checksum
How to use checksums
18c4e017a55f17b779611062091e88a89e3613f0da585fb4c72d8c7f14568005
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.7-py3-none-any.whl

Download URL ttykit-0.3.7-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c6d47d8048895f86485f33f851e9d3cba754fad72758dd1d776aec788178297
BLAKE2b-256 checksum
How to use checksums
020c5d477055d4effdf3287a53b3601705a9f42e4417d23d002c2f8019017ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.7 This release

2 release files

0.3.5

2 release files

0.2.2

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