Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Distributed master election and locking in mongodb

Project Description
===============================
MongoElector
===============================

.. image:: https://badges.gitter.im/zebpalmer/MongoElector.svg
:alt: Join the chat at https://gitter.im/zebpalmer/MongoElector
:target: https://gitter.im/zebpalmer/MongoElector?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

.. image:: https://img.shields.io/pypi/v/mongoelector.svg
:target: https://pypi.python.org/pypi/mongoelector

.. image:: https://img.shields.io/travis/zebpalmer/MongoElector.svg
:target: https://travis-ci.org/zebpalmer/MongoElector

.. image:: https://landscape.io/github/zebpalmer/MongoElector/master/landscape.svg?style=flat
:target: https://landscape.io/github/zebpalmer/MongoElector/master
:alt: Code Health

.. image:: https://readthedocs.org/projects/mongoelector/badge/?version=latest
:target: https://readthedocs.org/projects/mongoelector/?badge=latest
:alt: Documentation Status

.. image:: https://api.codacy.com/project/badge/Grade/9b0eca961d57462aac560bbee862eee7
:target: https://www.codacy.com/app/zeb/MongoElector?utm_source=github.com&utm_medium=referral&utm_content=zebpalmer/MongoElector&utm_campaign=Badge_Grade




About
======

The MongoElector project provides two pieces of distributed coordination;
Distributed locks via 'MongoLocker' and master elections via 'MongoElector'.
MongoElector makes heavy use of MongoLocker, but the locking functionality
within MongoLocker can be used separately.


* Free software: GPLv3
* Documentation: https://mongoelector.readthedocs.io.

.. NOTE::
As of 0.3.0 release, the distributed master election functionality is working.
Additional features and functionality as well as bug fixes and minor API changes
will be ongoing over the next couple of minor releases.



Features
--------

* Simple API to allow distributed master election
* Distributed locking via MongoDB
* Ensure/Verify a specific instance holds the lock
* TTL


Todo
-----

* Cluster Health and Management within MongoElector


=======
History
=======

0.3.0 (2016-08-22)
------------------

* Initial working release of master election logic.

0.2.1 (2016-08-10)
------------------

* Distributed locking api & functionality largely complete & stable.


0.0.1 (2016-05-13)
------------------

* Hello World
Release History

Release History

This version
History Node

0.6.1

History Node

0.6.0

History Node

0.5.0

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.6

History Node

0.1.5

History Node

0.1.3

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mongoelector-0.6.1-py2.py3-none-any.whl (9.7 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 24, 2017
mongoelector-0.6.1.tar.gz (20.8 kB) Copy SHA256 Checksum SHA256 Source Mar 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting