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.1.tar.gz
(1.2 kB
view details)
Built Distribution
File details
Details for the file pythonz_pipe-0.1.1.tar.gz
.
File metadata
- Download URL: pythonz_pipe-0.1.1.tar.gz
- Upload date:
- Size: 1.2 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 | 96b1dd5fbca1fea4efadd83ef0ab94c185ba8e4ed413c98d057eacdd8d449268 |
|
MD5 | 65d7fbd5f461738f67abc2c8a7f73a88 |
|
BLAKE2b-256 | dba41205770faea8f40998b9ba6173e905c3fccde3822f618e93af11db84f8aa |
File details
Details for the file pythonz_pipe-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pythonz_pipe-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.6 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 | 6437ad2c1b33ed336f8469029e91ada6c7063be7cc28a76dca9e774f0ad11ba5 |
|
MD5 | e6bcd01efe66611ddbe09a32eb572c5f |
|
BLAKE2b-256 | abb83d47a55d0d9e06609e1707e8ec57c8939faa397795d8dfdbb41fe60b0d3a |