ipython-autotime

0.3.2last stable release 1 year ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
4
Weekly Downloadsglobal
62,131

License

  • Apache-2.0
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Yespatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

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

Dependencies

Loading dependencies...

CVE IssuesActive
0
Scorecards Score
3.70
Test Coverage
No Data
Follows Semver
No
Github Stars
107
Dependenciestotal
2
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute ipython-autotime in your own private PyPI registry

pip install ipython-autotime
Processing...
Done

5 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.