dict-2020.7.1
توضیحات
dict replacement
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dict-2020.7.1 |
| نام | dict |
| نسخه کتابخانه | 2020.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/andrewp-as-is/dict.py |
| آدرس اینترنتی | https://pypi.org/project/dict/ |
| مجوز | Unlicense |
<!--
https://readme42.com
-->
[](https://pypi.org/project/dict/)
[](https://unlicense.org/)
### Installation
```bash
$ [sudo] pip install dict
```
#### Features
* **attribute-style access**
* **None** instead of **KeyError**
* safe **remove**
* jQuery like **methods chaining**
#### Examples
```python
>>> from dict import dict
>>> dict(k="v")["k"]
"v"
>>> dict(k="v").k
"v"
>>> dict(k="v")["not_existing"]
None
>>> dict(k="v").not_existing
None
>>> dict(k="v").get("K",i=True) # case insensitive
```
<p align="center">
<a href="https://readme42.com/">readme42.com</a>
</p>
نحوه نصب
نصب پکیج whl dict-2020.7.1:
pip install dict-2020.7.1.whl
نصب پکیج tar.gz dict-2020.7.1:
pip install dict-2020.7.1.tar.gz