python-etcd3:etcd API v3 的 Python 客户端

时间:2021-07-24 02:15:04
【文件属性】:
文件名称:python-etcd3:etcd API v3 的 Python 客户端
文件大小:86KB
文件格式:ZIP
更新时间:2021-07-24 02:15:04
etcd Python python-etcd3 etcd API v3 的 Python 客户端,在 python 2.7、3.4 和 3.5 下支持。 警告:API 大部分是稳定的,但将来可能会发生变化 如果您有兴趣使用此库,请参与。 免费软件:Apache 软件许可证 2.0 文档: : 。 基本用法: import etcd3 etcd = etcd3 . client () etcd . get ( 'foo' ) etcd . put ( 'bar' , 'doot' ) etcd . delete ( 'bar' ) # locks lock = etcd . lock ( 'thing' ) lock . acquire () # do something lock . release () with etcd . lock ( 'doot-machine' ) as lock
【文件预览】:
python-etcd3-master
----Dockerfile(524B)
----.gitignore(754B)
----setup.cfg(295B)
----.build.yml(546B)
----requirements()
--------base.txt(299B)
--------test.txt(3KB)
--------test.in(268B)
--------base.in(30B)
----README.rst(3KB)
----tests()
--------ca.crt(2KB)
--------test_etcd3.py(49KB)
--------client.key(3KB)
--------__init__.py(24B)
--------client.crt(2KB)
----CONTRIBUTING.rst(5KB)
----docker-compose.yml(449B)
----docs()
--------make.bat(6KB)
--------contributing.rst(33B)
--------conf.py(9KB)
--------installation.rst(1KB)
--------index.rst(505B)
--------history.rst(28B)
--------authors.rst(28B)
--------usage.rst(1KB)
--------readme.rst(27B)
--------Makefile(7KB)
----LICENSE(10KB)
----.dockerignore(735B)
----HISTORY.rst(89B)
----etcd3()
--------leases.py(858B)
--------locks.py(4KB)
--------exceptions.py(681B)
--------transactions.py(3KB)
--------utils.py(1KB)
--------events.py(1KB)
--------etcdrpc()
--------__init__.py(674B)
--------members.py(1KB)
--------watch.py(8KB)
--------client.py(47KB)
--------proto()
----MANIFEST.in(324B)
----setup.py(2KB)
----tox.ini(2KB)
----AUTHORS.rst(233B)

网友评论