Skip to content

silverbackhq/pymako

Repository files navigation

PyMako

A Consul Client for Python.

Build Status PyPI version

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.