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")
打包发版流程
- setup.py修改版本号push
- 项目打包
python3 setup.py sdist bdist_wheel
- 项目发布
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc95587fe39d997732b8dcb8a806d3b907f8a3d3bbf338bfd06f9492628dc915
|
|
| MD5 |
83dfbceeca04ffd5fded9d6ec651dfe9
|
|
| BLAKE2b-256 |
5726fbee3a5d167d626933e5ad26ea9ea96972ba19c946d6e9776e95c1df6d33
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52d00922ab1f932e659bac37abed62a4b813ca7b0b13147d82c74df373d1ee2
|
|
| MD5 |
648330cfd836068d64a7f8be20b00bc0
|
|
| BLAKE2b-256 |
2f2a86ab4f9afaf766a74625cef1780294d8d525fc4ee0c285efa8cd200ec042
|