An open API service indexing awesome lists of open source software.

https://github.com/mseifert04/iteration_utilities

Utilities based on Pythons iterators and generators.
https://github.com/mseifert04/iteration_utilities

functional-programming generator iterator performance python

Last synced: about 18 hours ago
JSON representation

Utilities based on Pythons iterators and generators.

Awesome Lists containing this project

README

          

Iteration utilities
-------------------

Utilities based on Pythons iterators and generators.

The full list of functions and classes included in this package:

========================================================================================================== ================================================================================================================================ ============================================================================================================== ======================================================================================================
`accumulate `_ `all_distinct `_ `all_equal `_ `all_isinstance `_
`all_monotone `_ `always_iterable `_ `any_isinstance `_ `applyfunc `_
`argmax `_ `argmin `_ `argsorted `_ `chained `_
`clamp `_ `combinations_from_relations `_ `complement `_ `constant `_
`consume `_ `count_items `_ `deepflatten `_ `dotproduct `_
`double `_ `duplicates `_ `empty `_ `first `_
`flatten `_ `flip `_ `getitem `_ `groupedby `_
`grouper `_ `InfiniteIterable `_ `insert `_ `intersperse `_
`ipartition `_ `is_even `_ `is_iterable `_ `is_None `_
`is_not_None `_ `is_odd `_ `ItemIdxKey `_ `iter_except `_
`Iterable `_ `itersubclasses `_ `last `_ `ManyIterables `_
`merge `_ `minmax `_ `ncycles `_ `nth `_
`nth_combination `_ `one `_ `packed `_ `pad `_
`partial `_ `partition `_ `Placeholder `_ `powerset `_
`radd `_ `random_combination `_ `random_permutation `_ `random_product `_
`rdiv `_ `reciprocal `_ `remove `_ `repeatfunc `_
`replace `_ `replicate `_ `return_called `_ `return_False `_
`return_first_arg `_ `return_identity `_ `return_None `_ `return_True `_
`rfdiv `_ `rmod `_ `rmul `_ `roundrobin `_
`rpow `_ `rsub `_ `second `_ `Seen `_
`sideeffects `_ `split `_ `square `_ `starfilter `_
`successive `_ `tabulate `_ `tail `_ `tee_lookahead `_
`third `_ `unique_everseen `_ `unique_justseen `_
========================================================================================================== ================================================================================================================================ ============================================================================================================== ======================================================================================================

But also some convenience classes providing a lazy and chainable interface for
function evaluation:

- `Iterable `_
- `InfiniteIterable `_
- `ManyIterables `_

.. image:: https://img.shields.io/pypi/pyversions/iteration_utilities.svg
:target: https://www.python.org/
:alt: Supported Python versions

Documentation
^^^^^^^^^^^^^

.. image:: https://readthedocs.org/projects/iteration-utilities/badge/?version=stable
:target: http://iteration-utilities.readthedocs.io/en/stable/?badge=stable
:alt: Documentation Status

.. image:: https://readthedocs.org/projects/iteration-utilities/badge/?version=latest
:target: http://iteration-utilities.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Downloads
^^^^^^^^^

.. image:: https://img.shields.io/pypi/v/iteration_utilities.svg
:target: https://pypi.python.org/pypi/iteration_utilities
:alt: PyPI Project

.. image:: https://img.shields.io/github/release/MSeifert04/iteration_utilities.svg
:target: https://github.com/MSeifert04/iteration_utilities/releases
:alt: GitHub Project

.. image:: https://anaconda.org/conda-forge/iteration_utilities/badges/version.svg
:target: https://anaconda.org/conda-forge/iteration_utilities
:alt: Anaconda-Server Badge

Test status
^^^^^^^^^^^

.. image:: https://ci.appveyor.com/api/projects/status/7dcitqxmh82d0x0m?svg=true
:target: https://ci.appveyor.com/project/MSeifert04/iteration-utilities
:alt: AppVeyor Status

.. image:: https://codecov.io/gh/MSeifert04/iteration_utilities/branch/master/graph/badge.svg
:target: https://codecov.io/gh/MSeifert04/iteration_utilities
:alt: Coverage Status

.. image:: https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat
:target: https://mseifert04.github.io/iutils_benchmarks/
:alt: Benchmarks