cloudfiles-light-0.2
توضیحات
Lightweight helper for using rackspace cloudfiles
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cloudfiles-light-0.2 |
| نام | cloudfiles-light |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | David Szotten |
| ایمیل نویسنده | davidszotten@gmail.com |
| آدرس صفحه اصلی | https://github.com/davidszotten/cloudfiles-light |
| آدرس اینترنتی | https://pypi.org/project/cloudfiles-light/ |
| مجوز | MIT |
Cloudfiles-light
================
Lightweight helper for using rackspace cloudfiles. Has way fewer dependencies (and features) than the official sdk `pyrax <https://github.com/pycontribs/pyrax>`_
Usage
=====
::
from cloudfiles_light import CloudFilesSession
session = CloudFilesSession(username, apikey, region)
# list files
session.get('my-container')
``session`` is a `requests <http://docs.python-requests.org/en/master/>`_ session that prepends the endpoint base url and handles authentication (requests and refreshes tokens and adds as headers)
This is aimed at using the `Rackspace Cloud Files API 1.0 <https://developer.rackspace.com/docs/cloud-files/v1/>`_
License
=======
MIT
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | pytest |
| - | responses |
| - | pytest-responses |
| - | coverage |
| - | pytest-cov |
| - | flake8 |
| - | black |
نحوه نصب
نصب پکیج whl cloudfiles-light-0.2:
pip install cloudfiles-light-0.2.whl
نصب پکیج tar.gz cloudfiles-light-0.2:
pip install cloudfiles-light-0.2.tar.gz