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

Uploaded Source

Built Distribution

ergo-0.8.7a0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.8.7a0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.12

File hashes

Hashes for ergo-0.8.7a0.tar.gz
Algorithm Hash digest
SHA256 b7d963ec14645104f2b4428d77e1eb0438ba13499711b5922c5e3bab88ebdcf3
MD5 6c39204050ac9be0f6b9fca2546ba18f
BLAKE2b-256 afc6c94029a6bf56c3fd56150cb4e4dade447b5db4f7ef2c9608373db788dd2d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ergo-0.8.7a0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.12

File hashes

Hashes for ergo-0.8.7a0-py3-none-any.whl
Algorithm Hash digest
SHA256 760a1ec203fe38fef2b2dccc1e0b7a66d8233b6b3ef56ecfe187c2e2dc161556
MD5 b67ea40fd659701af66a4945b8b53db5
BLAKE2b-256 4cd4d0895608e9c61a5a89e1059ab8899a45cf62b25c593b87b1421fe9fd2a8f

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