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.2a0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

ergo-0.5.2a0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.5.2a0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 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.2a0.tar.gz
Algorithm Hash digest
SHA256 f3faf838cd4a77c3b2b2567cb04a30f1cb5474769c15551b845fc1b1f2c15b32
MD5 ca1f2a0977854d8aeaed78cf594184ce
BLAKE2b-256 61acad1b3550e4d134dd05ed4c213c0cdad9fe219c8e4327fc6d5cb81595ca53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ergo-0.5.2a0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 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.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 958ff0ce7ad35efa2fabdf05c097737bd7bb5e8f7d0318416cb362bf39b0a88f
MD5 b2797eee9d744b6c2a3efc525a6b1f40
BLAKE2b-256 1aa2359b895d27827dfe4794164c40b429e66e66145d707851468b2d7b421151

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