Bio: Software engineer, creator of https://linktag.co, https://bidict.rtfd.io, et al. RC batch[2] facilitator.

bidict

made by jab, submitted by porterjamesj
Bidict not only provides high-performance, industrial-strength bidirectional mapping data structures for Python, but it includes a shocking amount of computing joy to boot. Take a closer look at bidict to illuminate some of Python's lesser-known and more under-appreciated darkest corners, and discover a few surprises along the way.