Skip to main content

A small example package

Project description

CLI char counter

CharCounter is a command-line tool that counts the number of unique characters in a given string or a file containing a sequence of characters.

Usage

To use CharCounter, follow the instructions below:

Installation

  • Download package from PyPi by following command:

pip install example-package-shinumerde==2024.2.9

Make sure you have Python installed on your machine.

Running the Application:

  • Navigate to the app directory:

cd app

  • Run the application using the following command:

python prog.py --string "your_sequence_here"

for a string sequence or the command below for proccessing sequence from a file

python prog.py --file path/to/your/file.txt

  • Replace "your_sequence_here" with the actual string you want to analyze or provide the path to a file containing the sequence.

Options

  • --string: Input a string for counting unique characters.
  • --file: Input a file with a sequence for counting unique characters.

Example

python char_counter.py --string "abbccd"

This will output:

2

which represents the number of unique characters in the given string.

License

This project is licensed under the GNU Public License - see the LICENSE file for details.

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

example_package_shinumerde-2024.2.9.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

example_package_shinumerde-2024.2.9-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file example_package_shinumerde-2024.2.9.tar.gz.

File metadata

File hashes

Hashes for example_package_shinumerde-2024.2.9.tar.gz
Algorithm Hash digest
SHA256 677bf48db98f21aa2ef777b372109e796d52115978a047d843028c1a6b4b8b7f
MD5 962a7f0376de0d6d8d3b012677a356fc
BLAKE2b-256 92a941d5410f066ebfc57f800ca0c3b4381479a415f08a55ece5c1e340fc34a9

See more details on using hashes here.

File details

Details for the file example_package_shinumerde-2024.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for example_package_shinumerde-2024.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cf89bc4b6cd036897be2108ecbc1988d0915658e79dbd47bf9163327c6448100
MD5 2549ae7eba9a3a72f3ee29786101266f
BLAKE2b-256 bd727405089c1aecd5de0b61cc663ed7c37f94eb4ed80a97e254cd0712dbbab9

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