Collections-extended

Latest version: v2.0.2

Safety actively analyzes 688578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.0.2

------------------

* Fix bug when setting overlapping ranges (`GH 172`_)

.. _`GH 172`: https://github.com/mlenzen/collections-extended/issues/172

2.0.1

------------------

* Added Python 3.10 to tests & classifiers
* Added equality testing to MappedRange (`GH 171`_)

.. _`GH 171`: https://github.com/mlenzen/collections-extended/issues/171

2.0.0

------------------

* Drop support for Python 2.7, 3.4 & 3.5
* bags no longer inherit from Set
* can no longer compare as equal to Sets
* Rename and expose bag and set base classes
* `_basebag` -> :class:`Bag`
* `_basesetlist` -> :class:`SetList`
* tuples passed to the bijection constructor must have len == 2, not >= 2

1.0.3

------------------

* Drop support for Python 2.6 & 3.3
* When multiplying bags, the cartesian product creates a tuple instead of adding
the elements.
* Added :class:`IndexedDict`
* Improve efficiency for large bag operations
* Add :meth:`setlist.swap`
* Add :meth:`bag.count`, :class:`CountsView` & :class:`UniqueElementsView`
* Add :meth:`bag.issubset` and :meth:`issuperset`
* Add support for Python 3.8
* Add :class:`Sentinel`
* Make :class:`MappedRange` a class instead of a namedtuple
* Add change log

1.0.2

------------------

1.0.1

------------------

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.