Skip to main content

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

Release files for python-pyq 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for python-pyq 0.0.4
File Interpreter ABI Platform
python_pyq-0.0.4-py3-none-any.whl Python 3 none any Details

Release files / python_pyq-0.0.4-py3-none-any.whl

Download URL python_pyq-0.0.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
659ec5186a3ce3c5e62a3df964776f80c21eb305b331d8fae42bd743f5fdd37c
BLAKE2b-256 checksum
How to use checksums
de6c3914312dc79bf90cb4dccf75b6532df1d0fcb49150c808aaad9a2f80eee5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page