# HellP: Python Hell Pipe Helper
`pip install HellP` then:
Instead of `f(x)` Write `x | p(f)`
Instead of `p(lambda x: x.attr[item])` Write `px.attr[item]`
Instead of
```python
from pathlib import Path
print(' '.join(list(map(str, filter((lambda x: x.is_dir()), Path('/etc').glob('*'))))))
```
Write:
```
from pathlib import Path
from thep import p, px
Path('/etc') | p.filter(px.is_dir) | p.map(str) | p(list) | p(' '.join) | p(print)
```
`pip install HellP` then:
Instead of `f(x)` Write `x | p(f)`
Instead of `p(lambda x: x.attr[item])` Write `px.attr[item]`
Instead of
```python
from pathlib import Path
print(' '.join(list(map(str, filter((lambda x: x.is_dir()), Path('/etc').glob('*'))))))
```
Write:
```
from pathlib import Path
from thep import p, px
Path('/etc') | p.filter(px.is_dir) | p.map(str) | p(list) | p(' '.join) | p(print)
```
Metadata
Release files for hellp 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hellp-0.0.1.tar.gz | 2.6 kB | Details |
Release files / hellp-0.0.1.tar.gz
| Download URL | hellp-0.0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a8ec910d5691dcdd3efb0cc8b6d1a69275791760648e7c34cb9c15f9a09d248
|
|
BLAKE2b-256 checksum How to use checksums |
b5a575c54bf702269fe79ae8dbfb007f31e1de6bec9a9f606aa887da286662b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |