Skip to main content

apollo-client升级到python3.10

Project description

pyapollo

Python client for Apollo Configuration Center

Project description apollo-client - Python Client for Ctrip's Apollo License

方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 3.5+

基于https://github.com/filamoon/pyapollo/ 修改

Installation

pip install apollo-client

Features 实时同步配置 灰度配置 客户端容灾 Usage

<!-- 启动客户端长连接监听 -->
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
<!-- 获取Apollo的配置 -->

client.get_value(Key, DefaultValue, namespace)

Contribution Source Code: https://github.com/BruceWW/pyapollo Issue Tracker: https://github.com/BruceWW/pyapollo/issues Original Source Code: https://github.com/filamoon/pyapollo License The project is licensed under the Apache 2 license.

Reference Apollo : https://github.com/ctripcorp/apollo

Contributor Bruce prchen xhrg johnliu

Version log 11/24/2019 Bruce 0.8.2 优化本地缓存的存储方式 1/4/2020 Bruce 0.8.4 修复文件读取异常的bug 3/24/2020 prchen 0.8.5 修复安装过程中requests模块依赖的问题 7/5/2020 Bruce 0.9 主线程退出时,关闭获取配置的子线程 25/5/2020 xhrg 0.9.1 修复文件名称读取异常 13/7/2020 Bruce 0.9.2 【bugfix】修复当namespace不存在时,服务器挂起导致get_value无响应 18/10/2020 Bruce 2.0 重构 | 优化数据获取方式 | 优化定时任务 | 新增authorization传入 04/29/2025 Johnliu 升级支持python3.10

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-client3-1.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apollo_client3-1.0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file apollo-client3-1.0.1.tar.gz.

File metadata

  • Download URL: apollo-client3-1.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for apollo-client3-1.0.1.tar.gz
Algorithm Hash digest
SHA256 659856aee77b19355943d31b5077fc4c70d6524e89dcc7358c3b41ebbfec4e24
MD5 4829434104f21b0e23993a54093a9764
BLAKE2b-256 912be3619ec8225558e03d813e1add301b5ed1577663abd2102ccf2a6dccd6d0

See more details on using hashes here.

File details

Details for the file apollo_client3-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: apollo_client3-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for apollo_client3-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66655c0730b5cd231d77f21bbab41c4e0815bad4f0b0c6aaaba9e8314b585700
MD5 4aabdef009ed5c9a7b67daef4cb8c4d0
BLAKE2b-256 28e3f1c21b1e8a5e27a97719782c590b49e2f7eac263331f3de65b2420c2093b

See more details on using hashes here.

Supported by

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