Version 0.0.5 (29 Jan 2023)
Pre-release
Pre-release
Note that this update introduces breaking changes.
Implement a Functions
helper class for common procedures such as
invert
is_even
is_odd
miller_rabin
sign
The overload in the Iter
constructor was removed in favor of a static Iter.range
method to enforce separation of concerns more diligently. Additional minor modifications
were made to pretty much all doc strings to reflect the recent changes that are
to be consolidated for more information. In brief,
- the
chunk_by
method now also provideseject
as an optional argument - the
concat
method was renamed tounion
iterable
anditer
keyword arguments were renamed toiter_
- the method signature of the
range
method has changed and added support for
decrements - the
empty
method was renamed tois_empty
The following methods are new:
self.cartesian
self.combinations
self.combinations_with_replacement
self.difference
self.duplicates
self.flatten
self.intersects
self.is_disjoint
self.is_subset
self.is_superset
Iter.linspace
Iter.open
self.permutations
self.save
self.symmetric_difference
Iter.randint
self.to_dict
self.to_list
self.transpose
self.__eq__
self.__ne__
self.__iter__
self.__next__
Starting with version 0.0.5
, this library now also pulls in typing_extensions
as an external dependency. Support for Python 3.7 has been dropped which makes
version 3.8 the new baseline in this project.