π»π vwc
Like wc
, but with a live preview output to stderr if itβs a tty.
βΆοΈ installing
$ pipx install vwc # or uvx
$ echo "hey" | vwc -l
1
β To Do
- Detect platform and mirror it
- Integration tests
- Create runner
- Containers
- GNU
- BusyBox
- BSD
- Coverage
- Prove it: merge
.coverage
from containers - Write more tests
- Prove it: merge
- Performance tune
- Evaluate options
numba
- fast on large files
- slower on small ones, even with cache
- bulky af
- difficult to install
Cython
- requires pre-built wheels
- can we execute without compiler?
pypy
- is this still as good as it used to be?
- is it more available?
- Implement one or more of them
- Add to test suite
- Evaluate options
- Record
asciinema
video(s)
π£ Known bugs
- Needs to get text length from a proper API
- BusyBox closes stdin on first ctrl+d, gnu does not
- Performance is terrible since dropping Numba bloat
βοΈ License
WTFP with one additional clause:
- β Donβt blame me