Functional, composable, asynchronous, type-safe Python.
Install
$ pip install pfun
Or with optional dependencies:
$ 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