ipy-autotimebar
Project is an extension based on autotime library extended by an add-on activated only in jupyter notebook. The notebook displays the current cell execution time, which is updated on the fly. (similar to VSC jupyter explorer)
Installation:
$ pip install ipy-autotimebar
Examples
jupyter notebook/Pycharm/dataspell
Ipython
In [1]: %load_ext autotimebar
time: 676 µs (started: 2022-05-03 17:58:02 +00:00)
In [2]: import time
time: 744 µs (started: 2022-05-03 17:58:15 +00:00)
In [3]: time.sleep(5)
time: 5 s (started: 2022-05-03 17:58:21 +00:00)
In [4]: 1/0
Traceback (most recent call last):
File ".../python3.9/site-packages/IPython/core/interactiveshell.py", line 3397, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-6-9e1622b385b6>", line 1, in <cell line: 1>
1/0
ZeroDivisionError: division by zero
time: 1.46 ms (started: 2022-05-03 18:00:56 +00:00)
Want to turn it off?
In [4]: %unload_ext autotimebar
Release files for ipy-autotimebar 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipy-autotimebar-0.0.2.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ipy_autotimebar-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.5 kB
Release files / ipy-autotimebar-0.0.2.tar.gz
| Download URL | ipy-autotimebar-0.0.2.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11598e09ae45b18ee30fbabda19b4a78d6ab356130bddae451a06d3e01d72a7e
|
|
BLAKE2b-256 checksum How to use checksums |
53391166f33a8d3827239695d736f0f3742af3bca5ebf762aa54916e72cc4a8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / ipy_autotimebar-0.0.2-py2.py3-none-any.whl
| Download URL | ipy_autotimebar-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
68a7c5f116c63589bdc053cfae5293aad88503fa41b15d0e69634e45fa60d099
|
|
BLAKE2b-256 checksum How to use checksums |
c08e910196437f5c63fc4fd36df0851794c389f8f9fde3de847339c29841a26f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|