Simple Microservice Development Framework
Project description
ERGO
Simple Microservice Development Framework
Ergo is the substrate for the rapid development of coordinated microservices.
The primary emphasis with Ergo is to eliminate - as much as possible - the boilerplate infrastructure that is common to most software stacks to facilitate a larger developer emphasis on business-oriented development. This is achieved with inversion of control and procedural injection.
For example; Consider the following python function in a file math.py
:
# math.py
def product(x, y):
return float(x) * float(y)
Ergo provides the tooling to bootstrap this simple function into any one of a variety of environments (eg. console application, http service, MQ worker, etc.)
To start an http service for the above function:
$ ergo http math.py:product
then to make a request against this service
$ curl -i "http://localhost?x=4&y=5"
20.0
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
Built Distribution
File details
Details for the file ergo-0.8.0a0.tar.gz
.
File metadata
- Download URL: ergo-0.8.0a0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9996805fbfbb23d04208d110e95b07e415741f587005e44acf25a5aabf365ac |
|
MD5 | 2de6156196195958b8fb6f1b0640fc2d |
|
BLAKE2b-256 | 744fec84eb6aedbd2e7bf073f571a8d77dae7d4a001b4e15f68f6c4f9f6bff74 |
File details
Details for the file ergo-0.8.0a0-py3-none-any.whl
.
File metadata
- Download URL: ergo-0.8.0a0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a62fb52241333f6cfedbcb9b9c86a75e7b41e6aa6713bb95862e1efa68e755c |
|
MD5 | 8cb6cea1d62e5d2ae728855c51f18646 |
|
BLAKE2b-256 | 8da6ae327c470bb1fe706d17a35c388862f079cf34901a684859ca71fb4b0e00 |