Skip to main content

Create a Python package.

Project description

apollo-client-python

入门使用:

  • 见demo目录

功能点:

  • apollo配置中心拉取配置
  • 支持回调接口
  • secret认证
  • 支持灰度发布
  • 支持本地文件缓存
  • 默认开启热更新,参数配置可以不开启热更新
  • 同时支持python2.x和python3.x,详情见./apollo/下的python_2x.py和python_3x.py文件

注意点:

代码更新

  • 修改实例化方法ApolloClient,在内部默认启动异步热更新线程,可以通过参数配置不开启热更新。(2020.09.15)
  • 修复停机阻塞问题。
  • 增加回调接口,增加secret认证,增加demo
  • 修改获取配置的接口改为不带缓存的接口。如果使用缓存接口,config有多个节点的时候,可能A通知更新,但是B的缓存没有更新到。
  • 增加心跳机制。增加心跳机制,如果不增加心跳机制,apollo的ui界面可能看不到实例。
  • 2021-03-23 修复创建文件夹异常,1.py2并发创建文件夹会抛出异常

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

xx-apollo-2023.7.14.17.23.16.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

xx_apollo-2023.7.14.17.23.16-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file xx-apollo-2023.7.14.17.23.16.tar.gz.

File metadata

File hashes

Hashes for xx-apollo-2023.7.14.17.23.16.tar.gz
Algorithm Hash digest
SHA256 c04e1e61cb1816b1d22c1143275331f8645095140edcca4041048a92399a4450
MD5 f9f5e3828201f7b5f18ba79f6a92c933
BLAKE2b-256 22006e3bb7235c10b1d077cbaec291732424e97d936399436b9890cb25cd050d

See more details on using hashes here.

File details

Details for the file xx_apollo-2023.7.14.17.23.16-py3-none-any.whl.

File metadata

File hashes

Hashes for xx_apollo-2023.7.14.17.23.16-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5856e1a0e5e8cf5a456155c60c9735370990c8050b25f2be7de05cbfde1f9e
MD5 916213ba47ff4969fa827b08e552b809
BLAKE2b-256 4e4faf79598be5ec4470f830bc70a1bd4cc94f5b11f2af5d3f2cc073706b8cb4

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