Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

.. image:: https://travis-ci.org/deliveryhero/lymph.svg?branch=master
:target: https://travis-ci.org/deliveryhero/lymph


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 <http://lymph.readthedocs.org/>`_ 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 cython==0.20.1
$ pip install -r requirements/base.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/local-zookeeper-rabbitmq-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/local-zookeeper-rabbitmq-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


.. _ZooKeeper: http://zookeeper.apache.org
.. _Getting Started Guide: http://zookeeper.apache.org/doc/trunk/zookeeperStarted.html
.. _RabbitMQ: http://www.rabbitmq.com/

Metadata

Release files for lymph 0.1.0

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for lymph 0.1.0
File Size Uploaded
lymph-0.1.0.tar.gz 43.7 kB Details

Release files / lymph-0.1.0.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL lymph-0.1.0.tar.gz
Size 43.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0b6e982f507b4edfcf9c8aad2dc34878f6b8ff5553fff632808be93328467324
BLAKE2b-256 checksum
How to use checksums
07021972117f8a096fcb5a91ed61618df1fceb859512ea23ec4e18084c9072d5
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

0.9.0

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

This release

0.1.0 This release

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