pyp3
A minified pyp compatible with python3
Pyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment.
Installation
From PyPI
pip3 install pyp3
From GitHub
pip3 install git+https://github.com/donno2048/pyp3
Usage
Because pyp employs it's own internal piping syntax ("|") similar to unix pipes, complex operations can be proceduralized by feeding the output of one python command to the input of the next.
This greatly simplifies the generation and troubleshooting of multistep operations without the use of temporary variables or nested parentheses. The variable "p" represents each line as a string, while "pp" is entire input as python list
Use it directly
ls | pyp3 "p[0] | pp.sort()" #gives sorted list of first letters of every line
Use it as a python module
ls | python3 -m pyp3 "p.replace('.', ',')" #replaces . with ,
Metadata
Release files for pyp3 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyp3-1.0.0.tar.gz | 20.4 kB | Without provenance | Details for pyp3-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyp3-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pyp3-1.0.0-py3-none-any.whl |
Total release size: 41.1 kB
Release files / pyp3-1.0.0.tar.gz
| Download URL | pyp3-1.0.0.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8517c74d34827e811a921f35ea00b81cc800b676d9c147679e48d673173b81cc
|
|
BLAKE2b-256 checksum How to use checksums |
b0c5edb9ac1830d65d70cc339abfcdb33aee3ad7527b54240bd2121eff254002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / pyp3-1.0.0-py3-none-any.whl
| Download URL | pyp3-1.0.0-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ede6529538b43fd6ab04dac2aefe7c07d56e4758fa863666b78dabcf5720d22
|
|
BLAKE2b-256 checksum How to use checksums |
ed3175576c9d0ed6693cc306c079ed54ca3bc2c8d752c5fcc667a5d2527fc6aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Security for pyp3 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.