Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.4.0 instead.
Reason given by maintainers: detected very stupid error

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

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.5
File Size Uploaded
ttykit-0.3.5.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 25.0 kB

Release files / ttykit-0.3.5.tar.gz

Download URL ttykit-0.3.5.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
32be6eca9f7a48ce73f671ea31f46ac820a24fbd4aab82ba59e53a2923c19995
BLAKE2b-256 checksum
How to use checksums
97f901dcb3c5d6670d740da2fb7d4cd066c230d0a0f6a51e55a44d7df251a9b3
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.5-py3-none-any.whl

Download URL ttykit-0.3.5-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9cb8835372f5decb560d435eae59f6d37b75db193a7b2f7500404c81717143a
BLAKE2b-256 checksum
How to use checksums
38ba1101df074b35d8b5186b568186bee5dea0d48a3916bb725f7c637f324071
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

This release

0.3.5 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