Skip to main content

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

Development Setup


Publish

Publishing to Pypi

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)

Source distribution for ed-pywc 1.0.0
File Size Uploaded
ed-pywc-1.0.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ed-pywc 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.0

2 release files

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