countop-0.11
توضیحات
Count basic operations in algorithm implementations.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | countop-0.11 |
| نام | countop |
| نسخه کتابخانه | 0.11 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ankur Gupta |
| ایمیل نویسنده | ankur@perfectlyrandom.org |
| آدرس صفحه اصلی | https://github.com/ankur-gupta/countop |
| آدرس اینترنتی | https://pypi.org/project/countop/ |
| مجوز | MIT |
countop
--------
Count the number of operations in your algorithm implementation.
>>> from countop import Integer
>>> print Integer.reset_counts()
>>> print Integer.additions()
# 0
>>> a = Integer(1)
>>> b = a + 1
>>> print Integer.additions()
# 1
نحوه نصب
نصب پکیج whl countop-0.11:
pip install countop-0.11.whl
نصب پکیج tar.gz countop-0.11:
pip install countop-0.11.tar.gz