The bidirectional mapping library for Python.
Go to file
jab 571fe87883 upgrade to pypy-portable-5.6.0 2016-11-21 01:27:25 -05:00
_static work around bad readthedocs styles 2016-08-02 18:02:08 -04:00
bidict appease new flake8 rule (E305) 2016-11-21 00:54:31 -05:00
docs pull out new "order matters" subsection of docs 2016-07-03 18:12:58 -04:00
tests appease new flake8 rule (E305) 2016-11-21 00:54:31 -05:00
.editorconfig refactor, tests + docs improvements 2015-04-27 11:08:27 -04:00
.gitignore squashed changes for 0.12.0 2016-06-28 00:05:23 -04:00
.pre-commit-config.yaml implement stricter 1-to-1 checking + many fixes + improvements 2015-12-20 22:05:22 -05:00
.travis.yml upgrade to pypy-portable-5.6.0 2016-11-21 01:27:25 -05:00
CHANGELOG.rst prepare for 0.12.0 release 2016-07-03 23:52:45 -04:00
CODE_OF_CONDUCT.rst squashed changes for 0.12.0 2016-06-28 00:05:23 -04:00
CONTRIBUTING.rst prepare for 0.12.0 release 2016-07-03 23:52:45 -04:00
LICENSE add license title 2016-07-31 12:31:44 +01:00
MANIFEST.in prepare 0.9.0rc0 2015-05-30 16:26:28 -04:00
PYPI_DOWNLOAD_STATS.rst document retrieving pypi download stats 2016-09-16 16:06:40 -04:00
README.rst update to latest pytest (3.0.0) 2016-08-21 22:17:05 -04:00
pytest.ini dowgrade pytest-benchmark to 3.0.0 2016-11-21 00:35:18 -05:00
setup.py upgrade to latest flake8, pydocstyle, pytest-cov, and sphinx dependencies 2016-11-21 00:48:44 -05:00
test.sh squashed changes for 0.12.0 2016-06-28 00:05:23 -04:00
tox.ini squashed changes for 0.12.0 2016-06-28 00:05:23 -04:00

README.rst

bidict
======
 
Efficient, Pythonic bidirectional map implementation and related functionality.

.. image:: https://raw.githubusercontent.com/jab/bidict/master/_static/logo-256.png
    :target: https://bidict.readthedocs.io/
    :alt: bidict logo

.. image:: https://raw.githubusercontent.com/jab/bidict/master/_static/support-on-gumroad.png
    :target: https://gumroad.com/l/bidict
    :alt: Support bidict


Status
------

.. Hide downloads badge pending https://github.com/badges/shields/issues/716
.. .. image:: https://img.shields.io/pypi/dm/bidict.svg
..     :target: https://pypi.python.org/pypi/bidict
..     :alt: Downloads per month

.. image:: https://img.shields.io/pypi/v/bidict.svg
    :target: https://pypi.python.org/pypi/bidict
    :alt: Latest release

.. image:: https://img.shields.io/badge/VersionEye-follow-brightgreen.svg
    :target: https://www.versioneye.com/python/bidict
    :alt: Follow on VersionEye

.. image:: https://readthedocs.org/projects/bidict/badge/?version=master
    :target: https://bidict.readthedocs.io/en/master/
    :alt: Documentation

.. image:: https://travis-ci.org/jab/bidict.svg?branch=master
    :target: https://travis-ci.org/jab/bidict
    :alt: Build status

.. image:: https://coveralls.io/repos/jab/bidict/badge.svg?branch=master
    :target: https://coveralls.io/github/jab/bidict
    :alt: Test coverage

.. image:: https://img.shields.io/pypi/pyversions/bidict.svg
    :target: https://pypi.python.org/pypi/bidict
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/implementation/bidict.svg
    :target: https://pypi.python.org/pypi/bidict
    :alt: Supported Python implementations

.. image:: https://img.shields.io/pypi/l/bidict.svg
    :target: https://raw.githubusercontent.com/jab/bidict/master/LICENSE
    :alt: License

.. image:: https://badges.gitter.im/join%20chat.svg
    :target: https://gitter.im/jab/bidict
    :alt: Chat

The bidict codebase is mature, well-tested, and well-reviewed.
If you have a question or find an issue,
please don't hesitate to
`ask in the chat room <https://gitter.im/jab/bidict>`_,
`file an issue <https://github.com/jab/bidict/issues/new>`_,
or
`submit a pull request <contributing>`_.


Installation
------------

``pip install bidict``


Usage
-----

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

`bidict.readthedocs.io <https://bidict.readthedocs.io>`_
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

*In case 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:*

    `<https://bidict.readthedocs.io>`_

*Note that multiple versions of the documentation are published there,
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.*

You can also build the docs yourself by running ``make html``
from the ``docs`` directory
(requires `Sphinx <https://pypi.python.org/pypi/Sphinx>`_).


Contributing
------------

Contributions are gratefully received!
For information about contributing,
please see CONTRIBUTING.rst
(`<https://bidict.readthedocs.io/contributing.html>`_).


Changelog
---------

For a history of notable changes to bidict,
check out CHANGELOG.rst
(`<https://bidict.readthedocs.io/changelog.html>`_).