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
ipython-autotime-0.3.0.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for ipython_autotime-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14ded45a0430c6010f6bd6c1f33369b558fe6f4c12b9a4d988115bbbe06e34a |
|
MD5 | b4d0d4981089ee1f48486ef4e5b9b5c6 |
|
BLAKE2b-256 | d6c5013f5aa3b56c6d2c58634bc979773df44ab2226cf4fa787daf0bfeeea0b4 |