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

Uploaded Source

Built Distribution

ergo-0.3.24a0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.3.24a0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for ergo-0.3.24a0.tar.gz
Algorithm Hash digest
SHA256 45e119e29ea29ed301b3cee6ae33b11e2d173315ad276e6ab54b3d1fe32efcaa
MD5 c6032908ca5b12aab59661afc6a4e898
BLAKE2b-256 f3ce902346fe0affbae4cdc11fb33a2c70a04379e533e4c60a4527c1b9b78b20

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ergo-0.3.24a0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for ergo-0.3.24a0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f1bcdca89551511a7e9fb1b6fe5ecc85bcde4ef942200d750d22ace6297db4
MD5 3eddc9cf01c6a35d2a2f26a272f9698d
BLAKE2b-256 3e30c0120530741c356d1c89d9cb5641a4d390386f466f2404879bf9552677df

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