Skip to main content

Build Status Version Status

Cython implementation of the toolz package, which provides high performance utility functions for iterables, functions, and dictionaries.

toolz is a pure Python package that borrows heavily from contemporary functional languanges. 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 for more details.

LICENSE

New BSD. See License File.

Install

cytoolz is on the Python Package Index (PyPI):

pip install cytoolz

Dependencies

cytoolz supports Python 3.5+ with a common codebase. It is developed in Cython, but requires no dependecies 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 and cytoolz for contribution ideas.

Community

See our mailing list. We’re friendly.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cytoolz-0.11.2.tar.gz (481.0 kB view details)

Uploaded Source

File details

Details for the file cytoolz-0.11.2.tar.gz.

File metadata

  • Download URL: cytoolz-0.11.2.tar.gz
  • Upload date:
  • Size: 481.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for cytoolz-0.11.2.tar.gz
Algorithm Hash digest
SHA256 ea23663153806edddce7e4153d1d407d62357c05120a4e8485bddf1bd5ab22b4
MD5 eb0277b12da3b874d549e306b1e6abad
BLAKE2b-256 b7a99437d8e6a8ba420cb52832a4895614c61bf574bfb3978d5b0806b8ab95be

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

173 files

1.0.1

100 files

1.0.0

86 files

0.12.3

104 files

0.12.2

93 files

0.12.1

98 files

0.12.0

84 files

This release

0.11.2 This release

1 file

0.11.0

21 files

0.10.1

1 file

0.10.0

1 file

0.9.0.1

1 file

0.9.0

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.1

1 file

0.6.0

1 file

0.5.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page