Skip to main content

python-apollo-client

License

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

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)

Source distribution for python-apollo-client 0.0.2
File Size Uploaded
python-apollo-client-0.0.2.tar.gz 4.8 kB Details

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

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page