Skip to main content

A CLI tool to count unique characters in a text.

Project description

Character Counter CLI

This is a globally installable Python package that provides a command-line interface (CLI) to count unique characters in a given text.

Installation

You can install this package directly from the Python Package Index (PyPI) using pip. You can do this from any folder on your computer:

pip install char-counter-cli-Heorhii-Vapnychnyi

Usage

After a successful installation, the char-counter command will be available globally in your terminal.

1. Process a direct string:

char-counter --string "your text here"

2. Process a text file:

char-counter --file path_to_file.txt

Priority Logic

The --file parameter has a higher priority. If you accidentally pass both parameters at the same time:

char-counter --string "ignored text" --file path_to_file.txt

The application will ignore the string and only process the text from the specified file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

char_counter_cli_heorhii_vapnychnyi-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file char_counter_cli_heorhii_vapnychnyi-0.1.1.tar.gz.

File metadata

File hashes

Hashes for char_counter_cli_heorhii_vapnychnyi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d74d01c1033a595f639a2e96576b18f9500a2dd06463b3ab250d7ea996912cdf
MD5 71ee935e5e648e16d6df63672603909c
BLAKE2b-256 958e662d34e451fbb60f53b4cb23b20e0879bd20cada341293c5648f0f61757d

See more details on using hashes here.

File details

Details for the file char_counter_cli_heorhii_vapnychnyi-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for char_counter_cli_heorhii_vapnychnyi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6f6f7e36aaa4231d0964e4e435b029db5ee2356ca5eae09c1082fc807dd049a
MD5 e77e3de1797d3d2cd30aa8dbbc8c3efa
BLAKE2b-256 d246099cd72b4846459f4f743a63d4ededc4994e09f52245e316015f2b290939

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page