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

Uploaded Source

Built Distribution

ergo-0.6.0a0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ergo-0.6.0a0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for ergo-0.6.0a0.tar.gz
Algorithm Hash digest
SHA256 e7aae3ed595dcce23003286fb0ea2de256ea6b17836408a1e52c3ab488bbbb53
MD5 17fdabf551008227844a347830ee6550
BLAKE2b-256 1a904c698bf2a0d7cab093d7a8378ac5295e49e508cc55a823183d93b4d915cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ergo-0.6.0a0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for ergo-0.6.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 8466c9c48ad5baa40ea21d1e5e85c6d82c7af4bcbf0551fcf09d05e14e54561e
MD5 0ef599431f17081da77114721a0bfd07
BLAKE2b-256 77b7fc6ba2946803c1198f5fb21e9f25a9388449a64cb92f1b30417ad7a635fc

See more details on using hashes here.

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