# Is there a good implementation of a BiDict (invertable Dict)

**URL:** <https://discourse.julialang.org/t/is-there-a-good-implementation-of-a-bidict-invertable-dict/76789>\
**Category:** General Usage\
**Tags:** question, data\_structures\
**Created:** [February 20, 2022, 9:46am UTC](https://discourse.julialang.org/t/is-there-a-good-implementation-of-a-bidict-invertable-dict/76789 "2022-02-20T09:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![djholiver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/djholiver/32/50470_2.png) [@djholiver](https://discourse.julialang.org/u/djholiver)\
**Post date:** [February 20, 2022, 10:14am UTC](https://discourse.julialang.org/t/is-there-a-good-implementation-of-a-bidict-invertable-dict/76789/2 "2022-02-20T10:14:18Z")

</div>

> [@Dictionary-like data structure representing a bijective map?](https://discourse.julialang.org/t/dictionary-like-data-structure-representing-a-bijective-map/45341/2):
>
> I found one! [https://github.com/scheinerman/Bijections.jl](https://github.com/scheinerman/Bijections.jl) For reference, here’s the syntax used by Bijections.jl: julia\> b = Bijection(:a, 1) Bijection{Symbol,Int64} (with 1 pairs) julia\> b[:a] 1 julia\> b(1) :a

Might be what you’re after

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-good-implementation-of-a-bidict-invertable-dict/76789)._
