Skip to main content

Pure python implementation of the Apache Mesos Framework API

Project description

pesos

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.

Source Distribution

pesos-0.2.1.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

pesos-0.2.1-py2.py3-none-any.whl (53.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pesos-0.2.1.tar.gz.

File metadata

  • Download URL: pesos-0.2.1.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pesos-0.2.1.tar.gz
Algorithm Hash digest
SHA256 03b7aeb64c7a5fc960f179ba39f6532efda90f2daaf6e701e56a9b87a0340ffc
MD5 8e471f251600c881aecaf96efb321706
BLAKE2b-256 bba1f37be18e292999d81c5d6307199c136ed7a3657b05f15180d2a03f159f57

See more details on using hashes here.

File details

Details for the file pesos-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pesos-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8a8aa7ee19b7202f57bc630b26eb93bc4f08c50bccf55b005de7e782673665f9
MD5 d5385143dfaa456bb777a7813a6ccfe7
BLAKE2b-256 71dacba11c8513efd7ffad802c0f4f148e12875e7839ad20a5fac3abce28ce65

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