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
Examples
- Todo-Backend (implementation of todobackend.com)
Support
On ko-fi
Development
Requires poetry
- Install dependencies with
poetry install
- Build documentation with
poetry run mkdocs serve
- Run tests with
poetry run tox
- Lint with
poetry run pre-commit --all