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
Built Distribution
File details
Details for the file pesos-0.2.2.tar.gz
.
File metadata
- Download URL: pesos-0.2.2.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 777f96b00c742b70d2ef2f765284439bbc1bb794623fc2b23dcb5a3db75594fe |
|
MD5 | cc4cdad1d00572e374dc48bce1b23724 |
|
BLAKE2b-256 | 49bcdf04f61b37349b938ba906cd7d9203bd643f0a9efa466b8a6d7782ac81c7 |
File details
Details for the file pesos-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pesos-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 53.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a7169b623c9847347fab1020387f8c8c30efbd4341f9cccfbfc61cd6d61a64 |
|
MD5 | 58bec7bb56a5f9fd39ecdf3418cd9c95 |
|
BLAKE2b-256 | aa0776318b042ed9d4266eb593c96fb8eaa6819a3004471239046ef5197bf67a |