Skip to main content

Character Counter

This Python application allows you to count the number of unique characters in a provided string or a text file.

Usage

Running the Application

Navigate to the src directory and run the command_line.py script with the desired options:

python command_line.py --string "your_string_here"

or

python command_line.py --file /path/to/your/text_file.txt

Function Details

count_unique_chars(string=None, file_path=None)

Count the number of unique characters in the input string.

Parameters:

  • string (str): The string in which to count unique characters.
  • file_path (str): The path to the input text file.

Returns:

  • int: The count of unique characters in the input string.

Raises:

  • TypeError: If the input is not a string.

Author

Volodymyr Perehuda

Metadata

Release files for char-counter-vp 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for char-counter-vp 0.0.4
File Size Uploaded Provenance Actions
char_counter_vp-0.0.4.tar.gz 29.1 kB Without provenance Details for char_counter_vp-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for char-counter-vp 0.0.4
File Interpreter ABI Platform Actions
char_counter_vp-0.0.4-py3-none-any.whl Python 3 none any Details for char_counter_vp-0.0.4-py3-none-any.whl

Total release size: 56.6 kB

Release files / char_counter_vp-0.0.4.tar.gz

Download URL char_counter_vp-0.0.4.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4fde4c61dad2e4db82c12e33b64709ee62a0afbf4fc3c376fededad5fb07f6f7
BLAKE2b-256 checksum
How to use checksums
aa90cad412e650d78f4fceae31b6a88a8091ccd9e7daec7b1600381931849bef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / char_counter_vp-0.0.4-py3-none-any.whl

Download URL char_counter_vp-0.0.4-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
407282ee13b5d8c7f644d5444db131f11a30719211c5e42d674a0e447c281635
BLAKE2b-256 checksum
How to use checksums
2f27eef809e224d6f4a32ba12c1791951eaf22a0f8ab24342cf81c41cb0f5737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for char-counter-vp 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

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