Autocurry-0.2.0
توضیحات
Automatic currying using a decorator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Autocurry-0.2.0 |
| نام | Autocurry |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Felix Bruckmeier |
| ایمیل نویسنده | felix.m.bruckmeier@gmail.com |
| آدرس صفحه اصلی | https://github.com/felixbr/autocurry |
| آدرس اینترنتی | https://pypi.org/project/Autocurry/ |
| مجوز | BSD |
Autocurry
=========
Currying is a powerful technique in functional programming languages like Haskell. This decorator allows a function to
be automatically curried by supplying fewer arguments than required.
### Installation
```
pip3 install autocurry
```
### Usage
```python
from autocurry import autocurry
@autocurry
def find_by_key_with_connection(db_connection, key):
pass
find_by_key = find_by_key_with_connection(some_connection)
value1 = find_by_key('my_key')
value2 = find_by_key('your_key')
```
نحوه نصب
نصب پکیج whl Autocurry-0.2.0:
pip install Autocurry-0.2.0.whl
نصب پکیج tar.gz Autocurry-0.2.0:
pip install Autocurry-0.2.0.tar.gz