Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: cytoolz
3 Version: 1.1.0
4 Summary: Cython implementation of Toolz: High performance functional utilities
5 Author: CyToolz contributors
6 Author-email: Erik Welch <[email protected]>
7 Maintainer-email: Erik Welch <[email protected]>
8 License-Expression: BSD-3-Clause
9 Project-URL: homepage, https://github.com/pytoolz/cytoolz
10 Project-URL: repository, https://github.com/pytoolz/cytoolz
11 Project-URL: documentation, https://toolz.readthedocs.io/en/latest/
12 Project-URL: changelog, https://github.com/pytoolz/cytoolz/releases
13 Keywords: functional,utility,itertools,functools,iterator,generator,curry,memoize,lazy,streaming,bigdata,cython,toolz,cytoolz
14 Classifier: Development Status :: 5 - Production/Stable
15 Classifier: Intended Audience :: Developers
16 Classifier: Intended Audience :: Education
17 Classifier: Intended Audience :: Science/Research
18 Classifier: Operating System :: OS Independent
19 Classifier: Programming Language :: Cython
20 Classifier: Programming Language :: Python
21 Classifier: Programming Language :: Python :: 3
22 Classifier: Programming Language :: Python :: 3.9
23 Classifier: Programming Language :: Python :: 3.10
24 Classifier: Programming Language :: Python :: 3.11
25 Classifier: Programming Language :: Python :: 3.12
26 Classifier: Programming Language :: Python :: 3.13
27 Classifier: Programming Language :: Python :: 3.14
28 Classifier: Programming Language :: Python :: Implementation :: CPython
29 Classifier: Programming Language :: Python :: Implementation :: PyPy
30 Classifier: Programming Language :: Python :: Free Threading :: 1 - Unstable
31 Classifier: Topic :: Scientific/Engineering
32 Classifier: Topic :: Scientific/Engineering :: Information Analysis
33 Classifier: Topic :: Software Development
34 Classifier: Topic :: Software Development :: Libraries
35 Classifier: Topic :: Software Development :: Libraries :: Python Modules
36 Classifier: Topic :: Utilities
37 Requires-Python: >=3.9
38 Description-Content-Type: text/x-rst
39 License-File: LICENSE.txt
40 Requires-Dist: toolz>=0.8.0
41 Provides-Extra: cython
42 Requires-Dist: cython>=0.29; extra == "cython"
43 Provides-Extra: test
44 Requires-Dist: pytest; extra == "test"
45 Dynamic: license-file
46
47 CyToolz
48 =======
49
50 |Build Status| |Version Status|
51
52 Cython implementation of the
53 |literal toolz|_ `package, <https://pypi.python.org/pypi/toolz/>`__ which
54 provides high performance utility functions for iterables, functions,
55 and dictionaries.
56
57 .. |literal toolz| replace:: ``toolz``
58 .. _literal toolz: https://github.com/pytoolz/toolz
59
60 ``toolz`` is a pure Python package that borrows heavily from contemporary
61 functional languanges. It is designed to interoperate seamlessly with other
62 libraries including ``itertools``, ``functools``, and third party libraries.
63 High performance functional data analysis is possible with builtin types
64 like ``list`` and ``dict``, and user-defined data structures; and low memory
65 usage is achieved by using the iterator protocol and returning iterators
66 whenever possible.
67
68 ``cytoolz`` implements the same API as ``toolz``. The main differences are
69 that ``cytoolz`` is faster (typically 2-5x faster with a few spectacular
70 exceptions) and ``cytoolz`` offers a C API that is accessible to other
71 projects developed in Cython. Since ``toolz`` is able to process very
72 large (potentially infinite) data sets, the performance increase gained by
73 using ``cytoolz`` can be significant.
74
75 See the PyToolz documentation at https://toolz.readthedocs.io and the full
76 `API Documentation <https://toolz.readthedocs.io/en/latest/api.html>`__
77 for more details.
78
79 *CyToolz has experimental support for Python free-threading introduced in
80 Python 3.13 and provides wheels for free-threaded Python. CyToolz has not
81 yet been developed or tested for thread-safety, so use at your own risk!
82 If you encounter any issues, please*
83 `let us know <https://github.com/pytoolz/cytoolz/issues>`__.
84
85 LICENSE
86 -------
87
88 New BSD. See `License File <https://github.com/pytoolz/cytoolz/blob/master/LICENSE.txt>`__.
89
90
91 Install
92 -------
93
94 ``cytoolz`` is on the Python Package Index (PyPI):
95
96 ::
97
98 pip install cytoolz
99
100 Dependencies
101 ------------
102
103 ``cytoolz`` supports Python 3.9+ with a common codebase.
104 It is developed in Cython, but requires no dependecies other than CPython
105 and a C compiler. Like ``toolz``, it is a light weight dependency.
106
107 Contributions Welcome
108 ---------------------
109
110 ``toolz`` (and ``cytoolz``) aims to be a repository for utility functions,
111 particularly those that come from the functional programming and list
112 processing traditions. We welcome contributions that fall within this scope
113 and encourage users to scrape their ``util.py`` files for functions that are
114 broadly useful.
115
116 Please take a look at our issue pages for
117 `toolz <https://github.com/pytoolz/toolz/issues>`__ and
118 `cytoolz <https://github.com/pytoolz/cytoolz/issues>`__
119 for contribution ideas.
120
121 Community
122 ---------
123
124 See our `mailing list <https://groups.google.com/forum/#!forum/pytoolz>`__.
125 We're friendly.
126
127 .. |Build Status| image:: https://github.com/pytoolz/cytoolz/actions/workflows/test.yml/badge.svg?branch=master
128 :target: https://github.com/pytoolz/cytoolz/actions
129 .. |Version Status| image:: https://badge.fury.io/py/cytoolz.svg
130 :target: http://badge.fury.io/py/cytoolz