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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.4.10a0.tar.gz
  • Upload date:
  • Size: 8.0 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.10a0.tar.gz
Algorithm Hash digest
SHA256 ae05e8a63020e32d5f8da57064917b6bf2a5a8b8ed56f7df21bb9fc461ca39bf
MD5 477e064761593ed1ca3de74ba7e385b0
BLAKE2b-256 9044d3137944ec03863ade781ac6cfe1b6a2828b0faa1df7ca2f4b03ded4612a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ergo-0.4.10a0-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.10a0-py3-none-any.whl
Algorithm Hash digest
SHA256 80cc33fab442bff08b58c8705ce798d68d9a391041f3f8a2a1929e51d84f2da1
MD5 a4ba329522c38d752ae8c03454fdc63c
BLAKE2b-256 ebd97251e52b24ed9efca866f39089b4d7a94584b4d11ea7c5d7cb9424690e90

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