A simple python CLI that can relieve stress while running long scripts.
Project description
Simple python tic that can ease your mind
We've all been there...staring at the empty terminal while your fans go crazy.
I hope this relieves the intensity while you are waiting for that return statement.
How To
- Install
tictronomefrompip
$ pip install tictronome
- Import
Ticobject fromtictronome.
from tictronome.tictronome import Tic
- Initialize it before some time-consuming process.
tic = Tic()
- Call the
startmethod ofTicto start.
# start of your script
tic.start()
some_long_function(...)
- Call the
stopmethod ofTicto stop.
# end of your script
tic.stop()
- Run your script!
$ python3 your_script.py
Notes
When you create a Tic instance, you can change the color of the loading character by adding colors.
Disclaimer
Depending on your shell settings(themes) colors might appear differently.
from tictronome import Colors
Tic(color=Colors.CYAN)
| Supported List of Colors |
|---|
| Colors.BLACK |
| Colors.RED |
| Colors.GREEN |
| Colors.YELLOW |
| Colors.BLUE |
| Colors.MAGENTA |
| Colors.CYAN |
| Colors.WHITE |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tictronome-0.1.1.tar.gz.
File metadata
- Download URL: tictronome-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e561b152105a2a34f5a809cbbdb0234a926ae370ff714678f46843c439119134
|
|
| MD5 |
dc0373dd8c74aac75a52f0a9f80046fe
|
|
| BLAKE2b-256 |
baf66976ad09bf0b647d8f2b539f842c06742e34dfb8bffb1dc8e41162afd0df
|
File details
Details for the file tictronome-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tictronome-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
064c6baceb038cb52ed96afead1ce29f0f6876fadf483b22f7def4ab087a411b
|
|
| MD5 |
39f578f8ce0328ad506e04eef08c6359
|
|
| BLAKE2b-256 |
2fb426c5443c50c9679fe42741d8aa3c71becb08e5b0bdeaa2245eb757863914
|