Skip to main content

pyapollo from filamoon

Project description

PyApollo - Python Client for Ctrip's Apollo

License

方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 2.7 & 3.6

Installation

python setup.py install

Features

  • 实时同步配置
  • 灰度配置

Missing Features

  • 客户端容灾

Usage

  • 启动客户端长连接监听
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
  • 获取Apollo的配置
    client.get_value(Key, DefaultValue)
    

Contribution

License

The project is licensed under the Apache 2 license.

Reference

Apollo : https://github.com/ctripcorp/apollo

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

py_apollo-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

py_apollo-0.0.3-py2-none-any.whl (8.2 kB view details)

Uploaded Python 2

File details

Details for the file py_apollo-0.0.3.tar.gz.

File metadata

  • Download URL: py_apollo-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/2.7.16

File hashes

Hashes for py_apollo-0.0.3.tar.gz
Algorithm Hash digest
SHA256 46d8bc32185a95d1cc04d7652067ca7ff0b111cc96d7e8085dc0b8f7eefc3ce2
MD5 1c42dabea27897589714551b630ff1a6
BLAKE2b-256 4ef9d535a99008da0e5e1aa1e2adb6078bf51138aff9f495594a5996ed15a790

See more details on using hashes here.

File details

Details for the file py_apollo-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: py_apollo-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/2.7.16

File hashes

Hashes for py_apollo-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 35b4bd172f0223e584a6cd14f25c26e9874f5501e0187799de94586738a438bf
MD5 58e79886ffc58d8ea3d1219c58bc53ce
BLAKE2b-256 4bb0c760c788b0ded22f0d751570bd394443931b767db97b924959c1bf13b53d

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