axil-autotime
An improved version of ipython-autotime by Phillip Cloud:
– uses better timer function on Windows;
– ignores function and class definitions.
Installation:
$ pip install axil-autotime
Usage
Run %load_ext autotime to load the extension.
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
Release files for axil-autotime 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axil-autotime-0.3.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axil_autotime-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / axil-autotime-0.3.tar.gz
| Download URL | axil-autotime-0.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d68596c3f9a0af3299a1c58ee509fe0703d919f92500f79b3f123579e469fdce
|
|
BLAKE2b-256 checksum How to use checksums |
8e4f7730dc85fe9a0d922fe28c4c2a30368d2cbd4e38e01a3cdf756add9a00b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Release files / axil_autotime-0.3-py3-none-any.whl
| Download URL | axil_autotime-0.3-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6f2ee1c77f3added307bce123df6f9484886896a3f0d0b2ec6bf8cdb9d09baf
|
|
BLAKE2b-256 checksum How to use checksums |
b98591ecdb037592fdbdb9d4424ebffb572608b62f666fad6b3d1e320b0a2ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|