Skip to main content

python apollo connector

Project description

Example

apollo.py

from Apollo import Apollo

apollo1 = Apollo("your_appid_1", "your_config_server_url_1")
apollo2 = Apollo("your_appid_2", "your_config_server_url_2")

main.py

from apollo import apollo1,apollo2

value1 = apollo1.get_value("your_key", namespace="your_namespace")
value2 = apollo1.get_value("your_key", namespace="your_namespace")

打包发版流程

  1. setup.py修改版本号push
  2. 项目打包
python3 setup.py sdist bdist_wheel
  1. 项目发布
python3 -m twine upload dist/*

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

yxapollo-0.0.7.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

yxapollo-0.0.7-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file yxapollo-0.0.7.tar.gz.

File metadata

  • Download URL: yxapollo-0.0.7.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for yxapollo-0.0.7.tar.gz
Algorithm Hash digest
SHA256 53883347fd8d138f59f2100cbbc3db70a6c36eaa2acece6b3c4f2310637f62c3
MD5 aa2f5f3243d044302b3713002e1326c1
BLAKE2b-256 0478773995801b9d1f8c08c14350a123c21dbbba36905c24200237f22645c9ef

See more details on using hashes here.

File details

Details for the file yxapollo-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: yxapollo-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for yxapollo-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b13ce8a597ea4154c7b495f71c1ead47f374a8e72c7ff17e1d8ba430ec496ba4
MD5 7899b1c3023cec623a9dd827028fe54f
BLAKE2b-256 b55e9fde68bf346dcef81d6cdfbf8c4e2caa09d63aa86f880f1f2ea5c1ecfae8

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