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.0.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

pesos-0.2.0-py2.py3-none-any.whl (53.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for pesos-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc94bca10ba9dcff51d4c41c985e40131921e5a761b0770d416bdeec305ff36b
MD5 024873627fe0690ca4104796248b0e54
BLAKE2b-256 db05ea2eafed3e34bd65026d5382bc7c5ec52bd082f129d335e31d4ec2f40c0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pesos-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e33618afc7eb0aba31b369c322f33447e4afd78f6f0718401485be898d6b85e5
MD5 d4b8f5e4cd821d44a2b6994931b44b85
BLAKE2b-256 441192f4cd0e02bed1d3efafc23917afac4557bc81c9e35fc93d156277ba7099

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