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?4&5"
{"result": 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.4.0a0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

ergo-0.4.0a0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.4.0a0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.10

File hashes

Hashes for ergo-0.4.0a0.tar.gz
Algorithm Hash digest
SHA256 38a2cbe219e8bb9e51b539e2e41b7d4daa17b5c694f6bdb3c2a7f96c2f39a8cc
MD5 774fbbf410a45a0d1a970b22328b07ea
BLAKE2b-256 e72413cfa28a376b29d6798d7c57071d158c773b26439679c8ed008c241361dd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ergo-0.4.0a0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.10

File hashes

Hashes for ergo-0.4.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 89bee2f1600291bc3e600f5ad076555deeaeaeaaaeb9eb3e2ff67a6c33fe5fc6
MD5 1146d3f07e895989d9b5f2522c2061c6
BLAKE2b-256 0da6b4e437612ba16d53371fe85725f7a9d14a5ea05a6897677fc5e63f391ae0

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