Pipe stdout to python
Project description
pyq
Apply python over stdin, line by line.
Usage examples
echo """1
2
3
4
5
6
7""" | pyq '[e for e in args if e and int(e) >= 5]'
echo """1
2
3
4
not a digit
5
6
7"""| pyq '[e for e in args if e.isdigit()]'
Install
python3 setup.py install
Run
python3 -m pyq
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 python_pyq-0.0.4-py3-none-any.whl.
File metadata
- Download URL: python_pyq-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
659ec5186a3ce3c5e62a3df964776f80c21eb305b331d8fae42bd743f5fdd37c
|
|
| MD5 |
ed5415c6e0fda29c451b8f7cd5036bba
|
|
| BLAKE2b-256 |
de6c3914312dc79bf90cb4dccf75b6532df1d0fcb49150c808aaad9a2f80eee5
|