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

Efficient, Pythonic bidirectional map implementation and related functionality

Project Description

Efficient, Pythonic bidirectional map implementation and related functionality.


The bidict codebase is mature, well-tested, and well-reviewed. It is in use by several teams at Google, Bank of America Merill Lynch, and other developers all over the world.

If you are thinking of using bidict in your work, or if you have any questions, comments, or suggested improvements, please let me know! I’d love to know about and be able to support your use case as much as possible.

Please also feel free to file an issue or submit a pull request. All contributions are gratefully received:) (See contributing below.)


pip install bidict

Usage Documentation

For usage documentation, please start at the intro and proceed from there.


If you’re reading this on GitHub, PyPI, in your code editor, or in some other place that can’t render/link the full docs properly, you can find the bidict documentation on Read the Docs at:

Also note: multiple versions of the documentation are published on Read the Docs, and by default you will be taken to the version built from the master branch. You can choose different versions from the pop-up menu in the lower-right.

If you have the bidict source code handy, you can also browse the docs inside the docs directory, and build them yourself by running make html from within that directory (requires Sphinx).


For information about contributing, please see the contributors-guide (CONTRIBUTING.rst |

If bidict has helped you accomplish your work, especially work you’ve been paid for, please consider supporting bidict’s maintenance and development.


For a history of notable changes to bidict, check out the changelog (CHANGELOG.rst |

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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
bidict-0.13.1.tar.gz (14.3 kB) Copy SHA256 Checksum SHA256 Source Mar 15, 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