etcdproxy


Nameetcdproxy JSON
Version 0.0.2 PyPI version JSON
download
home_page
Summaryetcd的代理对象
upload_time2023-02-02 06:58:45
maintainer
docs_urlNone
authorhsz
requires_python
licenseMIT License
keywords etcd proxy asyncio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # etcdproxy

提供etcd的代理对象功能.本项目代理的对象是

+ aio模式代理[aetcd](https://aetcd.readthedocs.io/en/latest/index.html)
+ 普通模式代理[etcd3](https://python-etcd3.readthedocs.io/en/latest/)

需要注意这两个模块本身冲突,也就是说如果`import etcd3`就不能再`import aetcd`.因此同一个程序中不能混用两种模式.如果并不确定使用的是什么模式可以在代理的`aio`字段进行确认

## 安装

```bash
pip install etcdproxy
```

# 0,0,2

+ 异步代理依赖由aetcd3改为aetcd
+ 接口变更,现在可以通过url或者连接参数初始化实例
+ 由于依赖由aetcd3改为aetcd,现在推荐key和value都统一使用bytes类型

# 0.0.1

项目创建
MIT License

Copyright (c) 2021 Python-Tools

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "etcdproxy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "etcd,proxy,asyncio",
    "author": "hsz",
    "author_email": "hsz1273327@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fe/4f/47be8d2451746477fed3c206b625860d80ea66702bdce4fadebb372d479d/etcdproxy-0.0.2.tar.gz",
    "platform": null,
    "description": "# etcdproxy\n\n\u63d0\u4f9betcd\u7684\u4ee3\u7406\u5bf9\u8c61\u529f\u80fd.\u672c\u9879\u76ee\u4ee3\u7406\u7684\u5bf9\u8c61\u662f\n\n+ aio\u6a21\u5f0f\u4ee3\u7406[aetcd](https://aetcd.readthedocs.io/en/latest/index.html)\n+ \u666e\u901a\u6a21\u5f0f\u4ee3\u7406[etcd3](https://python-etcd3.readthedocs.io/en/latest/)\n\n\u9700\u8981\u6ce8\u610f\u8fd9\u4e24\u4e2a\u6a21\u5757\u672c\u8eab\u51b2\u7a81,\u4e5f\u5c31\u662f\u8bf4\u5982\u679c`import etcd3`\u5c31\u4e0d\u80fd\u518d`import aetcd`.\u56e0\u6b64\u540c\u4e00\u4e2a\u7a0b\u5e8f\u4e2d\u4e0d\u80fd\u6df7\u7528\u4e24\u79cd\u6a21\u5f0f.\u5982\u679c\u5e76\u4e0d\u786e\u5b9a\u4f7f\u7528\u7684\u662f\u4ec0\u4e48\u6a21\u5f0f\u53ef\u4ee5\u5728\u4ee3\u7406\u7684`aio`\u5b57\u6bb5\u8fdb\u884c\u786e\u8ba4\n\n## \u5b89\u88c5\n\n```bash\npip install etcdproxy\n```\n\n# 0,0,2\n\n+ \u5f02\u6b65\u4ee3\u7406\u4f9d\u8d56\u7531aetcd3\u6539\u4e3aaetcd\n+ \u63a5\u53e3\u53d8\u66f4,\u73b0\u5728\u53ef\u4ee5\u901a\u8fc7url\u6216\u8005\u8fde\u63a5\u53c2\u6570\u521d\u59cb\u5316\u5b9e\u4f8b\n+ \u7531\u4e8e\u4f9d\u8d56\u7531aetcd3\u6539\u4e3aaetcd,\u73b0\u5728\u63a8\u8350key\u548cvalue\u90fd\u7edf\u4e00\u4f7f\u7528bytes\u7c7b\u578b\n\n# 0.0.1\n\n\u9879\u76ee\u521b\u5efa\nMIT License\n\nCopyright (c) 2021 Python-Tools\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "etcd\u7684\u4ee3\u7406\u5bf9\u8c61",
    "version": "0.0.2",
    "split_keywords": [
        "etcd",
        "proxy",
        "asyncio"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f30807c3e2858cae9dccfbd24bb868b2e5ec80bdbde0af3e965139044199c6b5",
                "md5": "5bc06ea8f1ade541939755a519c01d82",
                "sha256": "b46e1a84f4da19553ddb27bdf1e22e91a35aed4c65207a580a11c10b07860652"
            },
            "downloads": -1,
            "filename": "etcdproxy-0.0.2-py3.11.egg",
            "has_sig": false,
            "md5_digest": "5bc06ea8f1ade541939755a519c01d82",
            "packagetype": "bdist_egg",
            "python_version": "0.0.2",
            "requires_python": null,
            "size": 4657,
            "upload_time": "2023-02-02T06:58:43",
            "upload_time_iso_8601": "2023-02-02T06:58:43.699695Z",
            "url": "https://files.pythonhosted.org/packages/f3/08/07c3e2858cae9dccfbd24bb868b2e5ec80bdbde0af3e965139044199c6b5/etcdproxy-0.0.2-py3.11.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69f330305d90fea46d1e99e5f88a822718193869a192d7b507ea3eca4d7743e1",
                "md5": "fed300973ff4736e0ef130a30d761cbd",
                "sha256": "d2a33e36be4a58b5e35a8cf3477f4a77897cd32b360d0a556a203cea26836ccf"
            },
            "downloads": -1,
            "filename": "etcdproxy-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fed300973ff4736e0ef130a30d761cbd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5552,
            "upload_time": "2023-02-02T06:58:41",
            "upload_time_iso_8601": "2023-02-02T06:58:41.891555Z",
            "url": "https://files.pythonhosted.org/packages/69/f3/30305d90fea46d1e99e5f88a822718193869a192d7b507ea3eca4d7743e1/etcdproxy-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe4f47be8d2451746477fed3c206b625860d80ea66702bdce4fadebb372d479d",
                "md5": "1bb3191e4c96763c30a8edf4c9fd0c85",
                "sha256": "7490a37051f7f7da1bbda049197c80151572d2ab76e75af1be76cb922184f6fc"
            },
            "downloads": -1,
            "filename": "etcdproxy-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "1bb3191e4c96763c30a8edf4c9fd0c85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5077,
            "upload_time": "2023-02-02T06:58:45",
            "upload_time_iso_8601": "2023-02-02T06:58:45.268700Z",
            "url": "https://files.pythonhosted.org/packages/fe/4f/47be8d2451746477fed3c206b625860d80ea66702bdce4fadebb372d479d/etcdproxy-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-02 06:58:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "etcdproxy"
}
        
hsz
Elapsed time: 0.03448s