PyApollo - Python Client for Ctrip's Apollo
方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 2.7 & 3.6
Installation
python setup.py install
Features
- 实时同步配置
- 灰度配置
Missing Features
- 客户端容灾
Usage
- 启动客户端长连接监听
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
- 获取Apollo的配置
client.get_value(Key, DefaultValue)
Contribution
- Source Code: https://github.com/filamoon/pyapollo/
- Issue Tracker: https://github.com/filamoon/pyapollo/issues
License
The project is licensed under the Apache 2 license.
Reference
Apollo : https://github.com/ctripcorp/apollo
Metadata
Release files for py-apollo 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_apollo-0.0.3.tar.gz | 3.7 kB | Without provenance | Details for py_apollo-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_apollo-0.0.3-py2-none-any.whl | Python 2 | none | any | Details for py_apollo-0.0.3-py2-none-any.whl |
Total release size: 11.9 kB
Release files / py_apollo-0.0.3.tar.gz
| Download URL | py_apollo-0.0.3.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46d8bc32185a95d1cc04d7652067ca7ff0b111cc96d7e8085dc0b8f7eefc3ce2
|
|
BLAKE2b-256 checksum How to use checksums |
4ef9d535a99008da0e5e1aa1e2adb6078bf51138aff9f495594a5996ed15a790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/2.7.16
|
Release files / py_apollo-0.0.3-py2-none-any.whl
| Download URL | py_apollo-0.0.3-py2-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
35b4bd172f0223e584a6cd14f25c26e9874f5501e0187799de94586738a438bf
|
|
BLAKE2b-256 checksum How to use checksums |
4bb0c760c788b0ded22f0d751570bd394443931b767db97b924959c1bf13b53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/2.7.16
|
Security for py-apollo 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.