Skip to main content
https://travis-ci.org/deliveryhero/lymph.svg?branch=master

Lymph

lymph is an opinionated framework for Python services. Its features are

  • Discovery: pluggable service discovery (e.g. backed by ZooKeeper)

  • RPC: request-reply messaging (via ZeroMQ + MessagePack)

  • Events: pluggable and reliable pub-sub messaging (e.g. backed by RabbitMQ)

  • Process Management

There’s documentation on readthedocs.org.

Installation (as a dependency)

# py-monotime requires python headers, and gevent and cython require build-essential
$ sudo apt-get install build-essential python-dev
$ pip install https://github.com/deliveryhero/lymph.git#egg=lymph

Development (of lymph itself)

$ git clone https://github.com/deliveryhero/lymph.git
$ cd lymph
$ pip install -r requirements/base2.txt -r requirements/dev.txt
$ pip install -e .

Run tests with tox, build documentation with fab docs.

Running services

To run the example services, you can use the example node config in conf/sample-node.yml. You’ll also need a local installation of ZooKeeper (with the configuration provided in the Getting Started Guide) and RabbitMQ:

$ export PYTHONPATH=examples
$ cp conf/sample-node.yml .lymph.yml
$ lymph node

You can then discover running services:

$ lymph discover

and send requests to them from the commandline:

$ lymph request echo.upper '{"text": "transform me"}'

To see the log output of a running service, try:

$ lymph tail echo -l DEBUG

Metadata

Release files for lymph 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lymph 0.9.0
File Size Uploaded
lymph-0.9.0.tar.gz 59.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lymph 0.9.0
File Interpreter ABI Platform
lymph-0.9.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 150.9 kB

Release files / lymph-0.9.0.tar.gz

Download URL lymph-0.9.0.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0f36c93e9e2719acd0c2c0ca8edf3e8de6aac9112dceac0f8ef10dafb40382f8
BLAKE2b-256 checksum
How to use checksums
ad6d9e75fa25f6eb9b28dc38ffa72d99884b38ba03679db17c80ea250f159f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lymph-0.9.0-py2.py3-none-any.whl

Download URL lymph-0.9.0-py2.py3-none-any.whl
Size 91.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9096fc15c6324574ada4de87e1173f838a43f663363f00b4067adf0ea6676418
BLAKE2b-256 checksum
How to use checksums
7cdcc70d652311be2fe76f5f798bddb989ce60976faac3945effd753343ca456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.15.0

1 release file

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

1 release file

0.10.0

1 release file

This release

0.9.0 This release

2 release files

0.8.1

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page