dictmatching-0.1.1
توضیحات
Unpacking dicts is now easier than ever
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dictmatching-0.1.1 |
| نام | dictmatching |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | yehonatanz |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/yehonatanz/dictmatching |
| آدرس اینترنتی | https://pypi.org/project/dictmatching/ |
| مجوز | - |
dictmatching
=============
.. image:: https://travis-ci.com/yehonatanz/dictmatching.svg?branch=master
:target: https://travis-ci.com/yehonatanz/dictmatching
.. image:: https://codecov.io/gh/yehonatanz/dictmatching/branch/master/graph/badge.svg
:target: https://codecov.io/gh/yehonatanz/dictmatching
Unpacking dicts is now easier than ever:
.. code-block:: python
from dictmatching import unpack
d1 = dict(a=1, b=2)
d2 = dict(x=3, y=4)
with unpack(d1) as b, unpack(d2) as (x, y):
assert b == 2
assert x == 3
assert y == 4
نیازمندی
| مقدار | نام |
|---|---|
| - | decorator |
| - | six |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* | Python |
نحوه نصب
نصب پکیج whl dictmatching-0.1.1:
pip install dictmatching-0.1.1.whl
نصب پکیج tar.gz dictmatching-0.1.1:
pip install dictmatching-0.1.1.tar.gz