features: ["asciinema"]
🚻👀 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
For faster counting of large streams, install the optional Numba scanner:
pipx install 'vwc[fast]'
The scanner handles line, word, and byte counts in chunks, so progress can appear while a stream contains a very long line. Character and maximum-line-length counts continue through the regular path.
✅ To Do
- Detect platform and mirror it
- Integration tests
- Create runner
- Containers
- GNU
- BusyBox
- BSD
- Coverage
- Prove it: merge
.coveragefrom 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
asciinemavideo(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
Links
Metadata
Release files for vwc 0.1.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 |
|---|---|---|---|---|
| vwc-0.1.0.tar.gz | 13.4 kB | Without provenance | Details for vwc-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vwc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vwc-0.1.0-py3-none-any.whl |
Total release size: 30.1 kB
Release files / vwc-0.1.0.tar.gz
| Download URL | vwc-0.1.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
325cb9a6e67e65f2fd9c4b5f94179743289585e539a984a8f3dbc265d2bd45c8
|
|
BLAKE2b-256 checksum How to use checksums |
f3e2c34d31f2eb3d221b2905c86a2aad04fd15ab4b1c7bc0f2b484660f20105c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / vwc-0.1.0-py3-none-any.whl
| Download URL | vwc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13b72d00c6ee98f71fd279842b0c6c4915df1e1a97f4d11c29b390a9d49cdd31
|
|
BLAKE2b-256 checksum How to use checksums |
e7e755bacad282eaa260591bac4ab15ee1aca703c7f1c424c9b4be90dc65b537
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Security for vwc 0.1.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.