Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Synopsis

otomap provides a one-to-one mapping abstraction, presented with a MutableSet interface of (left, right) entries. An OTOMap instance also has left and right facet attributes which both provide MutableMapping interfaces with complementary directionality.

Examples

>>> from otomap import OTOMap
>>> oto = OTOMap()
>>> oto.add(('foo', 'bar'))
>>> ('foo', 'bar') in oto
True
>>> list(oto)
[('foo', 'bar')]
>>> oto.left['foo']
'bar'
>>> oto.right['bar']
'foo'
>>> oto.left['X'] = 'bar'
>>> list(oto)
[('X', 'bar')]
>>> del oto.right['bar']
>>> oto.left.items()
[]

Metadata

Release files for otomap 0.7921cba85c0c51a931e648ba2c29843f8320d5e7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for otomap 0.7921cba85c0c51a931e648ba2c29843f8320d5e7
File Size Uploaded Provenance Actions
otomap-0.7921cba85c0c51a931e648ba2c29843f8320d5e7.tar.gz 3.8 kB Without provenance Details for otomap-0.7921cba85c0c51a931e648ba2c29843f8320d5e7.tar.gz

Release files / otomap-0.7921cba85c0c51a931e648ba2c29843f8320d5e7.tar.gz

Download URL otomap-0.7921cba85c0c51a931e648ba2c29843f8320d5e7.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ef87f5f358b1e129c9a6e20feb05294d77edb2ef8a5a4c6d8b2708c79715c7b
BLAKE2b-256 checksum
How to use checksums
5474ef6b33fee216946b6c0124053f16ce7eb3e1a9f9a2d1ac6a85b90daf8fc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for otomap 0.7921cba85c0c51a931e648ba2c29843f8320d5e7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page