tictronome

A simple python CLI that can relieve stress while running long scripts.


License
MIT
Install
pip install tictronome==0.1.0

Documentation

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

  1. Install tictronome from pip
$ pip install tictronome
  1. Import Tic object from tictronome.
from tictronome.tictronome import Tic
  1. Initialize it before some time-consuming process.
tic = Tic()
  1. Call the start method of Tic to start.
# start of your script
tic.start()
some_long_function(...)
  1. Call the stop method of Tic to stop.
# end of your script
tic.stop()
  1. 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)

color_example

Supported List of Colors
Colors.BLACK
Colors.RED
Colors.GREEN
Colors.YELLOW
Colors.BLUE
Colors.MAGENTA
Colors.CYAN
Colors.WHITE