ipython-autotime-0.3.2
توضیحات
Time everything in IPython
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ipython-autotime-0.3.2 |
| نام | ipython-autotime |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Phillip Cloud |
| ایمیل نویسنده | cpcloud@gmail.com |
| آدرس صفحه اصلی | https://github.com/cpcloud/ipython-autotime |
| آدرس اینترنتی | https://pypi.org/project/ipython-autotime/ |
| مجوز | Apache |
# ipython-autotime
Time everything in IPython
## Installation:
```console
$ pip install ipython-autotime
```
## Examples
```python
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?
```python
In [4]: %unload_ext autotime
```
نیازمندی
| مقدار | نام |
|---|---|
| - | ipython |
| - | monotonic |
نحوه نصب
نصب پکیج whl ipython-autotime-0.3.2:
pip install ipython-autotime-0.3.2.whl
نصب پکیج tar.gz ipython-autotime-0.3.2:
pip install ipython-autotime-0.3.2.tar.gz