collections_extended’s documentation

collections_extended is a Python module providing
  • a bag class, AKA multiset,

  • a setlist class, which is a unique list or ordered set,

  • a bijection class,

  • a RangeMap which is a mapping from ranges to values, and

  • a IndexedDict class.

There are also frozen (hashable) varieties of bags and setlists.

The ABC is backported to Python versions < 3.6

It is tested against Python 3.5, 3.6, 3.7, 3.8 & PyPy3. The current version no longer supports Python 2, install a 1.x version for a Python 2 compatible version. New features will not be developed for Python 2 but serious bugs may be fixed.


Other Packages of Interest


Michael Lenzen


2020 Michael Lenzen


Apache License, Version 2.0