./devel/py-more-itertools, More routines for operating on iterables, beyond itertools

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.2.0, Package name: py37-more-itertools-8.2.0, Maintainer: imil

A collection of several routines not found in itertools, meant to
operate on itertables.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8b3c5dc197da4c068e8bc6705862cd365136c818
RMD160: d9ace6b38e1b02e205a88df54fefa3f2d2d88c49
Filesize: 80.845 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-01 21:59:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: updated to 8.2.0

8.2.0

* Bug fixes
    * The .pyi files for typing were updated.

* Changes to existing itertools:
    * :func:`numeric_range` now behaves more like the built-in :func:`range`.
    * :func:`bucket` now allows for enumerating keys.
    * :func:`sliced` now should now work for numpy arrays.
    * :func:`seekable` now has a ``maxlen`` parameter.
   2020-01-14 23:42:19 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: update to 8.1.0.

8.1.0
-----

* Bug fixes
    * :func:`partition` works with ``pred=None`` again. (thanks to MSeifert04)

* New itertools
    * :func:`sample` (thanks to tommyod)
    * :func:`nth_or_last` (thanks to d-ryzhikov)

* Changes to existing itertools:
    * The implementation for :func:`divide` was improved. (thanks to jferard)
   2019-12-15 12:55:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-more-itertools: updated to 8.0.2

8.0.2:
Bug fixes
* The type stub files are now part of the wheel distribution

8.0.1:
Bug fixes
* The type stub files now work for functions imported from the root package

8.0.0:
New itertools and other additions
* This library now ships type hints for use with mypy.
* :func:`split_when`
* :func:`repeat_last`

Changes to existing itertools:
* The implementation for :func:`set_partitions` was improved.
* :func:`partition` was optimized for expensive predicates.
* :func:`unique_everseen` and :func:`groupby_transform` were re-factored.
* The implementation for :func:`difference` was improved.

Other changes
* Python 3.4 has reached its end of life and is no longer supported.
* Python 3.8 is officially supported.
* The collate function has been deprecated. It raises a DeprecationWarning if \ 
used, and will be removed in a future release.
* :func:`one` and :func:`only` now provide more informative error messages.
* Unit tests were moved outside of the main package
* Various documentation fixes
   2019-11-15 15:22:30 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
py-more-itertools: update to 7.2.0.

7.2.0
-----

* New itertools
    * :func:`distinct_combinations`
    * :func:`set_partitions` (thanks to kbarrett)
    * :func:`filter_except`
    * :func:`map_except`

7.1.0
-----

* New itertools
    * :func:`ichunked` (thanks davebelais and youtux)
    * :func:`only` (thanks jaraco)

* Changes to existing itertools:
    * :func:`numeric_range` now supports ranges specified by
      ``datetime.datetime`` and ``datetime.timedelta`` objects (thanks to \ 
MSeifert04 for tests).
    * :func:`difference` now supports an *initial* keyword argument.

* Other changes
    * Various documentation fixes (thanks raimon49, pylang)

7.0.0
-----

* New itertools:
    * :func:`time_limited`
    * :func:`partitions` (thanks to rominf and Saluev)
    * :func:`substrings_indexes` (thanks to rominf)

* Changes to existing itertools:
    * :func:`collapse` now treats ``bytes`` objects the same as ``str`` objects. \ 
(thanks to Sweenpet)

The major version update is due to the change in the default behavior of
:func:`collapse`. It now treats ``bytes`` objects the same as ``str`` objects.
This aligns its behavior with :func:`always_iterable`.

.. code-block:: python

    >>> from more_itertools import collapse
    >>> iterable = [[1, 2], b'345', [6]]
    >>> print(list(collapse(iterable)))
    [1, 2, b'345', 6]

6.0.0
-----

* Major changes:
    * Python 2.7 is no longer supported. The 5.0.0 release will be the last
      version targeting Python 2.7.
    * All future releases will target the active versions of Python 3.
      As of 2019, those are Python 3.4 and above.
    * The ``six`` library is no longer a dependency.
    * The :func:`accumulate` function is no longer part of this library. You
      may import a better version from the standard ``itertools`` module.

* Changes to existing itertools:
    * The order of the parameters in :func:`grouper` have changed to match
      the latest recipe in the itertools documentation. Use of the old order
      will be supported in this release, but emit a  ``DeprecationWarning``.
      The legacy behavior will be dropped in a future release. (thanks to jaraco)
    * :func:`distinct_permutations` was improved (thanks to jferard - see also \ 
`permutations with unique values \ 
<https://stackoverflow.com/questions/6284396/permutations-with-unique-values>`_ \ 
at StackOverflow.)
    * An unused parameter was removed from :func:`substrings`. (thanks to pylang)

* Other changes:
    * The docs for :func:`unique_everseen` were improved. (thanks to jferard and \ 
MSeifert04)
    * Several Python 2-isms were removed. (thanks to jaraco, MSeifert04, and hugovk)
   2019-01-22 10:45:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: updated 5.0.0

5.0.0
* New itertools:
    * :func:split_into
    * :func:unzip
    * :func:substrings

* Changes to existing itertools:
    * :func:ilen was optimized a bit
    * :func:first_true now returns None by default. This is the reason for the \ 
major version bump - see below.

* Other changes:
   * Some code for old Python versions was removed
   * Some documentation mistakes were corrected
   * Tests now run properly on 32-bit versions of Python
   * Newer versions of CPython and PyPy are now tested against
   2018-08-19 10:16:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: updated to 4.3.0

4.3.0:

New itertools:
- last()
- replace()
- rlocate()

Improvements to existing itertools:
- locate() can now search for multiple items

Other changes:
- The docs now include a nice table of tools
   2018-05-24 09:14:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: updated to 4.2.0

4.2.0:
* New itertools:
    * :func:map_reduce
    * :func:prepend

* Improvements to existing itertools:
    * :func:bucket now complies with PEP 479

* Other changes:
   * Python 3.7 is now supported
   * Python 3.3 is no longer supported
   * The test suite no longer requires third-party modules to run
   * The API docs now include links to source code
   2018-01-28 09:44:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-more-itertools: updated to 4.1.0

4.1.0
New itertools:
- split_at
- circular_shifts
- make_decorator - see the blog post Yo, I heard you like decorators for a tour
- always_reversible
- nth_combination (from the Python 3.7 docs)
Improvements to existing itertools:
- seekable now has an elements method to return cached items.
- The performance tradeoffs between roundrobin and interleave_longest are now \ 
documented