semvec/pypi-packages huggingface dataset:
pesos 0.2.2
Pure python implementation of the Apache Mesos Framework API
License: Apache License 2.0

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

pesos is a pure python implementation of the mesos framework api based upon
`compactor <https://github.com/wickman/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:

.. code-block:: python

    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 <https://tox.rtfd.org>`_ as a test harness.  To run tests,
``pip install tox`` and execute

.. code-block:: bash

    $ tox