FICHA · MANJARO

python-bidict

Bidirectional mapping library for Python

  • Library
  • Dev
  • NONE
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Create bidirectional mappings in Python where keys and values can be looked up in both directions. It helps applications maintain one-to-one relationships such as IDs, names, codes, and aliases.

Bidirectional maps need unique values. Validate inputs when data comes from users or external files to avoid accidental overwrites or ambiguous relationships.

Permissions

Permissions not analysed for this source yet.