History

v6.4.1

12 Jul 2023

Bugfixes

  • Remove use of OrderedDict in partition_dict. (#17)

v6.4.0

12 Jul 2023

Features

  • Added summarize.

  • Require Python 3.8 or later.

v6.3.0

13 Oct 2022

Added find_subseq.

v6.2.1

20 Feb 2022

#15: Fixed broken test in ensure_unique.

v6.2.0

20 Feb 2022

Added accumulate function.

v6.1.1

06 Feb 2022

Fixed typo in ensure_unique doctest.

v6.1.0

06 Feb 2022

Add ensure_unique function.

v6.0.3

17 Sep 2021

#13: Fixed doc build errors.

v6.0.2

17 Sep 2021

Minor fixes.

v6.0.1

31 Jan 2021

Switch to PEP 420 for namespace package.

v6.0.0

Remove Counter.GetCount. Remove flatten and iflatten.

v5.0.0

19 Dec 2019

infinite_call is superseded by more_itertools.repeatfunc.

Require Python 3.6 or later.

4.4.2

28 Mar 2019

Fixed RuntimeError in takewhile_peek on later Pythons where StopIteration is no longer allowed in a generator.

4.4.1

10 Jan 2019

Fixed issue in collate_revs when objects being merged were non-True.

4.4

08 Jan 2019

Add collate_revs and partition_dict.

4.3

06 Jan 2019

Nicer error message in assert_ordered when the assertion fails. Now reports the full supplied items and not just the keys in the errors. When < or > are used, the error message renders more directly.

4.2

05 Jan 2019

The duplicates function now takes an arbitrary number of iterables.

Added assert_ordered function.

4.1

04 Jan 2019

Added duplicates function.

4.0.0

01 Jan 2019

Switch to pkgutil namespace technique for the jaraco namespace.

3.0.0

28 Oct 2018

  • Refreshed project metadata, now built using declarative config. Installation from sdist now requries setuptools 34.4.

2.5.2

17 Sep 2018

  • Fix deprecation warning in always_iterable.

  • Leverage base_type parameter in more_itertools.always_iterable.

2.5.1

17 Sep 2018

  • Set stacklevel in deprecated functions for better visibility of the call.

2.5

04 Sep 2018

  • Added new maybe_single function.

  • Deprecated list_or_iterable in favor of maybe_single.

2.4

10 Jul 2018

  • Deprecated flatten and iflatten in favor of more_itertools.collapse. Deprecated iterable_test, only used by deprecated functions.

  • Bump dependency on more_itertools 4.0.0.

2.3

21 May 2018

  • Added self_product.

2.2

25 Mar 2018

  • first now accepts a default value, same as next.

2.1.1

05 Mar 2018

  • #3: Fix failures on Python 3.7 due to the introduction of PEP 479.

2.1

14 Nov 2017

  • Use more_itertools.more.always_iterable in place of always_iterable except when a mapping is included.

2.0.1

09 Feb 2017

  • Refresh package.

2.0

03 Sep 2016

  • In always_iterable, mappings are now considered singletons. It seems that the way always_iterable is generally used, one wouldn’t expect to only iterate on a mapping, but there are cases where a dictionary should behave like a singleton object.

1.8

02 Sep 2016

  • Deprecated infiniteCall and replaced it with infinite_call which only takes a single argument (the function to call).

1.7.1

26 Dec 2015

  • Fix failing tests on Python 2.

1.7

18 Nov 2015

  • Moved hosting to github.

1.6

18 Nov 2015

  • Releases now include wheels.

1.5

26 Aug 2015

  • Add takewhile_peek function.

1.4

31 Jul 2015

  • Add list_or_single function.

1.3

06 Mar 2015

  • Add apply to apply a function to an iterable, but yield the original items.

1.1

04 Feb 2015

  • Update Count object to support comparison for equality and accept None to mean explicitly Infinity. See the docs for details.

  • Fixed Python 3 issues on Counter object. Added docstrings.

  • Added Counter.count attribute.

  • Counter.GetCount is now deprecated. Use .count instead.

1.0

31 Jan 2015

Initial release based on jaraco.util 10.7.