Skip to main content

a client for apollo

Project description

apollo 常用工具包 用于python项目连接携程apollo For python project to get configuration from ctrip apollo

使用方式 / usage: client = ApolloClient(app_id=’bruce_test’, config_server_url=’http://106.12.25.204:8080’) client.start()

a = client.get_value(‘a’)

提供自动热更新,可以在初始化ApolloClient时,设置更新的频率,默认5分钟更新 提供本地配置缓存以及服务异常监听 Automatic update is provided. When the Apollo client is initialized, the update frequency can be set. The default is 5 minutes Provide local configuration cache and service exception monitoring

11/24/2019 Bruce 0.8.2 优化本地缓存的存储方式 1/4/2020 Bruce 0.8.4 修复文件读取异常的bug

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apollo-client-0.8.4.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file apollo-client-0.8.4.tar.gz.

File metadata

  • Download URL: apollo-client-0.8.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for apollo-client-0.8.4.tar.gz
Algorithm Hash digest
SHA256 3ed89933b7457003cf5828d1a25c23ad77e18ea8f217939170ebf66069c04f28
MD5 760912358498fcb0bf0db4508d508582
BLAKE2b-256 2695c103edf06ad7ffc6fbd47d14e35b37f3fad6f814d7c9e009ee4672854b46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page