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.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

tictronome-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for tictronome-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e561b152105a2a34f5a809cbbdb0234a926ae370ff714678f46843c439119134
MD5 dc0373dd8c74aac75a52f0a9f80046fe
BLAKE2b-256 baf66976ad09bf0b647d8f2b539f842c06742e34dfb8bffb1dc8e41162afd0df

See more details on using hashes here.

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

Hashes for tictronome-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 064c6baceb038cb52ed96afead1ce29f0f6876fadf483b22f7def4ab087a411b
MD5 39f578f8ce0328ad506e04eef08c6359
BLAKE2b-256 2fb426c5443c50c9679fe42741d8aa3c71becb08e5b0bdeaa2245eb757863914

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page