Metadata-Version: 2.4
Name: Z0Z_tools
Version: 2.2.0
Summary: Typing, documenting, and improving toolz and cytoolz.
Author-email: Hunter Hogan <HunterHogan@pm.me>
License-Expression: CC-BY-NC-4.0
Project-URL: Donate, https://www.patreon.com/integrated
Project-URL: Homepage, https://github.com/hunterhogan/Z0Z_tools
Project-URL: Issues, https://github.com/hunterhogan/Z0Z_tools/issues
Project-URL: Repository, https://github.com/hunterhogan/Z0Z_tools.git
Keywords: Python,cytoolz,filesystem,functional programming,tools,toolz
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: System :: Filesystems
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typing_extensions>=4.10.0
Provides-Extra: development
Requires-Dist: astToolkit; extra == "development"
Requires-Dist: hunterMakesPy; extra == "development"
Requires-Dist: pytest-cov; extra == "development"
Provides-Extra: testing
Requires-Dist: cython; extra == "testing"
Requires-Dist: pytest; extra == "testing"
Dynamic: license-file

# Z0Z_tools

Temporary home for `humpy_toolz`, `humpy_cytoolz`, and `humpy_tlz` packages while improving them.
The audio processing modules previously in this repository now live in
[`hunterHearsPy`](https://github.com/hunterhogan/hunterHearsPy).

## humpy_toolz

`humpy_toolz` is a typed fork of [`toolz`](https://github.com/pytoolz/toolz). It provides
composable functions for iterators, dictionaries, and function composition with type stubs.

```python
from humpy_toolz import compose_left, curry, merge, pipe

merged = merge({"a": 1}, {"b": 2})
transform = compose_left(lambda x: x + 1, lambda x: x * 2)
result = pipe(3, transform)
```

## humpy_cytoolz

`humpy_cytoolz` is the Cython-accelerated companion package. The core modules
`dicttoolz`, `functoolz`, `itertoolz`, `recipes`, and `utils` are built as extension
modules.

```python
from humpy_cytoolz import curry, groupby, merge
```

## humpy_tlz

`humpy_tlz` mirrors the `humpy_toolz` API and imports from `humpy_cytoolz` when available,
falling back to `humpy_toolz` otherwise.

```python
from humpy_tlz import curry, groupby, pipe
```

## Installation

```bash
pip install Z0Z_tools
```

## My recovery

[![Static Badge](https://img.shields.io/badge/2011_August-Homeless_since-blue?style=flat)](https://HunterThinks.com/support)
[![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC3Gx7kz61009NbhpRtPP7tw)](https://www.youtube.com/@HunterHogan)

[![CC-BY-NC-4.0](https://raw.githubusercontent.com/hunterhogan/Z0Z_tools/refs/heads/main/.github/CC-BY-NC-4.0.png)](https://creativecommons.org/licenses/by-nc/4.0/)
