cached-2020.7.1
توضیحات
cached(function) - cache function
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cached-2020.7.1 |
| نام | cached |
| نسخه کتابخانه | 2020.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/andrewp-as-is/cached.py |
| آدرس اینترنتی | https://pypi.org/project/cached/ |
| مجوز | Unlicense |
<!--
https://readme42.com
-->
[](https://pypi.org/project/cached/)
[](https://unlicense.org/)
### Installation
```bash
$ [sudo] pip install cached
```
#### Examples
`@cached` decorator
```python
>>> from cached import cached
>>> @cached
def func(*args, **kwags):
```
`cached(function)` function
```python
>>> from cached import cached
>>> def func(*args, **kwags):
...
>>> cached(func)()
```
<p align="center">
<a href="https://readme42.com/">readme42.com</a>
</p>
نحوه نصب
نصب پکیج whl cached-2020.7.1:
pip install cached-2020.7.1.whl
نصب پکیج tar.gz cached-2020.7.1:
pip install cached-2020.7.1.tar.gz