bidict

Efficient bidirectional map data structures for Python.

EstablishedOpen SourceLow lock-in

Pricing

See website

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Overview

What is bidict?

Bidict provides efficient and Pythonic bidirectional mapping capabilities, allowing developers to maintain consistent mappings between two sets of values. This is particularly useful in scenarios where reverse lookups are required without the overhead of maintaining separate dictionaries.

Key differentiator

Bidict stands out as an efficient, Pythonic solution for implementing bidirectional mappings with minimal overhead and comprehensive support for various use cases.

Capability profile

Strength Radar

Bidirectional ma…Support for vari…Comprehensive te…

Honest assessment

Strengths & Weaknesses

↑ Strengths

Bidirectional mapping with efficient reverse lookups.

Support for various bidirectional map types (e.g., OrderedBidict).

Comprehensive test suite and documentation.

Fit analysis

Who is it for?

✓ Best for

Developers working on projects requiring efficient bidirectional data structures.

Applications where reverse lookups need to be performed frequently and efficiently.

✕ Not a fit for

Projects that do not require bidirectional mapping capabilities.

Scenarios where the overhead of maintaining a bidirectional map is unnecessary or inefficient.

Cost structure

Pricing

Free Tier

None

Starts at

See website

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Next step

Get Started with bidict

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →