Skip to main content

more_collections is a Python library providing more collections (multisets, orderable multisets, hashable dictionaries, ...).

Project description

This package provides some more collections than the standard collections package.

The package currently provides:

  • puredict/frozendict - a functionally pure and immutable dictionary that is even hashable, if all keys and values are hashable.

  • multiset/frozenmultiset - a multiset implementation

  • orderable_multiset/orderable_frozenmultiset - a multiset implementation for orderable carriers so that multisets of those elements themselves are orderable, even including nestable_orderable_frozenmultiset which is a multiset-ordering-extension that gives a total ordering for arbitrarily nested multisets over an orderable carrier.

If you want to see any more collections, contact me, open a ticket (I’ll happily implement it) or send in a patch.

See https://github.com/maweki/more-collections for a full guide and more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

more_collections-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file more_collections-0.3.0.tar.gz.

File metadata

File hashes

Hashes for more_collections-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0efcec5cfd2aa26d496b01647b3ce032337e8da325464aeb9fc1243348241973
MD5 3ed5151b7f88d147701ea765b2ee8d85
BLAKE2b-256 14b64b79febb465f5c39cc8574b23e20dcf225bfa70af04211ef8f3fa689b8a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page