Skip to main content

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.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipython_autotime-0.3.1-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ipython-autotime-0.3.1.tar.gz.

File metadata

  • Download URL: ipython-autotime-0.3.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ipython-autotime-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d839aca97d54d5bfc0bbf9aa9dc34ded577cc3b38da5f6fd6d25a8fffe7f05d1
MD5 e978511a6e263f9c445a90820b04756d
BLAKE2b-256 2601ef9279afb4da30be2cccbf5525886753e35732f89ad60da1a298676dd5a1

See more details on using hashes here.

File details

Details for the file ipython_autotime-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ipython_autotime-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ipython_autotime-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80ce21c6827e6b1699496e788f809351aa7b356d21cd7ee436e2471e9514da8c
MD5 dc8b4202cfc5b046b973ca08341ceaa9
BLAKE2b-256 b4c9b413a24f759641bc27ef98c144b590023c8038dfb8a3f09e713e9dff12c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page