a simple gevent requests etcd python client
Project description
## 项目名
gevent-etcd
## 介绍
gevent-etcd 是一个使用gevent requests封装的python client模块. 至于gevent_etcd用途是用来解决在多任务请求下io阻塞的情况 (主要是针对应用环境用gevent调度的情况下) . etcd原版是用urllib2开发的, 我个人曾经被gevent urllib2坑过, 所以轻易不会用urllib2.
另外,gevent-etcd的功能还很简单,期待有人提交pull request
我个人的看法,在网络io堵塞的问题上,能用协程坚决不用多线程.
## 用法
pypi安装 ` pip install gevent_etcd `
源码安装
` git clone https://github.com/rfyiamcool/gevent-etcd.git cd gevent-etcd python setup.py install `
### ToDOList
complement write function
fix stream watch bug
Add leader api , manage etcd cluster
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gevent_etcd-2.3.tar.gz
(3.0 kB
view details)
File details
Details for the file gevent_etcd-2.3.tar.gz.
File metadata
- Download URL: gevent_etcd-2.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4ba69ac1aa98ea8e01c5d36956a585b219979eff38e334d4b67d6996e15098f
|
|
| MD5 |
871e72b7c3260f51203d697ffcd12780
|
|
| BLAKE2b-256 |
14e3c0211e35dd2029741136f3bffc102c039fa5f4573cb6d10f1dbd3676ef0f
|