Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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.0b4
File Size Uploaded
ttykit-0.3.0b4.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ttykit 0.3.0b4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.7

2 release files

0.3.5

2 release files

This release

0.3.0b4 This release

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