Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Distributed master election and locking in mongodb

Project description


.. image::
:alt: Join the chat at

.. image::

.. image::

.. image::
:alt: Code Health

.. image::
:alt: Documentation Status

.. image::


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:

.. 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.


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


* Cluster Health and Management within MongoElector


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

Project details

Download files

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

Files for mongoelector, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size mongoelector-0.6.1-py2.py3-none-any.whl (9.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mongoelector-0.6.1.tar.gz (20.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page