PYWC
====
Python implementation of the UNIX wc (Word Count) utility
https://pypi.org/project/ed-pywc/
---
## Installation and Usage
Installation
```shell
pip install ed-pywc
```
Usage
```shell
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](docs/development_setup.md)
---
## Publish
[Publishing to Pypi](docs/publishing_to_pypi.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/edjchapman/pywc",
"name": "ed-pywc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "cli tool wc word count",
"author": "Ed Chapman",
"author_email": "ed@edchapman.co.uk",
"download_url": "https://files.pythonhosted.org/packages/fd/1f/878c3401455ac8bb8e6d246a41beedd59e653ce151efc35705754adce8a1/ed-pywc-1.0.0.tar.gz",
"platform": null,
"description": "PYWC\n====\n\nPython implementation of the UNIX wc (Word Count) utility\n\nhttps://pypi.org/project/ed-pywc/\n\n---\n\n## Installation and Usage\n\nInstallation\n```shell\npip install ed-pywc\n```\n\nUsage\n```shell\nUsage: pywc [OPTIONS] [FILE]\n\n A Python-based version of the UNIX wc command which counts lines, words, and\n bytes in a file.\n\n Examples:\n pywc --lines sample.txt # Counts lines in sample.txt\n pywc --words sample.txt # Counts words in sample.txt\n pywc --bytes sample.txt # Counts bytes in sample.txt\n pywc sample.txt # Counts lines, words, and bytes in sample.txt\n cat sample.txt | pywc # Pipe the output of another command as input\n\nOptions:\n -l, --lines Count the number of lines in the specified file.\n -w, --words Count the number of words in the specified file.\n -c, --bytes Count the number of bytes in the specified file.\n --help Show this message and exit.\n\n```\n\n---\n\n## Development Setup\n[Development Setup](docs/development_setup.md)\n\n---\n\n## Publish\n[Publishing to Pypi](docs/publishing_to_pypi.md)\n",
"bugtrack_url": null,
"license": "",
"summary": "Python implementation of the UNIX wc (Word Count) utility",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/edjchapman/pywc"
},
"split_keywords": [
"cli",
"tool",
"wc",
"word",
"count"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9466e60fe5279bc3f60b20161bdc9259041189cb3eeaa42804650ed22f7d6f99",
"md5": "f1b8e7daeb2a0ebc4408850659fcbc67",
"sha256": "c8b03b59cf534c9f72347a17b1124bd2cd296be41f6a417c3b3c4411be23510e"
},
"downloads": -1,
"filename": "ed_pywc-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1b8e7daeb2a0ebc4408850659fcbc67",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4016,
"upload_time": "2023-10-19T01:32:49",
"upload_time_iso_8601": "2023-10-19T01:32:49.798282Z",
"url": "https://files.pythonhosted.org/packages/94/66/e60fe5279bc3f60b20161bdc9259041189cb3eeaa42804650ed22f7d6f99/ed_pywc-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd1f878c3401455ac8bb8e6d246a41beedd59e653ce151efc35705754adce8a1",
"md5": "cf95d6c4d3244059d51ff6102ec1b7e6",
"sha256": "3362e90f26e4c8f033ef51dc189a7b9581ec732d53990fa9d031c97979711dde"
},
"downloads": -1,
"filename": "ed-pywc-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "cf95d6c4d3244059d51ff6102ec1b7e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4333,
"upload_time": "2023-10-19T01:32:50",
"upload_time_iso_8601": "2023-10-19T01:32:50.912049Z",
"url": "https://files.pythonhosted.org/packages/fd/1f/878c3401455ac8bb8e6d246a41beedd59e653ce151efc35705754adce8a1/ed-pywc-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-19 01:32:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "edjchapman",
"github_project": "pywc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "ed-pywc"
}