wickman / pesos

pesos is a pure python implementation of the mesos framework api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pesos

https://travis-ci.org/wickman/pesos.svg?branch=master

pesos is a pure python implementation of the mesos framework api based upon compactor.

Using

pesos is intended to be a drop-in replacement for the mesos.native package. While Python bindings are provided by the Mesos project, they require libmesos which can be challenging to build and package. pesos requires no C extensions to run.

To use:

try:
    from pesos.executor import PesosExecutorDriver as MesosExecutorDriver
    from pesos.scheduler import PesosSchedulerDriver as MesosSchedulerDriver
except ImportError:
    from mesos.native import MesosExecutorDriver, MesosSchedulerDriver

Then use the pesos-provided equivalents as you would the native Mesos versions.

Testing

pesos uses tox as a test harness. To run tests, pip install tox and execute

$ tox

About

pesos is a pure python implementation of the mesos framework api


Languages

Language:Python 96.6%Language:Shell 3.4%