Time everything in IPython
Project description
ipython-autotime
Time everything in IPython
Installation:
$ pip install ipython-autotime
Examples
In [1]: %load_ext autotime
time: 264 µs (started: 2020-12-15 11:44:36 +01:00)
In [2]: x = 1
time: 416 µs (started: 2020-12-15 11:44:45 +01:00)
In [3]: x / 0
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
<ipython-input-3-034eb0c6102b> in <module>
----> 1 x/0
ZeroDivisionError: division by zero
time: 88.7 ms (started: 2020-12-15 11:44:53 +01:00)
Want to turn it off?
In [4]: %unload_ext autotime
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
Built Distribution
File details
Details for the file ipython-autotime-0.3.2.tar.gz
.
File metadata
- Download URL: ipython-autotime-0.3.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc03ab920266072f0f6d7f1cc04247afe1c2f22f7bd052542af700939769d5f4 |
|
MD5 | 936bc0f1c320e323279eac6a3cb6a391 |
|
BLAKE2b-256 | c29df8b72a7cf940c704299ef712c75e862abd7fac3bbc4675a87f9851f20241 |
File details
Details for the file ipython_autotime-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: ipython_autotime-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51e1175b9d0d2c5da51ac17963f3a836036cf389b8ef20f8a7483573d2c3dce |
|
MD5 | ffcc15f311b6dca198f43520f6c5f435 |
|
BLAKE2b-256 | d16bc668b9d6a3552eeb4d82c0e6f1e79debc9cfaecc2d59ddb5b2f38c24cdfc |