Skip to main content

py_openapi_apollo_client

python-apollo客户端封装

支持的python版本

python3.x

功能点

  1. 获取apollo中指定namespaceName下的配置数据
  2. 修改apollo中指定namespaceName下的配置数据

说明

支持鉴权token的传入

安装

pip install py-openapi-apollo-client

二次开发

继承PrivateApolloClient类后,增加自己的方法即可

官方接口文档

Apollo开放平台

使用

from py_openapi_apollo_client.apollo_client import PrivateApolloClient

client = PrivateApolloClient(app_id='test', portal_address='http://test.com', authorization='xxx')
print(client.get_namespace_items_key(key='test.switch'))

Metadata

Release files for py-openapi-apollo-client 1.0.1

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

Source distribution (sdist)

Source distribution for py-openapi-apollo-client 1.0.1
File Size Uploaded
py_openapi_apollo_client-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-openapi-apollo-client 1.0.1
File Interpreter ABI Platform
py_openapi_apollo_client-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / py_openapi_apollo_client-1.0.1.tar.gz

Download URL py_openapi_apollo_client-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
50ace62819edee10e6fdaad8dc7a27764f383b0014fe681e943bce8fe37a7793
BLAKE2b-256 checksum
How to use checksums
c08221d8c0bdd069c3ca62ceffccb88726b1f585a6aab3abe843d38156e19711
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.3

Release files / py_openapi_apollo_client-1.0.1-py3-none-any.whl

Download URL py_openapi_apollo_client-1.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f35de894a425a273502a2946a0eab7e759f106936f0e3e9ae2f1fac1f2489fbd
BLAKE2b-256 checksum
How to use checksums
f1eb6fc7402ecf2abf467350be71502e20ad88be15b93be9b0b006ebe4e47d3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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