etcpy-0.1.1
توضیحات
etcd interface library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | etcpy-0.1.1 |
| نام | etcpy |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Da_Blitz |
| ایمیل نویسنده | code@pocketnix.org |
| آدرس صفحه اصلی | http://code.pocketnix.org/etcpy/file/tip |
| آدرس اینترنتی | https://pypi.org/project/etcpy/ |
| مجوز | MIT BSD |
etcpy
======
etcpy is an easy to use interface to the `etcd daemon`_ that presents a
'dictionary like' interface to etcd while also giving access to etcd's more
advanced features
etcpy aims to be as easy to use as possible and provides 2 levels of APIs. The
'lower level' API is a dictonary like interface to the etcd daemon while the
Higher level interface provides a filesystem object like interface (eg `pathlib
<https://pypi.python.org/pypi/pathlib/>`_ or `file
<https://pypi.python.org/pypi/fpath/>`_)
.. _etcd daemon: https://github.com/coreos/etcd
requirements
-------------
* python 2.7
* python-requests
Usage
------
>>> import etcpy
>>> e = etcpy.Etcd('localhost', secure=False)
>>> e['/blast'] = 'testval'
>>> e['/blast'].value
u'testval'
Links
------
* `Code <http://code.pocketnix.org/etcpy>`_
* `Docs <http://docs.pocketnix.org/etcpy>`_
نحوه نصب
نصب پکیج whl etcpy-0.1.1:
pip install etcpy-0.1.1.whl
نصب پکیج tar.gz etcpy-0.1.1:
pip install etcpy-0.1.1.tar.gz