consign-0.2.2
توضیحات
Python storage for humans.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | consign-0.2.2 |
| نام | consign |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Jadraque |
| ایمیل نویسنده | jadraque@hey.com |
| آدرس صفحه اصلی | https://requests.readthedocs.io |
| آدرس اینترنتی | https://pypi.org/project/consign/ |
| مجوز | Apache 2.0 |
# Consign
Consign is a simple library to validate and store data in different sources.
```
>>> import consign
>>> import requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
>>> consign.text(r.text, './local_file.txt')
>>> consign.json(r.json(), './local_file.json')
>>> consign.blob(r.json(), './cloud_file.json', provider='azure', connection_string=private_keys, container=container_name)
```
Consign allows you to validate and store data extremely easily, whether in a
local file or in a cloud storage.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | Python |
نحوه نصب
نصب پکیج whl consign-0.2.2:
pip install consign-0.2.2.whl
نصب پکیج tar.gz consign-0.2.2:
pip install consign-0.2.2.tar.gz