Chaining functions execution made easy
Project description
enpipe: Chaining functions execution made easy
from enpipe import make_pipeline
from math import sqrt
def operation(n1: float, n2: float) -> float:
return n1 + n2
pipeline = make_pipeline(
operation,
lambda n: n**0.5
)
assert pipeline(1, 2) == sqrt(3)
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
enpipe-0.0.2b1.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enpipe-0.0.2b1.tar.gz.
File metadata
- Download URL: enpipe-0.0.2b1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67c30b75278b4f5c562b5a815fff63cfba14c0eb04d555cfc75b6611f1089cda
|
|
| MD5 |
517184824496ea8498c41a514260b462
|
|
| BLAKE2b-256 |
848622b9c45dfcbcbc756a4b1ec96bbf372eeae4cb0d73d7c5b298f33d21b6e1
|
File details
Details for the file enpipe-0.0.2b1-py3-none-any.whl.
File metadata
- Download URL: enpipe-0.0.2b1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
403d34137ab0a2165b4371d5fd4ffc5114ac98e6db57e398960b1da36f79696c
|
|
| MD5 |
95e6a5e3aa7532776e6743e12ec73e6d
|
|
| BLAKE2b-256 |
cf3369edb19f8b634951abb81d34a7f3ec4d231f5c3437dabde138f6b018ee1c
|