Revisions of python-more-itertools
Ana Guerrero (anag+factory)
accepted
request 1217431
from
Dirk Mueller (dirkmueller)
(revision 27)
- update to 10.5.0: * Optimize all_equal recipe * Reduce groupby.__next__ calls in all_equal * Fix types.UnionType - update to 10.4.0: * Issue 854: sample improvements * Issue 858: Use chain and starmap in run_length.decode * Issue 859: Update totient recipe * Distinct permutations of incomparable items * Clarify seekable.relative_seek behavior * Issue 864: Improve _sample_unweighted * Use log1p for _sample_unweighted * Issue 862: change relative_seek() behaviour * Issue 876: is_sorted clarifications * Issue 870: counts parameter for sample * Issue 869: Add a steps argument to circular_shifts * Issue 871: Add a fast path for sliding_window * type annotation of `windowed_complete` corrected * [Docs] Fix strictly_n missing the n parameter * Standardize type hints for isinstance's second argument * Issue 883: change type hint * Add type overloads for `zip_broadcast` * Issue 889: Optimize triplewise * Add option `strict` to `sort_together` * Updates for version 10.4.0
Ana Guerrero (anag+factory)
accepted
request 1184124
from
Dirk Mueller (dirkmueller)
(revision 26)
- update to 10.3.0: * Increase performance of `padded` * Update table of contents * Add exactly size of n doc to padded * Speed up `ichunked` * Optimize `chunked_even` itertool * Optimize windowed itertool * Issue 820: add powerset_of_sets * Fix a typo found by codespell * Add typing for countable.items_seen attribute. * Add join_mappings * Add doublestarmap (closes #679) * Add dft and idft * Changes for version 10.3.0 * Add unique()
Ana Guerrero (anag+factory)
accepted
request 1139209
from
Dirk Mueller (dirkmueller)
(revision 25)
- update to 10.2.0: * `iter_suppress` (thanks to jaraco, pochmann, and rhettinger) * `filter_map` (thanks to struktured) * `classify_unique` (thanks to haukex) * `totient` (from the itertools docs) * `reshape` (from the itertools docs) * Changes to existing functions * `factor`, `iter_index`, `sieve`, and `unique_justseen` were updated to match the itertools docs * `first` was was optimized (thanks to pochmann) * `takewhile_inclusive` was was refactored (thanks to eltoder) * `combination_with_replacement_index` was was optimized (thanks to elliotwutingfeng and rhettinger) * `nth_permutation`, `nth_combination_with_replacement`, `combination_index`, and `combination_with_replacement_index` were optimized (thanks to rhettinger) * `batched` now accepts a `strict` argument (adapted from itertools docs) * `time_limited` was improved for Windows (thanks to haukex)
Ana Guerrero (anag+factory)
accepted
request 1129075
from
Dirk Mueller (dirkmueller)
(revision 24)
- update to 10.1.0: * Add more tests for `zip_broadcast()` * Added takewhile_inclusive * Speed up `zip_broadcast()` by pre-filling the scalar elements * Added outer_product. * Simplify `zip_broadcast` * Simplify `_zip_equal` * fix consume() type annotation * Update recipes.iter_index to match CPython PR 102360 * fixup - add missing commas to the readme function table * fixup remove 3.6 from tox * seekable: Add relative_seek * Optimize _chunked_even_finite() * Indexing of combinations with replacement * Add notes for transposing empty inputs * Add the polynomial_eval recipe * Add nth_combination_with_replacement * Add sum_of_squares, sync with itertools * Issue #707: fix ``iterate()`` to enable ``func`` to raise StopIteration + 3 unittests * Update polynomial_from roots and convolve * Issue #677: Improve `partition` * Issue #713: Fix `partial_product` (also simplify and clean up) * Issue #711: Optimize `pairwise` * Issue #715: Simplify/optimize `partial_product` * Issue #717: Improve `duplicates_justseen` * Fix unique_in_window to match described behavior * Add polynomial_derivative recipe * Update recipes with CPython PRs: 105403 and 106371
Dominique Leuenberger (dimstar_suse)
accepted
request 1081860
from
Dirk Mueller (dirkmueller)
(revision 23)
Dominique Leuenberger (dimstar_suse)
accepted
request 1069920
from
Dirk Mueller (dirkmueller)
(revision 22)
- update to 9.1.0: * See PR #678 for details.
Dominique Leuenberger (dimstar_suse)
accepted
request 1032501
from
Markéta Machová (mcalabkova)
(revision 21)
Dominique Leuenberger (dimstar_suse)
accepted
request 1004179
from
Dirk Mueller (dirkmueller)
(revision 20)
- update to 8.14.0: * :func:`longest_common_prefix` (thanks to nanouasyn) * :func:`iequals` (thanks to nanouasyn) * `concurrent.futures.ThreadPoolExecutor` is now imported lazily in :func:`callback_iter`. * :func:`tail` is now optimized for iterables with a fixed length. * Some documentation issues were fixed (thanks to pochmann and timgates42) * This library is now marked for Python 3.10 compatibility in PyPI (thanks to chayim)
Dominique Leuenberger (dimstar_suse)
accepted
request 982495
from
Markéta Machová (mcalabkova)
(revision 19)
Dominique Leuenberger (dimstar_suse)
accepted
request 961821
from
Dirk Mueller (dirkmueller)
(revision 18)
- use python_expand for fdupes
Dominique Leuenberger (dimstar_suse)
accepted
request 951389
from
Dirk Mueller (dirkmueller)
(revision 17)
Dominique Leuenberger (dimstar_suse)
accepted
request 925732
from
Dirk Mueller (dirkmueller)
(revision 16)
- update to 8.10.0: * The type stub for :func:`iter_except` was improved (thanks to MarcinKonowalczyk) * Type stubs now ship with the source release (thanks to saaketp) * The Sphinx docs were improved (thanks to MarcinKonowalczyk) * New functions * :func:`interleave_evenly` (thanks to mbugert) * :func:`repeat_each` (thanks to FinalSh4re) * :func:`chunked_even` (thanks to valtron) * :func:`map_if` (thanks to sassbalint) * :func:`zip_broadcast` (thanks to kalekundert) * Changes to existing functions * The type stub for :func:`chunked` was improved (thanks to PhilMacKay) * The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo) * Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)
Dominique Leuenberger (dimstar_suse)
accepted
request 897855
from
Dirk Mueller (dirkmueller)
(revision 15)
- update to 8.8.0: * :func:`countable` (thanks to krzysieq) * :func:`split_before` was updated to handle empy collections (thanks to TiunovNN) * :func:`unique_everseen` got a performance boost (thanks to Numerlor) * The type hint for :func:`value_chain` was corrected (thanks to vr2262) - %check: use %pyunittest rpm macro
Dominique Leuenberger (dimstar_suse)
accepted
request 876826
from
Dirk Mueller (dirkmueller)
(revision 14)
- update to 8.7.0: * New functions * :func:`convolve` * :func:`product_index`, :func:`combination_index`, and :func:`permutation_index` * :func:`value_chain` * Changes to existing functions * :func:`distinct_combinations` now uses a non-recursive algorithm * :func:`pad_none` is now the preferred name for :func:`padnone`, though the latter remains available. * :func:`pairwise` will now use the Python standard library implementation on Python 3.10+ * :func:`sort_together` now accepts a ``key`` argument * :func:`seekable` now has a ``peek`` method, and can indicate whether the iterator it's wrapping is exhausted * :func:`time_limited` can now indicate whether its iterator has expired * The implementation of :func:`unique_everseen` was improved * Other changes: * Various documentation updates
Dominique Leuenberger (dimstar_suse)
accepted
request 856975
from
Dirk Mueller (dirkmueller)
(revision 13)
- update to 8.6.0: * :func:`all_unique` (thanks to brianmaissy) * :func:`nth_product` and :func:`nth_permutation` (thanks to N8Brooks) * :func:`chunked` and :func:`sliced` now accept a ``strict`` parameter (thanks to shlomif and jtwool) * Python 3.5 has reached its end of life and is no longer supported. * Python 3.9 is officially supported.
Dominique Leuenberger (dimstar_suse)
accepted
request 834878
from
Dirk Mueller (dirkmueller)
(revision 12)
- update to 8.5.0: * windowed_complete() (thanks to MarcinKonowalczyk) Changes to existing itertools: * The is_sorted() implementation was improved (thanks to cool-RR) * The groupby_transform() now accepts a reducefunc parameter. * The last() implementation was improved (thanks to brianmaissy) * Various documentation fixes (thanks to craigrosie, samuelstjean, PiCT0) * The tests for distinct_combinations() were improved (thanks to Minabsapi)
Dominique Leuenberger (dimstar_suse)
accepted
request 824641
from
Dirk Mueller (dirkmueller)
(revision 11)
- update to 8.4.0: * New itertools * :func:`mark_ends` (thanks to kalekundert) * :func:`is_sorted` * Changes to existing itertools: * :func:`islice_extended` can now be used with real slices (thanks to cool-RR) * The implementations for :func:`filter_except` and :func:`map_except` were improved (thanks to SergBobrovsky) * Other changes * Automated tests now enforce code style (using `black <https://github.com/psf/black>`__) * The various signatures of :func:`islice_extended` and :func:`numeric_range` now appear in the docs (thanks to dsfulf) * The test configuration for mypy was updated (thanks to blueyed)
Dominique Leuenberger (dimstar_suse)
accepted
request 810900
from
Dirk Mueller (dirkmueller)
(revision 10)
- update to 8.3.0: * New itertools * :func:`zip_equal` (thanks to frankier and alexmojaki) * :func:`split_at`, :func:`split_before`, :func:`split_after`, and :func:`split_when` all got a ``maxsplit`` paramter (thanks to jferard and ilai-deutel) * :func:`split_at` now accepts a ``keep_separator`` parameter (thanks to jferard) * :func:`distinct_permutations` can now generate ``r``-length permutations (thanks to SergBobrovsky and ilai-deutel) * The :func:`windowed` implementation was improved (thanks to SergBobrovsky) * The :func:`spy` implementation was improved (thanks to has2k1) * Type stubs are now tested with ``stubtest`` (thankjs to ilai-deutel) * Tests now run with ``python -m unittest`` instead of ``python setup.py test`` (thanks to jdufresne)
Dominique Leuenberger (dimstar_suse)
accepted
request 780384
from
Dirk Mueller (dirkmueller)
(revision 9)
- update to 8.2.0: * The .pyi files for typing were updated. (thanks to blueyed and ilai-deutel) * :func:`numeric_range` now behaves more like the built-in :func:`range`. (thanks to jferard) * :func:`bucket` now allows for enumerating keys. (thanks to alexchandel) * :func:`sliced` now should now work for numpy arrays. (thanks to sswingle) * :func:`seekable` now has a ``maxlen`` parameter.
Dominique Leuenberger (dimstar_suse)
accepted
request 766375
from
Tomáš Chvátal (scarabeus_iv)
(revision 8)
Displaying revisions 1 - 20 of 27