PYWC
Python implementation of the UNIX wc (Word Count) utility
https://pypi.org/project/ed-pywc/
Installation and Usage
Installation
pip install ed-pywc
Usage
Usage: pywc [OPTIONS] [FILE]
A Python-based version of the UNIX wc command which counts lines, words, and
bytes in a file.
Examples:
pywc --lines sample.txt # Counts lines in sample.txt
pywc --words sample.txt # Counts words in sample.txt
pywc --bytes sample.txt # Counts bytes in sample.txt
pywc sample.txt # Counts lines, words, and bytes in sample.txt
cat sample.txt | pywc # Pipe the output of another command as input
Options:
-l, --lines Count the number of lines in the specified file.
-w, --words Count the number of words in the specified file.
-c, --bytes Count the number of bytes in the specified file.
--help Show this message and exit.
Development Setup
Publish
Metadata
Release files for ed-pywc 1.0.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 | |
|---|---|---|---|
| ed-pywc-1.0.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ed_pywc-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / ed-pywc-1.0.0.tar.gz
| Download URL | ed-pywc-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3362e90f26e4c8f033ef51dc189a7b9581ec732d53990fa9d031c97979711dde
|
|
BLAKE2b-256 checksum How to use checksums |
fd1f878c3401455ac8bb8e6d246a41beedd59e653ce151efc35705754adce8a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / ed_pywc-1.0.0-py3-none-any.whl
| Download URL | ed_pywc-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8b03b59cf534c9f72347a17b1124bd2cd296be41f6a417c3b3c4411be23510e
|
|
BLAKE2b-256 checksum How to use checksums |
9466e60fe5279bc3f60b20161bdc9259041189cb3eeaa42804650ed22f7d6f99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|