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?4&5"
{"result": 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.4.9a0.tar.gz
.
File metadata
- Download URL: ergo-0.4.9a0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1eda0750897f66ba8b4ac8c2459245c0091798ed7792968e56bd1f4ab7b3089 |
|
MD5 | ea87e240241a9d6a93a82a36084a9abf |
|
BLAKE2b-256 | fe6d36e9076091687acd8c00dad56d354356ae522f18dc47fa0ed2f5c247dee2 |
File details
Details for the file ergo-0.4.9a0-py3-none-any.whl
.
File metadata
- Download URL: ergo-0.4.9a0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9d9d833f08a0157ab1efa0749a1c4c1b05e0b90616b5348ec762e7f9118446 |
|
MD5 | 16d7cb83cf2e7794f5dd6bdfbc96b2f2 |
|
BLAKE2b-256 | 7bbe50418f02967f0d6a43d8d3c267fb3be7368c45adec4db01e8be70ff5b3dc |