---
title: "cytoolz | pypx"
description: "Cython implementation of Toolz: High performance functional utilities"
canonical_url: "https://pypx.app/packages/cytoolz"
meta:
  "og:description": "Cython implementation of Toolz: High performance functional utilities"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_cytoolz%2Cversion_1.2.0%2Csummary_~Q3l0aG9uIGltcGxlbWVudGF0aW9uIG9mIFRvb2x6OiBIaWdoIHBlcmZvcm1hbmNlIGZ1bmN0aW9uYWwgdXRpbGl0aWVz%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9jeXRvb2x6Ig%2Cs_70dNARu-c1BJ6L3G.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "cytoolz 1.2.0"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_cytoolz%2Cversion_1.2.0%2Csummary_~Q3l0aG9uIGltcGxlbWVudGF0aW9uIG9mIFRvb2x6OiBIaWdoIHBlcmZvcm1hbmNlIGZ1bmN0aW9uYWwgdXRpbGl0aWVz%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9jeXRvb2x6Ig%2Cs_70dNARu-c1BJ6L3G.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **cytoolz**

v1.2.0

Cython implementation of Toolz: High performance functional utilities

932 KB Python 3.9+ platform-specificBSD-3-Clause2 deps

[** Diff **](https://pypx.app/packages/cytoolz/diff)

`$ uv add cytoolz`

# CyToolz

Cython implementation of the |literal toolz|\_ [package,](https://pypi.python.org/pypi/toolz/)\_ which provides high performance utility functions for iterables, functions, and dictionaries.

toolz is a pure Python package that borrows heavily from contemporary functional languages. It is designed to interoperate seamlessly with other libraries including itertools, functools, and third party libraries. High performance functional data analysis is possible with builtin types like list and dict, and user-defined data structures; and low memory usage is achieved by using the iterator protocol and returning iterators whenever possible.

cytoolz implements the same API as toolz. The main differences are that cytoolz is faster (typically 2-5x faster with a few spectacular exceptions) and cytoolz offers a C API that is accessible to other projects developed in Cython. Since toolz is able to process very large (potentially infinite) data sets, the performance increase gained by using cytoolz can be significant.

See the PyToolz documentation at https://toolz.readthedocs.io and the full [API Documentation](https://toolz.readthedocs.io/en/latest/api.html)\_ for more details.

*CyToolz has experimental support for Python free-threading introduced in Python 3.13 and provides wheels for free-threaded Python. CyToolz has not yet been developed or tested for thread-safety, so use at your own risk! If you encounter any issues, please* [let us know](https://github.com/pytoolz/cytoolz/issues)\_.

## LICENSE

New BSD. See [License File](https://github.com/pytoolz/cytoolz/blob/master/LICENSE.txt)\_.

## Install

cytoolz is on the Python Package Index (PyPI):

```
pip install cytoolz
```

## Dependencies

cytoolz supports Python 3.9+ with a common codebase. It is developed in Cython, but requires no dependencies other than CPython and a C compiler. Like toolz, it is a light weight dependency.

## Contributions Welcome

toolz (and cytoolz) 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 and encourage users to scrape their util.py files for functions that are broadly useful.

Please take a look at our issue pages for [toolz](https://github.com/pytoolz/toolz/issues)\_ and [cytoolz](https://github.com/pytoolz/cytoolz/issues)\_ for contribution ideas.

## Community

See our [mailing list](https://groups.google.com/forum/#!forum/pytoolz)\_. We're friendly.

## **Details **

<dl>

<dt>Version</dt>
<dd>1.2.0</dd>

<dt>License</dt>
<dd>BSD-3-Clause</dd>

<dt>Python</dt>
<dd>&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>CyToolz contributors</dd></dl>

## **Links**

- [changelog](https://github.com/pytoolz/cytoolz/releases)
- [documentation](https://toolz.readthedocs.io/en/latest/)
- [homepage](https://github.com/pytoolz/cytoolz)
- [repository](https://github.com/pytoolz/cytoolz)
- [View on PyPI](https://pypi.org/project/cytoolz/)

## **Release Cadence **

**1**

releases in the past year

avg 168 days between releases

## **Platforms **

linuxarm64mac-x86mac-armwinmusl

## **Maintainers **

- Erik Welch · [erik.n.welch@gmail.com](mailto:erik.n.welch@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/cytoolz#webpage","@type":"WebPage","description":"Cython implementation of Toolz: High performance functional utilities","name":"cytoolz","url":"https://pypx.app/packages/cytoolz","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/cytoolz"]}]},{"@id":"https://pypx.app/packages/cytoolz#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Cython implementation of Toolz: High performance functional utilities","license":"BSD-3-Clause","name":"cytoolz","softwareVersion":"1.2.0"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
