Pfun
Functional, composable, asynchronous, type-safe Python.
- [Documentation](https://pfun.dev) - [Known issues](https://github.com/suned/pfun/issues?q=is%3Aopen+is%3Aissue+label%3Abug) The project is written primarily in Python, distributed under the MIT License license, first published in 2019. Key topics include: async, asyncio, curry, currying, effect-system.
Latest release: 0.13.2
November 20, 2023View Changelog →
<img src="https://raw.githubusercontent.com/suned/pfun/master/logo/pfun_logo.svg?sanitize=true"/> <br> <p align="center">Functional, composable, asynchronous, type-safe Python.</p>
Install
console$ pip install pfun
Or with optional dependencies:
console$ pip install pfun[http,sql]
Resources
Articles
- Purely Functional Python With Static Types
- Be More Lazy, Become More Productive
- Completely Type-Safe Error Handling in Python
- Completely Type-Safe Dependency Injection in Python
- How To Make Functional Programming in Python Go Fast
Examples
- Todo-Backend (implementation of todobackend.com)
Support
On ko-fi
Development
Requires poetry
- Install dependencies with
poetry run task install -E http -E sql - Build documentation with
poetry run task serve-docs - Run tests with
poetry run task test - Lint with
poetry run task lint
Contributors
Showing top 5 contributors by commit count.
This article is auto-generated from suned/pfun via the GitHub API.Last fetched: 6/24/2026
