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.5.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.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yxapollo-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 fc95587fe39d997732b8dcb8a806d3b907f8a3d3bbf338bfd06f9492628dc915
MD5 83dfbceeca04ffd5fded9d6ec651dfe9
BLAKE2b-256 5726fbee3a5d167d626933e5ad26ea9ea96972ba19c946d6e9776e95c1df6d33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yxapollo-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f52d00922ab1f932e659bac37abed62a4b813ca7b0b13147d82c74df373d1ee2
MD5 648330cfd836068d64a7f8be20b00bc0
BLAKE2b-256 2f2a86ab4f9afaf766a74625cef1780294d8d525fc4ee0c285efa8cd200ec042

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