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.7.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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53883347fd8d138f59f2100cbbc3db70a6c36eaa2acece6b3c4f2310637f62c3
|
|
| MD5 |
aa2f5f3243d044302b3713002e1326c1
|
|
| BLAKE2b-256 |
0478773995801b9d1f8c08c14350a123c21dbbba36905c24200237f22645c9ef
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13ce8a597ea4154c7b495f71c1ead47f374a8e72c7ff17e1d8ba430ec496ba4
|
|
| MD5 |
7899b1c3023cec623a9dd827028fe54f
|
|
| BLAKE2b-256 |
b55e9fde68bf346dcef81d6cdfbf8c4e2caa09d63aa86f880f1f2ea5c1ecfae8
|