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.6.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.6.tar.gz.
File metadata
- Download URL: yxapollo-0.0.6.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 |
dbf2afb3a02854eee8c8915295df6e438e8589acfe42a728ae58870b16bd1c2f
|
|
| MD5 |
10e877f485d90045d2e2d98095c5927f
|
|
| BLAKE2b-256 |
4edbdadf58b21ea5ecdc2169013e4650e68360a3e501536ed1dacb445875fd4f
|
File details
Details for the file yxapollo-0.0.6-py3-none-any.whl.
File metadata
- Download URL: yxapollo-0.0.6-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 |
a2a3da0a01e77bf0d7be0194f3c048ce587dae346529576071e183fbb7c97042
|
|
| MD5 |
4f28e2efae246d65e279f4e581b0db48
|
|
| BLAKE2b-256 |
6c7cf8c9fedd621531d6ad49111f0a6233a60aa6aeae737fb99a86bf11dd865e
|