semvec/pypi-packages huggingface dataset:
python-pyq 0.0.4
Pipe stdout to python
License: MIT

# 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
```