Skip to main content
MIT License https://img.shields.io/pypi/v/ApolloPyClient.svg

A Python SDK that is easy to integrate with the Apollo configuration management syste.

A Python package for apollo.

Installation

pip install ApolloPyClient

Usage

client = ApolloClient(
    app_id=os.environ.get('APOLLO_APP_ID'),
    config_service_url=os.environ.get('APOLLO_CONFIG_URL'),
    cluster=os.environ.get('APOLLO_CLUSTER'),
    secret=os.environ.get('APOLLO_SECRET'),
    env=os.environ.get('APOLLO_ENV'),
    namespaces=['application', 'test', 'testjson.json', 'testyaml.yaml'],
    ignore_ssl_verify=True,
)
print(client.all())
# sleep for 100000 seconds, you can view log to get the config
time.sleep(100000)

Reference

Apollo : https://www.apolloconfig.com/#/en/client/other-language-client-user-guide

Metadata

Release files for ApolloPyClient 0.1.2

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

Source distribution (sdist)

Source distribution for ApolloPyClient 0.1.2
File Size Uploaded
apollopyclient-0.1.2.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ApolloPyClient 0.1.2
File Interpreter ABI Platform
ApolloPyClient-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / apollopyclient-0.1.2.tar.gz

Download URL apollopyclient-0.1.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
79588e3e3f9d93605a3b677038220fe62beb89b5466f67d0b9c832603812965c
BLAKE2b-256 checksum
How to use checksums
978746fa0430714be238905ffd356eb4796686bc262b72472188e310b62eec12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release files / ApolloPyClient-0.1.2-py3-none-any.whl

Download URL ApolloPyClient-0.1.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
985d6557e52bc7c03294eb08a7c521d2c4d60481da5aab2093b4cda26b7c5e13
BLAKE2b-256 checksum
How to use checksums
429d7b4c16dc373480802712ecfe1bbfb829755ccdb99d8f948a8a1d92b7e2bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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