Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silverbackhq/pymako

A Consul Client for Python.
https://github.com/silverbackhq/pymako

consul distributed-systems django flask load-balancer load-balancing python scalability service-discovery

Last synced: about 2 months ago
JSON representation

A Consul Client for Python.

Awesome Lists containing this project

README

        

PyMako
======

A Consul Client for Python.

[![Build Status](https://travis-ci.org/silverbackhq/pymako.svg?branch=master)](https://travis-ci.org/silverbackhq/pymako)
[![PyPI version](https://badge.fury.io/py/pymako.svg)](https://badge.fury.io/py/pymako)

Installation
------------
To install PyMako run this command:
```
$ pip3 install pymako
```

Usage
-----
After installing the library, Read the following usage criteria:

```python
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](https://opensource.org/licenses/mit-license.php).

**PyMako** is authored and maintained by [@silverbackhq](http://github.com/silverbackhq).