Skip to main content

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并发创建文件夹会抛出异常

Metadata

Release files for xx-apollo 2023.7.14.17.23.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xx-apollo 2023.7.14.17.23.16
File Size Uploaded
xx-apollo-2023.7.14.17.23.16.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xx-apollo 2023.7.14.17.23.16
File Interpreter ABI Platform
xx_apollo-2023.7.14.17.23.16-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / xx-apollo-2023.7.14.17.23.16.tar.gz

Download URL xx-apollo-2023.7.14.17.23.16.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c04e1e61cb1816b1d22c1143275331f8645095140edcca4041048a92399a4450
BLAKE2b-256 checksum
How to use checksums
22006e3bb7235c10b1d077cbaec291732424e97d936399436b9890cb25cd050d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / xx_apollo-2023.7.14.17.23.16-py3-none-any.whl

Download URL xx_apollo-2023.7.14.17.23.16-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a5856e1a0e5e8cf5a456155c60c9735370990c8050b25f2be7de05cbfde1f9e
BLAKE2b-256 checksum
How to use checksums
4e4faf79598be5ec4470f830bc70a1bd4cc94f5b11f2af5d3f2cc073706b8cb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

2023.7.14.17.23.16 This release

2 release files

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