Functional, composable, asynchronous, type-safe Python.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pfun-0.13.2.tar.gz
.
File metadata
- Download URL: pfun-0.13.2.tar.gz
- Upload date:
- Size: 429.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00392f2298dce0b8736e229d751bd50572a55452fafdf46adea26298bda0e048 |
|
MD5 | ffdde7d58f46e79e55832ee25bbb1ca5 |
|
BLAKE2b-256 | 2d0d073d519fa9c231c21454bcfd15800e9ad672bbd1d2a66b193a8987c4bc46 |
File details
Details for the file pfun-0.13.2-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587936a8b998d20f76b78e9eca48c4da9a275db0f136b390b32bb6e3b200618c |
|
MD5 | 469468a3f9109e7537ca90d59c449413 |
|
BLAKE2b-256 | 0f7f370d59ea5b67fb4d86e9ff88871cc4470aa613ff6a2655c563dec71b6039 |
File details
Details for the file pfun-0.13.2-cp311-cp311-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp311-cp311-macosx_12_0_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61875fd7ce82319a54961350f9e1de3c52462e81b2bcde259d0e46763bea8ab4 |
|
MD5 | dc89960839cf33ff3cef13b46ec89beb |
|
BLAKE2b-256 | 7d02f2685264b88df05c07edbcd4cacc6491a7c27d04db27a937af6bedc434f8 |
File details
Details for the file pfun-0.13.2-cp310-cp310-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp310-cp310-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9183620efcf1944a52cfc832a3e5cc12bf52ee9e883a255fdd5ddfca9278aca8 |
|
MD5 | 3c01c77aacb42db802f4d4f2cb31f9b3 |
|
BLAKE2b-256 | 825bf67b786ec7bc614afd25cc427b3086d9790e1d41b12fc28b1094437c2d35 |
File details
Details for the file pfun-0.13.2-cp310-cp310-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp310-cp310-macosx_12_0_x86_64.whl
- Upload date:
- Size: 786.4 kB
- Tags: CPython 3.10, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655dd1731acfab746853cbfdd0e0119aac097746ef08c4fd883bfaf15bca5796 |
|
MD5 | 9424fbfed1bc543fb7bdc639b617bbef |
|
BLAKE2b-256 | d2cc239e66249e0703eb52018101502e74b7534d55dcb0a777dfffa165a4d042 |
File details
Details for the file pfun-0.13.2-cp39-cp39-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp39-cp39-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccc987e78636dc8ad819be2b6b184da52711268be33c2a9fad1af5499d2a7519 |
|
MD5 | 29e9e13236133d3dcaefe6ada0685057 |
|
BLAKE2b-256 | 7735cbaf462bc6d5f5fe278427b827c9b3e0539b5e9972697d3ddf535b59a796 |
File details
Details for the file pfun-0.13.2-cp39-cp39-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp39-cp39-macosx_12_0_x86_64.whl
- Upload date:
- Size: 787.8 kB
- Tags: CPython 3.9, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02ae9fb5d6c5a1f5c51d22c5b28093e914f9c8924b8b13ba36cc1537fbbad29 |
|
MD5 | cf6c211e48ff94147f2ef2e8e372bfd9 |
|
BLAKE2b-256 | 6327a07a461ddfc2e801ba7cc005667c22e59b41d22761efae79b682c94fc4c9 |
File details
Details for the file pfun-0.13.2-cp38-cp38-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp38-cp38-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0492a4fbae9d7e76169b5de8febb496816bd12930fa1ca37dfe8660c04407af |
|
MD5 | a5f0754e683a5edc09bf8a142446706e |
|
BLAKE2b-256 | 69d9b7df755319f35dae15f72c89e9e0eff4885455094d0f5035a0c2cc5a44b3 |
File details
Details for the file pfun-0.13.2-cp38-cp38-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp38-cp38-macosx_12_0_x86_64.whl
- Upload date:
- Size: 787.5 kB
- Tags: CPython 3.8, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9abb10c7d1fdb6140ac627ad8c0e1ac753f7bb102162e73e9a3fe548c8ed2e4 |
|
MD5 | 58f4b51131b29989ad1b067e4803a42d |
|
BLAKE2b-256 | 74fb820b5c61d4c55ea03ede7825af2cca35ad6d299e527412f6588129a3db57 |
File details
Details for the file pfun-0.13.2-cp37-cp37m-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp37-cp37m-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf55eb3a6497cc2939fdb353d672e88f0b4c6cce2fa5cefe474369131fcbfc1 |
|
MD5 | 9c23c328e0aa4524605e308f23cfb368 |
|
BLAKE2b-256 | f5425dca010684363f8191fafef5f223fa27e5815ccccf175df0cee286db9b58 |
File details
Details for the file pfun-0.13.2-cp37-cp37m-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: pfun-0.13.2-cp37-cp37m-macosx_12_0_x86_64.whl
- Upload date:
- Size: 772.6 kB
- Tags: CPython 3.7m, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84c9ab256dac0988de44c0ae318586d67cc59bff00964f80cac8797dd00dca06 |
|
MD5 | 5fa6165ac3df43678e984eab62e14c26 |
|
BLAKE2b-256 | 1ec8cf4cd20bfa78dfdbbed5dc4e3e90375f8d3ffc178f4c5c73facef1f8a34f |