Skip to content

Releases: StefanGreve/iterfun

Version 0.0.5 (29 Jan 2023)

29 Jan 13:38
c3a511d
Compare
Choose a tag to compare
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 provides eject as an optional argument
  • the concat method was renamed to union
  • iterable and iter keyword arguments were renamed to iter_
  • the method signature of the range method has changed and added support for
    decrements
  • the empty method was renamed to is_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.

Version 0.0.4 (17 May 2022)

17 Apr 16:52
13377fc
Compare
Choose a tag to compare
Pre-release

Refactors code and improves the doc strings here and there. The Iter.__ctor method was removed in favor of Iter.range for implementing the Iter.__init__ overload.

Additionally, the following methods have been removed as well:

  • self.each
  • self.fetch

Turns out they are not that useful in Python after all.

v0.0.3

25 Dec 22:56
f8c7dea
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.0.2...v0.0.3 (or CHANGELOG.md)

Initial Release

16 Dec 14:32
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

Finalize package structure for development and setup release pipeline.

Full Changelog: https://github.com/StefanGreve/iterfun/commits/v0.0.2