pipe implementation of pythonz
Project description
pythonz_pipe
simple implementation of pipe for pythonz
example
from pythonz_pipe import pipe
print(pipe(5).and_then(range).then_finally(list)) # [0, 1, 2, 3, 4]
print(pipe(5) / range // list) # [0, 1, 2, 3, 4]
f = pipe().and_then(range).and_then(list)
print(f.call(5)) # [0, 1, 2, 3, 4]
print(f(5)) # [0, 1, 2, 3, 4]
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
pythonz_pipe-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file pythonz_pipe-0.1.0.tar.gz
.
File metadata
- Download URL: pythonz_pipe-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.3 CPython/3.12.4 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4701bfc533f37db91aa09a8957f9cc3353b934c5eaa49ca7e2753bb25e39505 |
|
MD5 | b8d4c78b17faacc351d7254e126e7e4e |
|
BLAKE2b-256 | 8917c4205d93f0215cc8e6c35eed81a7efac8be5e1fe60140e36544e91d09c7c |
File details
Details for the file pythonz_pipe-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pythonz_pipe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.3 CPython/3.12.4 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b7a2871f71548a61743a497f8695667680652151dd09336bb48cce90de4a39 |
|
MD5 | 358a60f9c7704de9625cc04c771e4a42 |
|
BLAKE2b-256 | 20ec7f4d40411dada31ac7e9234ca3d9bec050c097d583bd72e329139c74d119 |