python-apollo-client
Python连接 Apollo配置中心
基于 https://github.com/BruceWW/pyapollo 修改
站在巨人的肩膀上
感谢原作者
工程主页
https://pypi.org/project/python-apollo-client/
https://github.com/yjlch1016/python-apollo-client
安装
pip install python-apollo-client
用法
- 启动客户端长连接监听
client = ApolloClient(username=<username>, password=<password>, app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
- 获取Apollo的配置
client.get_value(Key, DefaultValue)
参考
https://github.com/ctripcorp/apollo
https://github.com/filamoon/pyapollo
https://github.com/BruceWW/pyapollo
Metadata
Release files for python-apollo-client 0.0.2
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 |
|---|---|---|---|---|
| python-apollo-client-0.0.2.tar.gz | 4.8 kB | Without provenance | Details for python-apollo-client-0.0.2.tar.gz |
Release files / python-apollo-client-0.0.2.tar.gz
| Download URL | python-apollo-client-0.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b7644c7421446719d229f57c99f11fb625b79c41af41a4f904f89675ba0dc7c
|
|
BLAKE2b-256 checksum How to use checksums |
7c23ac8bc1bbe40a7031396fac9c3f2d0c5c1401e23518a44db718143ae5de0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
|
Security for python-apollo-client 0.0.2
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.