A Consul Client for Python.
Project description
PyMako
A Consul Client for Python.
Installation
To install PyMako run this command:
$ pip3 install pymako
Usage
After installing the library, Read the following usage criteria:
from pymako import KV
from pymako import Status
# KV Store Module
kv = KV("http://127.0.0.1:8500")
kv.get("key")
kv.update("key", "value")
kv.delete("key")
# Status Module
status = Status("http://127.0.0.1:8500")
status.leader()
status.peers()
Misc
Changelog
Version 0.0.2:
Status & KV Module.
Version 0.0.1:
Initial Release.
Acknowledgements
© 2019, Silverback. Released under MIT License.
PyMako is authored and maintained by @silverbackhq.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymako-0.0.2.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pymako-0.0.2.tar.gz
.
File metadata
- Download URL: pymako-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b047265554d9c64003cc19c0cebfdb65998dbb27fc01a63d08a1990c047d1e37 |
|
MD5 | 66fa744cf05e7bc8fd469808ef54f059 |
|
BLAKE2b-256 | 7095b4eb0f0bc36ed6162de1d72819cee7f41b1f41a99ab56734847f57120ad1 |
File details
Details for the file pymako-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pymako-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 278cc69bca87962487b3ef91fda04b310c4cc859b86952df70b4030673d3d245 |
|
MD5 | f101a6f255cc62317b9d4518080df8a6 |
|
BLAKE2b-256 | 1dad8683d1b626dc0fae5500b1883a64ada6b535f8de9853c7473d63629fba12 |