Skip to main content

More Collections

Some useful data structures for collections of data

Class Index

Provide indexing for a list. Inner properties can be used for keys, and keys can be tuples of properties.

Class UniqueIndex

Same as Index, but includes checks and optimization to ensure members' keys are unique.

Class Queue

A Queue is a list, with add() and pop(). It ensures members in the queue are not duplicated by not adding the ones already found in the queue.

Class Matrix

A multidimensional grid of values that can be used like a Mapping from a-tuple-of-coordinates to the value at that coordinate. Plus a few other convenience methods.

This is a naive implementation. The hope it is a simple facade to a faster implementation.

Class Relation

Store the many-to-many relations between two domains

Release files for mo-collections 5.698.25331

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

Source distribution (sdist)

Source distribution for mo-collections 5.698.25331
File Size Uploaded
mo_collections-5.698.25331.tar.gz 18.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mo-collections 5.698.25331
File Interpreter ABI Platform
mo_collections-5.698.25331-py3-none-any.whl Python 3 none any Details

Total release size: 41.2 kB

Release files / mo_collections-5.698.25331.tar.gz

Download URL mo_collections-5.698.25331.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ef273b18a693f0c7e420cf7546722b8743d712db12af5b71d084851f2a216e2
BLAKE2b-256 checksum
How to use checksums
2d6a53223e38ac06050679ebff51de8877d6bc2d9903ac457c6c8ca0077d7f2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / mo_collections-5.698.25331-py3-none-any.whl

Download URL mo_collections-5.698.25331-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db2329d9c5947b478efb149b611760eeedbba023be9806a34ed0f0fc0d4d1877
BLAKE2b-256 checksum
How to use checksums
942a0478069cef322625cb7babf5255db1337fbf2d60b83a7a7496bc5ed69576
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

5.698.25331 This release

2 release files

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