Skip to main content

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

ergo-0.5.5a0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

ergo-0.5.5a0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file ergo-0.5.5a0.tar.gz.

File metadata

  • Download URL: ergo-0.5.5a0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for ergo-0.5.5a0.tar.gz
Algorithm Hash digest
SHA256 7ffeb28d7f5e2a5cacfd2c1f910a098dfe37f77f95f979e65335603ff86ee8ec
MD5 af1c1deef0bdb58a21f6ab8c777535c5
BLAKE2b-256 84836a61537c6f2922b6ba86fbf71ded38152747e67767061c200fd5dd4ff941

See more details on using hashes here.

File details

Details for the file ergo-0.5.5a0-py3-none-any.whl.

File metadata

  • Download URL: ergo-0.5.5a0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.2.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for ergo-0.5.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 447f5e520da186b08a4169ae01378c9ad1f8195e17e87232adde93cf5eb39634
MD5 31c1560590d601fc134f5874c6e5fb54
BLAKE2b-256 4d0e85392b790375e712b03d7d5891a7790461911dfb9595f8144ac1c8cd6e48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page