Pipe remedy
Project description
Prem
Pipe remedy: CLI-like utils in Python.
# before
import pathlib, re
"".join(
line.replace("h", "H")
for filename in pathlib.Path().glob("*.md")
for line in filename.read_text().splitlines(keepends=True)
if re.search("hello", line)
)
# after
from prem import ls, xargs, cat, grep, sed
str(ls("*.md") | xargs(cat) | grep("hello") | sed("s/h/H/g"))
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
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 prem-0.1.0.tar.gz.
File metadata
- Download URL: prem-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb7891a7bfb47c16b8d9470667df31eccaeb551125716654a119c40e6801b9c8
|
|
| MD5 |
43698696c5717e6de4daf2d866a812ce
|
|
| BLAKE2b-256 |
f1abf39f6fd9b461babdcbd21e70c032b18f1ee27487a304273bf76e67204dbc
|
Provenance
The following attestation bundles were made for prem-0.1.0.tar.gz:
Publisher:
test.yml on casperdcl/prem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prem-0.1.0.tar.gz -
Subject digest:
cb7891a7bfb47c16b8d9470667df31eccaeb551125716654a119c40e6801b9c8 - Sigstore transparency entry: 512441276
- Sigstore integration time:
-
Permalink:
casperdcl/prem@dbebe3a1bbed8c86424aa7dd71bcb6c58f43860b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/casperdcl
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@dbebe3a1bbed8c86424aa7dd71bcb6c58f43860b -
Trigger Event:
push
-
Statement type:
File details
Details for the file prem-0.1.0-py3-none-any.whl.
File metadata
- Download URL: prem-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cb09c5ce86f39749a7dfb7e8d9c05873b80fce68314d1b80a828add0d6537e1
|
|
| MD5 |
ed7e01200b6982e3f8b4aa5b22b2ed6a
|
|
| BLAKE2b-256 |
b84f6fd3280aa01a5cb1e90302af65c84ec7a2295911e7f994e36336508dcf81
|
Provenance
The following attestation bundles were made for prem-0.1.0-py3-none-any.whl:
Publisher:
test.yml on casperdcl/prem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prem-0.1.0-py3-none-any.whl -
Subject digest:
9cb09c5ce86f39749a7dfb7e8d9c05873b80fce68314d1b80a828add0d6537e1 - Sigstore transparency entry: 512441258
- Sigstore integration time:
-
Permalink:
casperdcl/prem@dbebe3a1bbed8c86424aa7dd71bcb6c58f43860b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/casperdcl
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@dbebe3a1bbed8c86424aa7dd71bcb6c58f43860b -
Trigger Event:
push
-
Statement type: