Skip to main content

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

  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

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

tictronome-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded source

Built Distribution

tictronome-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page