aetcd-1.0.0a2
توضیحات
Python asyncio-based client for etcd
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aetcd-1.0.0a2 |
| نام | aetcd |
| نسخه کتابخانه | 1.0.0a2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Andrey Martyanov |
| ایمیل نویسنده | andrey@martyanov.com |
| آدرس صفحه اصلی | https://github.com/martyanov/aetcd |
| آدرس اینترنتی | https://pypi.org/project/aetcd/ |
| مجوز | Apache Software License 2.0 |
Python asyncio-based client for etcd
====================================
.. image:: https://github.com/martyanov/aetcd/workflows/build/badge.svg?branch=master
:alt: Build Status
:target: https://github.com/martyanov/aetcd/actions
.. image:: https://codecov.io/gh/martyanov/aetcd/branch/master/graph/badge.svg
:alt: Coverage report
:target: https://codecov.io/gh/martyanov/aetcd/branch/master
.. image:: https://img.shields.io/badge/docs-aetcd.rtfd.io-green.svg
:alt: Documentation
:target: https://aetcd.readthedocs.io
.. image:: https://img.shields.io/pypi/v/aetcd.svg
:alt: PyPI Version
:target: https://pypi.python.org/pypi/aetcd
.. image:: https://img.shields.io/pypi/pyversions/aetcd.svg
:alt: Supported Python Versions
:target: https://pypi.python.org/pypi/aetcd
.. image:: https://img.shields.io/github/license/martyanov/aetcd
:alt: License
:target: https://github.com/martyanov/aetcd/blob/master/LICENSE
Installation
~~~~~~~~~~~~
.. code-block:: bash
$ python -m pip install aetcd
Basic usage
~~~~~~~~~~~
Run ``asyncio`` REPL:
.. code-block:: bash
$ python -m asyncio
Test the client:
.. code-block:: python
import aetcd
async with aetcd.Client() as client:
await client.put(b'foo', b'bar')
await client.get(b'foo')
await client.delete(b'foo')
Acknowledgements
~~~~~~~~~~~~~~~~
This project is a fork of `etcd3aio`_, which itself is a fork
of `python-etcd3`_. ``python-etcd3`` was originally written by `kragniz`_. ``asyncio`` suppport
was contributed by `hron`_ and based on the previous work by `gjcarneiro`_. Many thanks to all
the `people`_ involved in the project.
.. _etcd3aio: https://github.com/hron/etcd3aio
.. _python-etcd3: https://github.com/kragniz/python-etcd3
.. _kragniz: https://github.com/kragniz
.. _hron: https://github.com/hron
.. _gjcarneiro: https://github.com/gjcarneiro
.. _people: https://github.com/martyanov/aetcd/graphs/contributors
نیازمندی
| مقدار | نام |
|---|---|
| <2,>1.41 | grpcio |
| <4,>3 | protobuf |
| ==2.1.0 | flake8-commas |
| ==1.6.0 | flake8-docstrings |
| ==4.1.1 | flake8-isort |
| ==3.3.1 | flake8-quotes |
| ==4.0.1 | flake8 |
| ==1.43.0 | grpcio-tools |
| ==0.12.1 | pep8-naming |
| ==3.7.1 | twine |
| ==4.3.2 | sphinx |
| ==1.0.0 | sphinx-rtd-theme |
| ==3.1.5 | pifpaf |
| ==0.16.0 | pytest-asyncio |
| ==3.0.0 | pytest-cov |
| ==3.6.1 | pytest-mock |
| ==6.2.5 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl aetcd-1.0.0a2:
pip install aetcd-1.0.0a2.whl
نصب پکیج tar.gz aetcd-1.0.0a2:
pip install aetcd-1.0.0a2.tar.gz