Skip to main content

Time everything in IPython

Project description

ipython-autotime-pst

Time everything in IPython

Installation:

$ pip install -i https://pypi.org/project ipython-autotime-pst

Examples

In [1]: %load_ext autotime
time: 264 µs (started: 2020-12-15 11:44:36 +07:00)

In [2]: x = 1
time: 416 µs (started: 2020-12-15 11:44:45 +07: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 +07:00)

Want to turn it off?

In [4]: %unload_ext autotime

Project details


Release history Release notifications | RSS feed

This version

1.0

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-pst-1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

ipython_autotime_pst-1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file ipython-autotime-pst-1.0.tar.gz.

File metadata

  • Download URL: ipython-autotime-pst-1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for ipython-autotime-pst-1.0.tar.gz
Algorithm Hash digest
SHA256 30bd555ab3bec6d43375a65bf88840965912960a413a33cba9749b8cf6aa29f2
MD5 ab999811b4975f0bad42b1b350511568
BLAKE2b-256 63cdea50ddbb0ce8dc028cb8b9ed95a28446278c5cb49b280d9756f7e6c8eae8

See more details on using hashes here.

File details

Details for the file ipython_autotime_pst-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ipython_autotime_pst-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06a4ece1636290b709e61cef6b62b5e5f55a5b4f4906b923873629a7f579ce89
MD5 324eb7fad12eace383b6283851075c32
BLAKE2b-256 af12ac91e9f51139eb0f69ceb09d5db5d898bd6be09f86aa97a402f0d64927af

See more details on using hashes here.

Supported by

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