pytoolz/toolz

A functional standard library for Python.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 56 minutes ago
Added to GitGenius on September 13th, 2026
Created on September 13th, 2013
Open Issues & Pull Requests: 138 (+0)
GitHub issues: Enabled
Number of forks: 279
Total Stargazers: 5,155 (+0)
Total Subscribers: 75 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Toolz is a functional standard library for Python that provides utility functions for iterators, functions, and dictionaries.

The library addresses the need for composable, functional programming primitives in Python by organizing utilities into three modules: itertoolz for operations on iterables like groupby and unique, functoolz for higher-order functions like memoize and curry, and dicttoolz for dictionary operations like assoc and merge. These functions draw from the legacy of functional languages for list processing and are designed to interoperate smoothly, allowing developers to build complex operations by combining simpler pieces.

Toolz suits projects where functional composition and iterator manipulation are central to the codebase. It is a pure Python library with no dependencies beyond the standard library, making it a lightweight addition to any project. The tool works well for developers comfortable with functional programming patterns who want to avoid writing boilerplate for common operations on sequences and dictionaries. A Cython-based drop-in replacement called CyToolz is available for performance-critical applications.

The project is alive but inactive, with original maintainers having moved to other work. The team commits to maintaining the library for critical bug fixes, Python version compatibility, and security issues, viewing Toolz as substantially complete. Contributions are accepted but not actively reviewed by maintainers. The project remains highly depended upon and is maintained to stay viable rather than to add significant new functionality.