Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-toolz for openSUSE:Factory checked in at 2022-01-08 23:24:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-toolz (Old) and /work/SRC/openSUSE:Factory/.python-toolz.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-toolz" Sat Jan 8 23:24:13 2022 rev:7 rq:944913 version:0.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-toolz/python-toolz.changes 2021-03-10 08:58:33.578969763 +0100 +++ /work/SRC/openSUSE:Factory/.python-toolz.new.1892/python-toolz.changes 2022-01-08 23:24:51.378292233 +0100 @@ -1,0 +2,6 @@ +Thu Jan 6 15:06:13 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- update to 0.11.2 + * Support Python 3.10 + +------------------------------------------------------------------- Old: ---- toolz-0.11.1.tar.gz New: ---- toolz-0.11.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-toolz.spec ++++++ --- /var/tmp/diff_new_pack.jEGJzt/_old 2022-01-08 23:24:51.778292560 +0100 +++ /var/tmp/diff_new_pack.jEGJzt/_new 2022-01-08 23:24:51.782292563 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-toolz # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %global skip_python2 1 Name: python-toolz -Version: 0.11.1 +Version: 0.11.2 Release: 0 Summary: List processing tools and functional utilities for python License: BSD-3-Clause @@ -56,6 +56,6 @@ %license LICENSE.txt %{python_sitelib}/toolz/ %{python_sitelib}/tlz/ -%{python_sitelib}/toolz-%{version}-py*.egg-info/ +%{python_sitelib}/toolz-%{version}*-info/ %changelog ++++++ toolz-0.11.1.tar.gz -> toolz-0.11.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/AUTHORS.md new/toolz-0.11.2/AUTHORS.md --- old/toolz-0.11.1/AUTHORS.md 1970-01-01 01:00:00.000000000 +0100 +++ new/toolz-0.11.2/AUTHORS.md 2021-11-06 06:07:13.000000000 +0100 @@ -0,0 +1,33 @@ +[Matthew Rocklin](http://matthewrocklin.com) [@mrocklin](http://github.com/mrocklin/) + +[John Jacobsen](http://eigenhombre.com) [@eigenhombre](http://github.com/eigenhombre/) + +Erik Welch [@eriknw](https://github.com/eriknw/) + +John Crichton [@jcrichton](https://github.com/jcrichton/) + +Han Semaj [@microamp](https://github.com/microamp/) + +[Graeme Coupar](https://twitter.com/obmarg) [@obmarg](https://github.com/obmarg/) + +[Leonid Shvechikov](http://brainstorage.me/shvechikov) [@shvechikov](https://github.com/shvechikov) + +Lars Buitinck [@larsmans](http://github.com/larsmans) + +Jos?? Ricardo [@josericardo](https://github.com/josericardo) + +Tom Prince [@tomprince](https://github.com/tomprince) + +Bart van Merri??nboer [@bartvm](https://github.com/bartvm) + +Nikolaos-Digenis Karagiannis [@digenis](https://github.com/digenis/) + +[Antonio Lima](https://twitter.com/themiurgo) [@themiurgo](https://github.com/themiurgo/) + +Joe Jevnik [@llllllllll](https://github.com/llllllllll) + +Rory Kirchner [@roryk](https://github.com/roryk) + +[Steven Cutting](http://steven-cutting.github.io) [@steven_cutting](https://github.com/steven-cutting) + +Aric Coady [@coady](https://github.com/coady) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/PKG-INFO new/toolz-0.11.2/PKG-INFO --- old/toolz-0.11.1/PKG-INFO 2020-09-24 17:50:47.000000000 +0200 +++ new/toolz-0.11.2/PKG-INFO 2021-11-06 06:22:52.936383200 +0100 @@ -1,145 +1,12 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: toolz -Version: 0.11.1 +Version: 0.11.2 Summary: List processing tools and functional utilities Home-page: https://github.com/pytoolz/toolz/ Author: https://raw.github.com/pytoolz/toolz/master/AUTHORS.md Maintainer: Erik Welch Maintainer-email: erik.n.we...@gmail.com License: BSD -Description: Toolz - ===== - - |Build Status| |Coverage Status| |Version Status| - - A set of utility functions for iterators, functions, and dictionaries. - - See the PyToolz documentation at https://toolz.readthedocs.io - - LICENSE - ------- - - New BSD. See `License File <https://github.com/pytoolz/toolz/blob/master/LICENSE.txt>`__. - - Install - ------- - - ``toolz`` is on the Python Package Index (PyPI): - - :: - - pip install toolz - - Structure and Heritage - ---------------------- - - ``toolz`` is implemented in three parts: - - |literal itertoolz|_, for operations on iterables. Examples: ``groupby``, - ``unique``, ``interpose``, - - |literal functoolz|_, for higher-order functions. Examples: ``memoize``, - ``curry``, ``compose``, - - |literal dicttoolz|_, for operations on dictionaries. Examples: ``assoc``, - ``update-in``, ``merge``. - - .. |literal itertoolz| replace:: ``itertoolz`` - .. _literal itertoolz: https://github.com/pytoolz/toolz/blob/master/toolz/itertoolz.py - - .. |literal functoolz| replace:: ``functoolz`` - .. _literal functoolz: https://github.com/pytoolz/toolz/blob/master/toolz/functoolz.py - - .. |literal dicttoolz| replace:: ``dicttoolz`` - .. _literal dicttoolz: https://github.com/pytoolz/toolz/blob/master/toolz/dicttoolz.py - - These functions come from the legacy of functional languages for list - processing. They interoperate well to accomplish common complex tasks. - - Read our `API - Documentation <https://toolz.readthedocs.io/en/latest/api.html>`__ for - more details. - - Example - ------- - - This builds a standard wordcount function from pieces within ``toolz``: - - .. code:: python - - >>> def stem(word): - ... """ Stem word to primitive form """ - ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") - - >>> from toolz import compose, frequencies, partial - >>> from toolz.curried import map - >>> wordcount = compose(frequencies, map(stem), str.split) - - >>> sentence = "This cat jumped over this other cat!" - >>> wordcount(sentence) - {'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1} - - Dependencies - ------------ - - ``toolz`` supports Python 3.5+ with a common codebase. - It is pure Python and requires no dependencies beyond the standard - library. - - It is, in short, a lightweight dependency. - - - CyToolz - ------- - - The ``toolz`` project has been reimplemented in `Cython <http://cython.org>`__. - The ``cytoolz`` project is a drop-in replacement for the Pure Python - implementation. - See `CyToolz GitHub Page <https://github.com/pytoolz/cytoolz/>`__ for more - details. - - See Also - -------- - - - `Underscore.js <https://underscorejs.org/>`__: A similar library for - JavaScript - - `Enumerable <https://ruby-doc.org/core-2.0.0/Enumerable.html>`__: A - similar library for Ruby - - `Clojure <https://clojure.org/>`__: A functional language whose - standard library has several counterparts in ``toolz`` - - `itertools <https://docs.python.org/2/library/itertools.html>`__: The - Python standard library for iterator tools - - `functools <https://docs.python.org/2/library/functools.html>`__: The - Python standard library for function tools - - Contributions Welcome - --------------------- - - ``toolz`` aims to be a repository for utility functions, particularly - those that come from the functional programming and list processing - traditions. We welcome contributions that fall within this scope. - - We also try to keep the API small to keep ``toolz`` manageable. The ideal - contribution is significantly different from existing functions and has - precedent in a few other functional systems. - - Please take a look at our - `issue page <https://github.com/pytoolz/toolz/issues>`__ - for contribution ideas. - - Community - --------- - - See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__. - We're friendly. - - .. |Build Status| image:: https://travis-ci.org/pytoolz/toolz.svg?branch=master - :target: https://travis-ci.org/pytoolz/toolz - .. |Coverage Status| image:: https://coveralls.io/repos/pytoolz/toolz/badge.svg?branch=master - :target: https://coveralls.io/r/pytoolz/toolz - .. |Version Status| image:: https://badge.fury.io/py/toolz.svg - :target: https://badge.fury.io/py/toolz - Keywords: functional utility itertools functools Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -150,6 +17,145 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.5 +License-File: LICENSE.txt +License-File: AUTHORS.md + +Toolz +===== + +|Build Status| |Coverage Status| |Version Status| + +A set of utility functions for iterators, functions, and dictionaries. + +See the PyToolz documentation at https://toolz.readthedocs.io + +LICENSE +------- + +New BSD. See `License File <https://github.com/pytoolz/toolz/blob/master/LICENSE.txt>`__. + +Install +------- + +``toolz`` is on the Python Package Index (PyPI): + +:: + + pip install toolz + +Structure and Heritage +---------------------- + +``toolz`` is implemented in three parts: + +|literal itertoolz|_, for operations on iterables. Examples: ``groupby``, +``unique``, ``interpose``, + +|literal functoolz|_, for higher-order functions. Examples: ``memoize``, +``curry``, ``compose``, + +|literal dicttoolz|_, for operations on dictionaries. Examples: ``assoc``, +``update-in``, ``merge``. + +.. |literal itertoolz| replace:: ``itertoolz`` +.. _literal itertoolz: https://github.com/pytoolz/toolz/blob/master/toolz/itertoolz.py + +.. |literal functoolz| replace:: ``functoolz`` +.. _literal functoolz: https://github.com/pytoolz/toolz/blob/master/toolz/functoolz.py + +.. |literal dicttoolz| replace:: ``dicttoolz`` +.. _literal dicttoolz: https://github.com/pytoolz/toolz/blob/master/toolz/dicttoolz.py + +These functions come from the legacy of functional languages for list +processing. They interoperate well to accomplish common complex tasks. + +Read our `API +Documentation <https://toolz.readthedocs.io/en/latest/api.html>`__ for +more details. + +Example +------- + +This builds a standard wordcount function from pieces within ``toolz``: + +.. code:: python + + >>> def stem(word): + ... """ Stem word to primitive form """ + ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") + + >>> from toolz import compose, frequencies + >>> from toolz.curried import map + >>> wordcount = compose(frequencies, map(stem), str.split) + + >>> sentence = "This cat jumped over this other cat!" + >>> wordcount(sentence) + {'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1} + +Dependencies +------------ + +``toolz`` supports Python 3.5+ with a common codebase. +It is pure Python and requires no dependencies beyond the standard +library. + +It is, in short, a lightweight dependency. + + +CyToolz +------- + +The ``toolz`` project has been reimplemented in `Cython <http://cython.org>`__. +The ``cytoolz`` project is a drop-in replacement for the Pure Python +implementation. +See `CyToolz GitHub Page <https://github.com/pytoolz/cytoolz/>`__ for more +details. + +See Also +-------- + +- `Underscore.js <https://underscorejs.org/>`__: A similar library for + JavaScript +- `Enumerable <https://ruby-doc.org/core-2.0.0/Enumerable.html>`__: A + similar library for Ruby +- `Clojure <https://clojure.org/>`__: A functional language whose + standard library has several counterparts in ``toolz`` +- `itertools <https://docs.python.org/2/library/itertools.html>`__: The + Python standard library for iterator tools +- `functools <https://docs.python.org/2/library/functools.html>`__: The + Python standard library for function tools + +Contributions Welcome +--------------------- + +``toolz`` aims to be a repository for utility functions, particularly +those that come from the functional programming and list processing +traditions. We welcome contributions that fall within this scope. + +We also try to keep the API small to keep ``toolz`` manageable. The ideal +contribution is significantly different from existing functions and has +precedent in a few other functional systems. + +Please take a look at our +`issue page <https://github.com/pytoolz/toolz/issues>`__ +for contribution ideas. + +Community +--------- + +See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__. +We're friendly. + +.. |Build Status| image:: https://github.com/pytoolz/toolz/workflows/Test/badge.svg + :target: https://github.com/pytoolz/toolz/actions +.. |Coverage Status| image:: https://coveralls.io/repos/pytoolz/toolz/badge.svg?branch=master + :target: https://coveralls.io/r/pytoolz/toolz +.. |Version Status| image:: https://badge.fury.io/py/toolz.svg + :target: https://badge.fury.io/py/toolz + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/README.rst new/toolz-0.11.2/README.rst --- old/toolz-0.11.1/README.rst 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/README.rst 2021-11-06 06:07:13.000000000 +0100 @@ -62,7 +62,7 @@ ... """ Stem word to primitive form """ ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") - >>> from toolz import compose, frequencies, partial + >>> from toolz import compose, frequencies >>> from toolz.curried import map >>> wordcount = compose(frequencies, map(stem), str.split) @@ -124,8 +124,8 @@ See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__. We're friendly. -.. |Build Status| image:: https://travis-ci.org/pytoolz/toolz.svg?branch=master - :target: https://travis-ci.org/pytoolz/toolz +.. |Build Status| image:: https://github.com/pytoolz/toolz/workflows/Test/badge.svg + :target: https://github.com/pytoolz/toolz/actions .. |Coverage Status| image:: https://coveralls.io/repos/pytoolz/toolz/badge.svg?branch=master :target: https://coveralls.io/r/pytoolz/toolz .. |Version Status| image:: https://badge.fury.io/py/toolz.svg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/setup.cfg new/toolz-0.11.2/setup.cfg --- old/toolz-0.11.1/setup.cfg 2020-09-24 17:50:47.000000000 +0200 +++ new/toolz-0.11.2/setup.cfg 2021-11-06 06:22:52.937012200 +0100 @@ -1,11 +1,23 @@ [versioneer] -vcs = git +VCS = git style = pep440 versionfile_source = toolz/_version.py versionfile_build = toolz/_version.py tag_prefix = parentdir_prefix = toolz- +[coverage:run] +source = toolz +omit = + toolz/tests/test* + toolz/*/tests/test* + toolz/compatibility.py + toolz/_version.py + +[coverage:report] +exclude_lines = + pragma: no cover + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/setup.py new/toolz-0.11.2/setup.py --- old/toolz-0.11.1/setup.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/setup.py 2021-11-06 06:07:13.000000000 +0100 @@ -32,5 +32,7 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy"]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/_signatures.py new/toolz-0.11.2/toolz/_signatures.py --- old/toolz-0.11.1/toolz/_signatures.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/_signatures.py 2021-11-06 06:07:13.000000000 +0100 @@ -45,6 +45,9 @@ lambda x: None], all=[ lambda iterable: None], + anext=[ + lambda aiterator: None, + lambda aiterator, default: None], any=[ lambda iterable: None], apply=[ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/_version.py new/toolz-0.11.2/toolz/_version.py --- old/toolz-0.11.1/toolz/_version.py 2020-09-24 17:50:47.000000000 +0200 +++ new/toolz-0.11.2/toolz/_version.py 2021-11-06 06:22:52.938442500 +0100 @@ -8,11 +8,11 @@ version_json = ''' { - "date": "2020-09-24T10:39:55-0500", + "date": "2021-11-06T00:07:13-0500", "dirty": false, "error": null, - "full-revisionid": "e9bc1e150b7b1ea1bec300a55382ed564b215f41", - "version": "0.11.1" + "full-revisionid": "294e981edad035a7ac6f0e2b48f1738368fa4b34", + "version": "0.11.2" } ''' # END VERSION_JSON diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/compatibility.py new/toolz-0.11.2/toolz/compatibility.py --- old/toolz-0.11.1/toolz/compatibility.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/compatibility.py 2021-11-06 06:07:13.000000000 +0100 @@ -3,7 +3,7 @@ "needed in Python 3 and has been deprecated. Please " "import these utilities directly from the standard library. " "This module will be removed in a future release.", - category=DeprecationWarning) + category=DeprecationWarning, stacklevel=2) import operator import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/functoolz.py new/toolz-0.11.2/toolz/functoolz.py --- old/toolz-0.11.1/toolz/functoolz.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/functoolz.py 2021-11-06 06:07:13.000000000 +0100 @@ -5,9 +5,12 @@ from importlib import import_module from textwrap import dedent from types import MethodType +import sys from .utils import no_default +PYPY = hasattr(sys, 'pypy_version_info') and sys.version_info[0] > 2 + __all__ = ('identity', 'apply', 'thread_first', 'thread_last', 'memoize', 'compose', 'compose_left', 'pipe', 'complement', 'juxt', 'do', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/tests/test_compatibility.py new/toolz-0.11.2/toolz/tests/test_compatibility.py --- old/toolz-0.11.1/toolz/tests/test_compatibility.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/tests/test_compatibility.py 2021-11-06 06:07:13.000000000 +0100 @@ -1 +1,10 @@ -import toolz.compatibility \ No newline at end of file + +import pytest +import importlib + +def test_compat_warn(): + with pytest.warns(DeprecationWarning): + # something else is importing this, + import toolz.compatibility + # reload to be sure we warn + importlib.reload(toolz.compatibility) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/tests/test_inspect_args.py new/toolz-0.11.2/toolz/tests/test_inspect_args.py --- old/toolz-0.11.1/toolz/tests/test_inspect_args.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/tests/test_inspect_args.py 2021-11-06 06:07:13.000000000 +0100 @@ -386,16 +386,16 @@ mods = [builtins, functools, itertools, operator, toolz, toolz.functoolz, toolz.itertoolz, toolz.dicttoolz, toolz.recipes] - blacklist = set() + denylist = set() - def add_blacklist(mod, attr): + def add_denylist(mod, attr): if hasattr(mod, attr): - blacklist.add(getattr(mod, attr)) + denylist.add(getattr(mod, attr)) - add_blacklist(builtins, 'basestring') - add_blacklist(builtins, 'NoneType') - add_blacklist(builtins, '__metaclass__') - add_blacklist(builtins, 'sequenceiterator') + add_denylist(builtins, 'basestring') + add_denylist(builtins, 'NoneType') + add_denylist(builtins, '__metaclass__') + add_denylist(builtins, 'sequenceiterator') def is_missing(modname, name, func): if name.startswith('_') and not name.startswith('__'): @@ -412,7 +412,7 @@ and func.__module__ is not None and modname in func.__module__ and is_partial_args(func, (), {}) is not True - and func not in blacklist) + and func not in denylist) except AttributeError: return False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz/tests/test_itertoolz.py new/toolz-0.11.2/toolz/tests/test_itertoolz.py --- old/toolz-0.11.1/toolz/tests/test_itertoolz.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/toolz/tests/test_itertoolz.py 2021-11-06 06:07:13.000000000 +0100 @@ -542,8 +542,8 @@ assert rsample1 != rsample2 - assert mk_rsample(object) == mk_rsample(object) - assert mk_rsample(object) != mk_rsample(object()) + assert mk_rsample(hash(object)) == mk_rsample(hash(object)) + assert mk_rsample(hash(object)) != mk_rsample(hash(object())) assert mk_rsample(b"a") == mk_rsample(u"a") assert raises(TypeError, lambda: mk_rsample([])) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz.egg-info/PKG-INFO new/toolz-0.11.2/toolz.egg-info/PKG-INFO --- old/toolz-0.11.1/toolz.egg-info/PKG-INFO 2020-09-24 17:50:47.000000000 +0200 +++ new/toolz-0.11.2/toolz.egg-info/PKG-INFO 2021-11-06 06:22:52.000000000 +0100 @@ -1,145 +1,12 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: toolz -Version: 0.11.1 +Version: 0.11.2 Summary: List processing tools and functional utilities Home-page: https://github.com/pytoolz/toolz/ Author: https://raw.github.com/pytoolz/toolz/master/AUTHORS.md Maintainer: Erik Welch Maintainer-email: erik.n.we...@gmail.com License: BSD -Description: Toolz - ===== - - |Build Status| |Coverage Status| |Version Status| - - A set of utility functions for iterators, functions, and dictionaries. - - See the PyToolz documentation at https://toolz.readthedocs.io - - LICENSE - ------- - - New BSD. See `License File <https://github.com/pytoolz/toolz/blob/master/LICENSE.txt>`__. - - Install - ------- - - ``toolz`` is on the Python Package Index (PyPI): - - :: - - pip install toolz - - Structure and Heritage - ---------------------- - - ``toolz`` is implemented in three parts: - - |literal itertoolz|_, for operations on iterables. Examples: ``groupby``, - ``unique``, ``interpose``, - - |literal functoolz|_, for higher-order functions. Examples: ``memoize``, - ``curry``, ``compose``, - - |literal dicttoolz|_, for operations on dictionaries. Examples: ``assoc``, - ``update-in``, ``merge``. - - .. |literal itertoolz| replace:: ``itertoolz`` - .. _literal itertoolz: https://github.com/pytoolz/toolz/blob/master/toolz/itertoolz.py - - .. |literal functoolz| replace:: ``functoolz`` - .. _literal functoolz: https://github.com/pytoolz/toolz/blob/master/toolz/functoolz.py - - .. |literal dicttoolz| replace:: ``dicttoolz`` - .. _literal dicttoolz: https://github.com/pytoolz/toolz/blob/master/toolz/dicttoolz.py - - These functions come from the legacy of functional languages for list - processing. They interoperate well to accomplish common complex tasks. - - Read our `API - Documentation <https://toolz.readthedocs.io/en/latest/api.html>`__ for - more details. - - Example - ------- - - This builds a standard wordcount function from pieces within ``toolz``: - - .. code:: python - - >>> def stem(word): - ... """ Stem word to primitive form """ - ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") - - >>> from toolz import compose, frequencies, partial - >>> from toolz.curried import map - >>> wordcount = compose(frequencies, map(stem), str.split) - - >>> sentence = "This cat jumped over this other cat!" - >>> wordcount(sentence) - {'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1} - - Dependencies - ------------ - - ``toolz`` supports Python 3.5+ with a common codebase. - It is pure Python and requires no dependencies beyond the standard - library. - - It is, in short, a lightweight dependency. - - - CyToolz - ------- - - The ``toolz`` project has been reimplemented in `Cython <http://cython.org>`__. - The ``cytoolz`` project is a drop-in replacement for the Pure Python - implementation. - See `CyToolz GitHub Page <https://github.com/pytoolz/cytoolz/>`__ for more - details. - - See Also - -------- - - - `Underscore.js <https://underscorejs.org/>`__: A similar library for - JavaScript - - `Enumerable <https://ruby-doc.org/core-2.0.0/Enumerable.html>`__: A - similar library for Ruby - - `Clojure <https://clojure.org/>`__: A functional language whose - standard library has several counterparts in ``toolz`` - - `itertools <https://docs.python.org/2/library/itertools.html>`__: The - Python standard library for iterator tools - - `functools <https://docs.python.org/2/library/functools.html>`__: The - Python standard library for function tools - - Contributions Welcome - --------------------- - - ``toolz`` aims to be a repository for utility functions, particularly - those that come from the functional programming and list processing - traditions. We welcome contributions that fall within this scope. - - We also try to keep the API small to keep ``toolz`` manageable. The ideal - contribution is significantly different from existing functions and has - precedent in a few other functional systems. - - Please take a look at our - `issue page <https://github.com/pytoolz/toolz/issues>`__ - for contribution ideas. - - Community - --------- - - See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__. - We're friendly. - - .. |Build Status| image:: https://travis-ci.org/pytoolz/toolz.svg?branch=master - :target: https://travis-ci.org/pytoolz/toolz - .. |Coverage Status| image:: https://coveralls.io/repos/pytoolz/toolz/badge.svg?branch=master - :target: https://coveralls.io/r/pytoolz/toolz - .. |Version Status| image:: https://badge.fury.io/py/toolz.svg - :target: https://badge.fury.io/py/toolz - Keywords: functional utility itertools functools Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -150,6 +17,145 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.5 +License-File: LICENSE.txt +License-File: AUTHORS.md + +Toolz +===== + +|Build Status| |Coverage Status| |Version Status| + +A set of utility functions for iterators, functions, and dictionaries. + +See the PyToolz documentation at https://toolz.readthedocs.io + +LICENSE +------- + +New BSD. See `License File <https://github.com/pytoolz/toolz/blob/master/LICENSE.txt>`__. + +Install +------- + +``toolz`` is on the Python Package Index (PyPI): + +:: + + pip install toolz + +Structure and Heritage +---------------------- + +``toolz`` is implemented in three parts: + +|literal itertoolz|_, for operations on iterables. Examples: ``groupby``, +``unique``, ``interpose``, + +|literal functoolz|_, for higher-order functions. Examples: ``memoize``, +``curry``, ``compose``, + +|literal dicttoolz|_, for operations on dictionaries. Examples: ``assoc``, +``update-in``, ``merge``. + +.. |literal itertoolz| replace:: ``itertoolz`` +.. _literal itertoolz: https://github.com/pytoolz/toolz/blob/master/toolz/itertoolz.py + +.. |literal functoolz| replace:: ``functoolz`` +.. _literal functoolz: https://github.com/pytoolz/toolz/blob/master/toolz/functoolz.py + +.. |literal dicttoolz| replace:: ``dicttoolz`` +.. _literal dicttoolz: https://github.com/pytoolz/toolz/blob/master/toolz/dicttoolz.py + +These functions come from the legacy of functional languages for list +processing. They interoperate well to accomplish common complex tasks. + +Read our `API +Documentation <https://toolz.readthedocs.io/en/latest/api.html>`__ for +more details. + +Example +------- + +This builds a standard wordcount function from pieces within ``toolz``: + +.. code:: python + + >>> def stem(word): + ... """ Stem word to primitive form """ + ... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"") + + >>> from toolz import compose, frequencies + >>> from toolz.curried import map + >>> wordcount = compose(frequencies, map(stem), str.split) + + >>> sentence = "This cat jumped over this other cat!" + >>> wordcount(sentence) + {'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1} + +Dependencies +------------ + +``toolz`` supports Python 3.5+ with a common codebase. +It is pure Python and requires no dependencies beyond the standard +library. + +It is, in short, a lightweight dependency. + + +CyToolz +------- + +The ``toolz`` project has been reimplemented in `Cython <http://cython.org>`__. +The ``cytoolz`` project is a drop-in replacement for the Pure Python +implementation. +See `CyToolz GitHub Page <https://github.com/pytoolz/cytoolz/>`__ for more +details. + +See Also +-------- + +- `Underscore.js <https://underscorejs.org/>`__: A similar library for + JavaScript +- `Enumerable <https://ruby-doc.org/core-2.0.0/Enumerable.html>`__: A + similar library for Ruby +- `Clojure <https://clojure.org/>`__: A functional language whose + standard library has several counterparts in ``toolz`` +- `itertools <https://docs.python.org/2/library/itertools.html>`__: The + Python standard library for iterator tools +- `functools <https://docs.python.org/2/library/functools.html>`__: The + Python standard library for function tools + +Contributions Welcome +--------------------- + +``toolz`` aims to be a repository for utility functions, particularly +those that come from the functional programming and list processing +traditions. We welcome contributions that fall within this scope. + +We also try to keep the API small to keep ``toolz`` manageable. The ideal +contribution is significantly different from existing functions and has +precedent in a few other functional systems. + +Please take a look at our +`issue page <https://github.com/pytoolz/toolz/issues>`__ +for contribution ideas. + +Community +--------- + +See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__. +We're friendly. + +.. |Build Status| image:: https://github.com/pytoolz/toolz/workflows/Test/badge.svg + :target: https://github.com/pytoolz/toolz/actions +.. |Coverage Status| image:: https://coveralls.io/repos/pytoolz/toolz/badge.svg?branch=master + :target: https://coveralls.io/r/pytoolz/toolz +.. |Version Status| image:: https://badge.fury.io/py/toolz.svg + :target: https://badge.fury.io/py/toolz + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/toolz.egg-info/SOURCES.txt new/toolz-0.11.2/toolz.egg-info/SOURCES.txt --- old/toolz-0.11.1/toolz.egg-info/SOURCES.txt 2020-09-24 17:50:47.000000000 +0200 +++ new/toolz-0.11.2/toolz.egg-info/SOURCES.txt 2021-11-06 06:22:52.000000000 +0100 @@ -1,3 +1,4 @@ +AUTHORS.md LICENSE.txt MANIFEST.in README.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toolz-0.11.1/versioneer.py new/toolz-0.11.2/versioneer.py --- old/toolz-0.11.1/versioneer.py 2020-09-24 17:50:21.000000000 +0200 +++ new/toolz-0.11.2/versioneer.py 2021-11-06 06:07:13.000000000 +0100 @@ -339,9 +339,9 @@ # configparser.NoOptionError (if it lacks "VCS="). See the docstring at # the top of versioneer.py for instructions on writing your setup.cfg . setup_cfg = os.path.join(root, "setup.cfg") - parser = configparser.SafeConfigParser() - with open(setup_cfg, "r") as f: - parser.readfp(f) + parser = configparser.ConfigParser() + + parser.read(setup_cfg) VCS = parser.get("versioneer", "VCS") # mandatory def get(parser, name):