Skip to content

Get Started in 2 Easy Steps 🚀#

Ready to try the easy way to measure the time and performance of your Python code? Let's get started:

1. Install Timer for Python Package#

Assuming that Python is already installed, execute this command in the terminal to install the Timer package:

pip install timer-for-python

Find more details and options in the installation guide.

2. First Script#

You're now ready to go:

Python
1
2
3
4
5
6
7
8
from timer import Timer

timer = Timer()
timer.start()

# Insert your code here

timer.stop()

After timer.stop(), the elapsed time will be printed in your terminal. Example:

Elapsed time: 12.34 seconds

Next Steps#

Find more usage examples and tutorials in the user guide section.

Become a Sponsor

If you find this project helpful, please consider supporting its development. Your donations will help keep it alive and growing. Every contribution, no matter the size, makes a difference.

Donate on GitHub Sponsors

Thank you for your support! 🙌