Our take
- Activity
- 45
- Community
- 43
- Issues
- 21
- Pull requests
- 43
+0 stars in the last 30 days
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
1,115Forks
78Change since Nov 16, 2026: 0 stars·+1 forks
Overview
cytoolz is a Cython implementation of the Python toolz library. It offers functional utilities for iterables, functions, and dictionaries, with an API designed to match toolz while reducing the overhead of pure Python implementations.
It is suited to Python developers processing large or streaming data, and to Cython projects that want access to the library's C API. Its iterator-oriented utilities can help keep memory use low, while the compatible API can make it practical to substitute cytoolz where faster execution matters.
Key Features
- Implements the toolz API in Cython.
- Provides utilities for iterables, functions, and dictionaries.
- Supports iterator-based processing, including use with large or potentially infinite data sets.
- Offers a C API for projects developed in Cython.
- Uses a common codebase for Python 3.9 and newer.
- Supports experimental builds for Python 3.13 free-threading.
Use Cases
- Python developers speeding up utility-heavy data processing that already uses toolz-style functions.
- Data analysis workflows handling large collections or streams where iterator-based processing is useful.
- Cython developers integrating functional utilities through a C API.
- Projects seeking toolz-compatible utilities while retaining the option to use the pure Python
toolzpackage.
Getting Started
Install from PyPI:
pip install cytoolz
See the README and Toolz documentation for API details.
Alternatives
- Toolz: Toolz provides the compatible utilities in pure Python, while cytoolz supplies Cython implementations for faster execution and a C API.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| cytoolz | Python | Other | 1.1k | Not checked yet |
| toolz | Python | Other | 5.2k | Active |
Considerations
- Requires CPython and a C compiler; the project is developed in Cython.
- The README describes speedups as typical rather than guaranteed, so performance should be checked against the needs and workload of your project.
- Free-threading support for Python 3.13 is experimental. The project has not yet been developed or tested for thread safety, so use in free-threaded environments carries risk.
- The supplied license field is
NOASSERTION; check the repository license file before relying on it for licensing decisions.
Found this useful?
Share it with someone who would like cytoolz.