Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

Download files

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

Files for more_collections, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size more_collections-0.3.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page