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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.5.3a0.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.3a0.tar.gz
Algorithm Hash digest
SHA256 6a4c46d63cd34dc4fdcafede20435893153cedc199e80cd9e804ad6481de500e
MD5 b0ef9c00fddfd92ff2db7cbcd24c222d
BLAKE2b-256 19524a35823eeb615f6ed3141f2399ecb29db746e4ddbf98eecb4f2054b8e441

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ergo-0.5.3a0-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.3a0-py3-none-any.whl
Algorithm Hash digest
SHA256 03c828797e910c13167b24ad079c980f9f3f365e3b51c9b98c84ed685521547c
MD5 0e108d32a8e0637845128ca3be933a23
BLAKE2b-256 4750756869dc0fa4a342e8b1d996ad68ce10c82bbb732bbc654eb9c70026b77b

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