Package: python-consul2
Python client forConsul.ioExampleimportconsulc=consul.Consul()# poll a key for updatesindex=NonewhileTrue:index,data=c.kv.get('foo',index=index)printdata['Value']# in another processc.kv.put('foo','bar')Installationpip install python-consul2Note:When using python-consul library in environment with proxy server, setting ofhttp_proxy,https_proxyandno_proxyenvironment variables can be required for proper functionality.StatusThispython-consulauthor may be a little busy, I will maintain a versionpython-consul2,
welcome to use. The new consul version was used(v1.6.1). Progressively
implement all API interfaces in the futureThere’s a few API endpoints still to go to expose all features available in
Consul v1.6.1. If you need an endpoint that’s not in the documentation, just
open an issue and I’ll try and add it straight away.Mailing List373251686@qq.comContributingpython-consul2 is currently maintained by:@poppyredPlease reach out if you’re interested in being a maintainer as well. Otherwise,
open a PR or Issue we’ll try and respond as quickly as we’re able.Issue Labelstoday!:Some triaging is in progress and this issue should be taken care of in
a couple of hours!priority:There’s a clear need to address this issue and it’s likely a core
contributor will take it on. Opening a PR for these is greatly
appreciated!help wanted:This issue makes sense and would be useful. It’s unlikely a core
contributor will get to this though, so if you’d like to see it
addressed please open a PR.question:The need for the issue isn’t clear or needs clarification, so please
follow up.  Issues in this state for a few months, without
responses will likely will be closed.PRsPull requests are very much appreciated! When you create a PR please ensure:All current tests pass, including flake8To add tests for your new features, if reasonableTo add docstrings for new api features you add and if needed link to these
docstrings from the sphinx documentationReleases# release the current version, eg: 0.6.1-dev -> 0.6.1bumpversionrelease# prepare the next patch (z-stream) version, eg: 0.6.1 -> 0.6.2-devbumpversion--no-tagpatch# else, prepare the next minor (y-stream) version, eg: 0.6.1 -> 0.7.0-devbumpversion--no-tagminorChange log0.0.1Featuresforked from cablehead/python-consulFixConsul.ACLsupport0.0.4Featuresimplement Connect Config Snapshot  consul_api0.0.5Featuresimplement all consul http-api0.0.8FeaturesAdd TLSSkipVerify for HTTPS check <bhuisgen@hbis.fr>0.0.16FeaturesTimeout added to http requests <https://github.com/poppyred/python-consul2/pull/4>Handle CONSUL_HTTP_ADDR including ahttp://orhttps://scheme  <https://github.com/poppyred/python-consul2/pull/3>0.0.17Featuresremoves the WriteRequest in the json body where used. <https://www.consul.io/docs/upgrade-specific.html#stricter-json-decoding>refactors the api token to use theX-Consul-Tokenheader instead of a parameter, which is recommended and more secure.Fix catalog.register node_meta in data not in params <https://github.com/poppyred/python-consul2/issues/11>Fix #7 #9 #10 #110.1.0Featureslong_descriptionhas syntax errors in markup and would not be rendered on PyPI.0.1.3FeaturesSupportSkipNodeUpdateparameter