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.



  • is in use by several teams at Google, Venmo, Bank of America Merrill Lynch, and many others,
  • has carefully designed APIs for safety, simplicity, flexibility, and ergonomics,
  • is CPython-, PyPy-, Python 2-, and Python 3-compatible,
  • has extensive test coverage, including property-based tests and benchmarks, which are run continuously on all supported Python versions and OSes,
  • integrates with Python’s collections interfaces and abstract base classes,
  • is thoroughly and attentively documented, and
  • is made up of mature, concise, and well-reviewed code.

Community and Support

If you are thinking of using bidict in your work, or if you have any questions, comments, or suggestions, I’d love to know about your use case and provide as much support for it as possible.

Please feel free to leave a message in the chatroom or open an issue after reviewing the (doc:)`contributors-guide`. [1]

Notice of Usage

If you are already using bidict, and especially if you/your organization is a significant user, please let me know you’re using it!


See the (doc:)`changelog` [2] for a history of notable changes to bidict.

Release Notifications

Tip: Follow bidict on Sibbell to be notified when a new version of bidict is released.


pip install bidict

Usage Documentation

Please head to the (doc:)`intro` [3] for usage documentation.


Bidict is currently a one-person operation maintained on a voluntary basis for the public good. Your help would be most welcome.

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

For information about contributing to the code, please see the (doc:)`contributors-guide`. [1]

Finding Documentation

If you’re viewing this on, note that multiple versions of the documentation are available, and you can choose a different version using the popup menu at the bottom-right. Please make sure you’re viewing the version of the documentation that corresponds to the version of bidict you’d like to use.

If you’re viewing this on GitHub, PyPI, or some other place that can’t render and link this documentation properly and are seeing broken links, try these alternate links instead:

[1](1, 2) CONTRIBUTING.rst |
[2]CHANGELOG.rst |
[3]docs/intro.rst |

Release History

History Node


History Node


History Node


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


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(211.8 kB) Copy SHA256 Hash SHA256
Source None Dec 6, 2017

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting