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

Uploaded Source

Built Distribution

ergo-0.5.0a0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.5.0a0.tar.gz
  • Upload date:
  • Size: 11.7 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.0a0.tar.gz
Algorithm Hash digest
SHA256 bfdc33105964e8a9dd433a0bb55329f964f748dd5825b3f9141a269acc67ddc7
MD5 982ccd4c7c0d3b7fe0fcf6ae5304fb5e
BLAKE2b-256 e88134031958c1ed18ef62ee93f45f1af329ac5c5d26f631d5e1f89c43a4a476

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ergo-0.5.0a0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac42693d075290a3568af73e829cc2d2ab984a51a7b109179be567beb5c977df
MD5 3651a544925acf17f4aea46b5edd5db8
BLAKE2b-256 3cd50183cfb9847d12db9abf6602fd821c828d78751df0924c1ff6274f40229c

See more details on using hashes here.

Provenance

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