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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file example_package_shinumerde-2024.2.9.tar.gz.
File metadata
- Download URL: example_package_shinumerde-2024.2.9.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
677bf48db98f21aa2ef777b372109e796d52115978a047d843028c1a6b4b8b7f
|
|
| MD5 |
962a7f0376de0d6d8d3b012677a356fc
|
|
| BLAKE2b-256 |
92a941d5410f066ebfc57f800ca0c3b4381479a415f08a55ece5c1e340fc34a9
|
File details
Details for the file example_package_shinumerde-2024.2.9-py3-none-any.whl.
File metadata
- Download URL: example_package_shinumerde-2024.2.9-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf89bc4b6cd036897be2108ecbc1988d0915658e79dbd47bf9163327c6448100
|
|
| MD5 |
2549ae7eba9a3a72f3ee29786101266f
|
|
| BLAKE2b-256 |
bd727405089c1aecd5de0b61cc663ed7c37f94eb4ed80a97e254cd0712dbbab9
|