A helper tool that shows the execution time while running Python scripts
Project description
pychron ⏱️
pychron is a simple command-line tool that shows the execution time of your Python scripts in real time.
It prints the elapsed time while the script is running, and shows a clean summary when the script finishes.
✨ Features
- ✅ Shows elapsed time in real time (live timer)
- ✅ Does not break or hide your script output (
stdout) - ✅ Prints start time, finish time, and total time
- ✅ Colorful and terminal-friendly ANSI output
- ✅ Very lightweight and easy to use
📦 Installation
Install using pip:
pip3.12 install pychron
Run:
pychron main.py
Example Output
pychron:> Start: 2026-01-21 13:03:21
pychron:> Finish: 2026-01-21 13:03:22
pychron:> Total time: 1 sec
Project details
Release history Release notifications | RSS feed
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 pychron-0.1.1.tar.gz.
File metadata
- Download URL: pychron-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e1175cf83bc3d1023f256de7d39da3da257225e550c62a3692877f3e1b80c6
|
|
| MD5 |
e0857065113963adef47823735d19151
|
|
| BLAKE2b-256 |
a10cbd2f1f8f60ef3c70481748faab7496ecdcabaeee6d82fbca05610b284557
|
File details
Details for the file pychron-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pychron-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf276e16c551dbe30a684ee6efb4573f4a17e2bb60553a8d090e6f9169231e4d
|
|
| MD5 |
8ec4ddbf72862bab3aaec5c465d9a8ed
|
|
| BLAKE2b-256 |
3b5646f8c1eb9665011dd321e9abeb39f3045a1ea25084fba01c5da97c7e5401
|