Skip to main content

Pure python implementation of the Apache Mesos Framework API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pesos, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pesos-0.2.2-py2.py3-none-any.whl (53.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pesos-0.2.2.tar.gz (42.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page