Python with pipes, utils, and pipe utils
Project description
Pipe Utils
Python with pipes, utils, and pipe utils.
Note: pipe-utils is in alpha and significant API changes are expected
from pipe_utils import Pipe
from pipe_utils.iterables import *
words = "I just think pipes are neat"
data = (
Pipe(words)
| str.lower
| str.split
| sorted_by(len)
| group_by(len)
| dict
).get()
print(data)
# {1: ['i'], 3: ['are'], 4: ['just', 'neat'], 5: ['think', 'pipes']}
Install
pip install pipe-utils
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
pipe-utils-0.0.1a2.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for pipe_utils-0.0.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fb7d04aa9463b590fc0a41d92671ad9bfc1a8f8906fbd65293ff8b23a9af116 |
|
MD5 | 439d6075e5a349705a86bb30f8ec06d0 |
|
BLAKE2b-256 | 6e92d0dda97b7626df7f3500ef239e60323bcb1d73bc9e42c52c671077104e86 |