Skip to main content

Character Counter Package

A professional Python CLI tool for counting unique characters in strings and text files. Built with modern standards using src-layout and uv.

Features

  • Flexible Input: Process raw text strings or local files.
  • Priority Rule: If both parameters are provided, --file takes higher priority, and the --string input is ignored.
  • CLI Ready: Once installed, the tool is available as a standalone command.
  • Robustness: Fully covered by unit tests.

Installation

To install the package from the local directory using uv, run:

pip install eliot-char-counter-pkg
uv pip install eliot-char-counter-pkg

Usage

  • After installation, you can use the char-counter command directly from your terminal.

using string

char-counter --string "your string"

using file

char-counter --file path/to/your/file.txt

Priority Logic

The application follows a strict priority rule: if both arguments are provided, the tool will process the file and ignore the string input.

char-counter --file data.txt --string "this text will be ignored"

Help

To see all available options and command descriptions, run:

char-counter --help

Documentation

Technical specifications and design decisions are documented separately in the RFC.md file.

Metadata

Release files for eliot-char-counter-pkg 0.1.2

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

Source distribution (sdist)

Source distribution for eliot-char-counter-pkg 0.1.2
File Size Uploaded Provenance Actions
eliot_char_counter_pkg-0.1.2.tar.gz 28.8 kB Without provenance Details for eliot_char_counter_pkg-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eliot-char-counter-pkg 0.1.2
File Interpreter ABI Platform Actions
eliot_char_counter_pkg-0.1.2-py3-none-any.whl Python 3 none any Details for eliot_char_counter_pkg-0.1.2-py3-none-any.whl

Total release size: 32.2 kB

Release files / eliot_char_counter_pkg-0.1.2.tar.gz

Download URL eliot_char_counter_pkg-0.1.2.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e5dab26e2700ce9b7e6ebf7238c8e86eee0f785dc297551ff083457c74c98c2
BLAKE2b-256 checksum
How to use checksums
5503675ab5212dd6de50c4aa319fbed9feac517971aa93a9ff31e3ae4dbdb977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / eliot_char_counter_pkg-0.1.2-py3-none-any.whl

Download URL eliot_char_counter_pkg-0.1.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0d019c56e52e1a415c7ec2d41d8d22169903726e4417cfc9616de756c103585
BLAKE2b-256 checksum
How to use checksums
ac0e34935f6b9bac0566996600ae7181555b4ec6339680640b476f2641b5359e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for eliot-char-counter-pkg 0.1.2

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.

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