first commit

This commit is contained in:
Ayxan
2022-05-23 00:16:32 +04:00
commit d660f2a4ca
24786 changed files with 4428337 additions and 0 deletions

View File

@@ -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)

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,28 @@
Copyright (c) 2013 Matthew Rocklin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
a. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
b. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
c. Neither the name of toolz nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

View File

@@ -0,0 +1,161 @@
Metadata-Version: 2.1
Name: toolz
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.welch@gmail.com
License: BSD
Keywords: functional utility itertools functools
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
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

View File

@@ -0,0 +1,65 @@
tlz/__init__.py,sha256=KH1pMvZOKkVJ_WAPX6vZUsC0KGKxGQBzxumWCzgvKSU,338
tlz/__pycache__/__init__.cpython-310.pyc,,
tlz/__pycache__/_build_tlz.cpython-310.pyc,,
tlz/_build_tlz.py,sha256=DpvSM5YpohuiZ2T4tcT6njBOJN0j1hy7IXHBGGYQFig,3412
toolz-0.11.2.dist-info/AUTHORS.md,sha256=0aTPbfxkAVlbcP3TN0e8PM_5gTQeeaviWCkhFZBOU0c,1561
toolz-0.11.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
toolz-0.11.2.dist-info/LICENSE.txt,sha256=BTZkBXspWy8MEzIpGncQLwGgmdh5JuRJ4IoRfuqWYL8,1492
toolz-0.11.2.dist-info/METADATA,sha256=oe2RtHqrhwDqIIB4AcZwZfr9KKE7-edsK7M0urdD8qg,5149
toolz-0.11.2.dist-info/RECORD,,
toolz-0.11.2.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
toolz-0.11.2.dist-info/top_level.txt,sha256=oesCzopYB9UXPR4nDzhYaf-TbpkQoR6gYSsXvZDgk3s,10
toolz/__init__.py,sha256=9c9B1vNRz_0LO4-t3tTDEnZGNBTYsLevrc9ELtaxPpw,381
toolz/__pycache__/__init__.cpython-310.pyc,,
toolz/__pycache__/_signatures.cpython-310.pyc,,
toolz/__pycache__/_version.cpython-310.pyc,,
toolz/__pycache__/compatibility.cpython-310.pyc,,
toolz/__pycache__/dicttoolz.cpython-310.pyc,,
toolz/__pycache__/functoolz.cpython-310.pyc,,
toolz/__pycache__/itertoolz.cpython-310.pyc,,
toolz/__pycache__/recipes.cpython-310.pyc,,
toolz/__pycache__/utils.cpython-310.pyc,,
toolz/_signatures.py,sha256=800rPZ7TOWEFcRp2AxczTepkpRv0usAayDJMhoakJwQ,20542
toolz/_version.py,sha256=i1MpSXJaASkhca9G5CbUT7AuCB9ZnSw-mk907aYI4Cw,498
toolz/compatibility.py,sha256=giOYcwv1TaOWDfB-C2JP2pFIJ5YZX9aP1s4UPzCQnw4,997
toolz/curried/__init__.py,sha256=U_d0nFlOWYN1DJc5n5J2rToauHU7QEe45CME1jRLT1Y,2700
toolz/curried/__pycache__/__init__.cpython-310.pyc,,
toolz/curried/__pycache__/exceptions.cpython-310.pyc,,
toolz/curried/__pycache__/operator.cpython-310.pyc,,
toolz/curried/exceptions.py,sha256=31Q9I-Ro-IMA3eRuDC5wSQXQBYlpdxonnJr4Fp0hquI,337
toolz/curried/operator.py,sha256=7aScYNbUsjJUfDebdnzwTZzPib-MtmouEuDTIgbMMV8,490
toolz/dicttoolz.py,sha256=WKfRm6G8QdE_8o9dbjk7Wi_p0Zny1LaVe8Ze5OIWS5g,8926
toolz/functoolz.py,sha256=QrvfUWPNRJjMgwrPtgBvjyPhlff7MJIG0mD1eaybkzk,29822
toolz/itertoolz.py,sha256=8jYIDwXjv2gz1_3rN8Rvid-byGuyYgOYwjv4LJ2RLVo,27608
toolz/recipes.py,sha256=r_j701Ug2_oO4bHunoy1xizk0N-m9QBwObyCITJuF0I,1256
toolz/sandbox/__init__.py,sha256=ysAYIaGROpbNy2-lYEeiVflJCqEOX9MWIHAIR9Bc6AA,68
toolz/sandbox/__pycache__/__init__.cpython-310.pyc,,
toolz/sandbox/__pycache__/core.cpython-310.pyc,,
toolz/sandbox/__pycache__/parallel.cpython-310.pyc,,
toolz/sandbox/core.py,sha256=bqYZXfj4O1TNePCPErq1mzFCzc_-iOxBs28SkQ_y0vs,4336
toolz/sandbox/parallel.py,sha256=5c_as0NHs85os9lTej9QIUCMC5MWlSXvmQYFl9uBb7E,2787
toolz/tests/__pycache__/test_compatibility.cpython-310.pyc,,
toolz/tests/__pycache__/test_curried.cpython-310.pyc,,
toolz/tests/__pycache__/test_curried_doctests.cpython-310.pyc,,
toolz/tests/__pycache__/test_dicttoolz.cpython-310.pyc,,
toolz/tests/__pycache__/test_functoolz.cpython-310.pyc,,
toolz/tests/__pycache__/test_inspect_args.cpython-310.pyc,,
toolz/tests/__pycache__/test_itertoolz.cpython-310.pyc,,
toolz/tests/__pycache__/test_recipes.cpython-310.pyc,,
toolz/tests/__pycache__/test_serialization.cpython-310.pyc,,
toolz/tests/__pycache__/test_signatures.cpython-310.pyc,,
toolz/tests/__pycache__/test_tlz.cpython-310.pyc,,
toolz/tests/__pycache__/test_utils.cpython-310.pyc,,
toolz/tests/test_compatibility.py,sha256=Xbgk60ow92Oqbpmhspwy72T9YpUad_tu55Hj-4o9le4,261
toolz/tests/test_curried.py,sha256=AhYI4x89LRip-JEd9kwDGr9gb8a5KLapNO8MB0RjZiU,3647
toolz/tests/test_curried_doctests.py,sha256=9p_RwDKeG_8EXUoqKFAJ-zyp4KHp2w3lLFxOB5XXqww,274
toolz/tests/test_dicttoolz.py,sha256=7RVKgjun-OY9-FeQR9T1xJwM03wfedVYu6SHCsWwMZ0,9070
toolz/tests/test_functoolz.py,sha256=qvtpQyoeV8ZpVY0bBbXshsrhXd9EQ0Dk2E5Yy4QE8KY,20205
toolz/tests/test_inspect_args.py,sha256=pXzo8tHtGWa4TJKWqpv7TUsGo1LJiWDCCCupP8rp-mo,15960
toolz/tests/test_itertoolz.py,sha256=gsL7M9lZGTUU2M0ZtZ-M91WToJQSnXmOR3rkiT5TQ4k,18181
toolz/tests/test_recipes.py,sha256=hZ_nuGAOIafJrJwnnj9-JZnaRq9srIXyPQyzBdNS1FQ,820
toolz/tests/test_serialization.py,sha256=wsvAClD4eOxQdt_CWx2et_dD0Zy24iQypzDfTZiwnf0,5791
toolz/tests/test_signatures.py,sha256=X8K_rXS1OXI22yscj3zUhWxWWTVII5Cf2RJyXfh_2HA,2873
toolz/tests/test_tlz.py,sha256=LS5ICqieRLkjAUP-C5TjdVeld6S9OLXTYGgH85fYkWw,1593
toolz/tests/test_utils.py,sha256=2LIhS_9xXeAE1_onN868gZeAN8E3jTXtpnYF0W-L2OE,156
toolz/utils.py,sha256=JLlXt8x_JqSVevmLZPnt5bZJsdKMBJgJb5IwlcfOnsc,139

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.37.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,2 @@
tlz
toolz