Metadata-Version: 2.4
Name: apfel
Version: 0.3.1
Summary: A Python functional extras library providing a set of quality-of-life utilities.
Author: Yixuan-Wang
Author-email: Yixuan-Wang <tom-yx_wang@outlook.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
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 :: Software Development :: Libraries :: Python Modules
Requires-Dist: typing-extensions>=4.12.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown

<h1 align="center">
    <code>apfel</code>
</h1>
<p align="center">
    <img alt="Supports Python 3.11+" src="https://img.shields.io/badge/python-3.11%2B-blue.svg">
    <img alt="Test Status" src="https://img.shields.io/github/actions/workflow/status/Yixuan-Wang/apfel/test.yaml?branch=main&label=test">
</p>

🍎 A Python Functional Extras Library.

This library provides yet another collection of functional programming utilities for Python, but also comes with other metaprogramming functions.

Some notable mentions:

- [`Maybe`](https://apfel.yixuan-wang.site/main/container/maybe/) and [`Result`](https://apfel.yixuan-wang.site/main/container/result/) containers for easy nullable and error-prone code handling. Numerous Rust APIs are ported to these containers.
- [`Once`](https://apfel.yixuan-wang.site/main/once/) and [`Lazy`](https://apfel.yixuan-wang.site/main/lazy/) primitives for deferred and one-time initialization.
- Utility functions like [`todo`](https://apfel.yixuan-wang.site/main/core/common/#apfel.core.common.todo), [`not_none`](https://apfel.yixuan-wang.site/main/core/common/#apfel.core.common.not_none), etc.

Check out the [documentation](https://apfel.yixuan-wang.site) for more information.
