tijatools
Descriptions
The tijatools is a Python package that allows you to display dynamic and customizable progress rings in the terminal. It's an ideal tool for providing visual feedback on the status of long-running operations.
Installation
pip install tijatools
## Ussage
```bash
import asyncio
from tijatools import ProgressRing, AnimationMode
async def do_some_work(duration):
await asyncio.sleep(duration)
class ATest:
async def run_test(self, duration):
ring = ProgressRing(rotate_symbols=['1', '2', '3', '4', '3', '2', '1'])
print("ROTATE:")
await ring.run_with_animation(do_some_work(duration), AnimationMode.ROTATE)
print("BOUNCE:")
await ring.run_with_animation(do_some_work(duration), AnimationMode.BOUNCE, shape="x")
print("BOUNCE2:")
await ring.run_with_animation(do_some_work(duration), AnimationMode.BOUNCE2)
print("LOADING:")
await ring.run_with_animation(do_some_work(duration), AnimationMode.LOADING)
if __name__ == "__main__":
test = ATest()
asyncio.run(test.run_test(10))
Release files for tijatools 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tijatools-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / tijatools-0.1.2-py3-none-any.whl
| Download URL | tijatools-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c81aa4c6ebf41023837b02e390a35a4ee7b8de82c58c358df4a92e31c5af2949
|
|
BLAKE2b-256 checksum How to use checksums |
7265aed07d1a88654131bf8176683bc26270151ae93f27808fb8f657d06be72c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|