Skip to main content

A package for counting unique symbols in a string

Project description

Unical Symbol Count Package

This is a Python package for counting unique symbols in a string and processing input from the command line. The package provides a class to count unique symbols and a command-line interface (CLI) to process strings and files.

Features

  • Unique Symbol Count: Count the number of unique symbols in a given string.
  • CLI Interface: Process strings and files from the command line.
  • Error Handling: Provides suggestions for invalid commands based on Levenshtein distance.

Installation

Install package with PIP:

pip install task-5-rakitin-sergey

How to use

You can use the package as a command on the command line:

task_5_Rakitin_Sergey --string "your string" task_5_Rakitin_Sergey --file "path\to\file.txt"

Use as a library import and use the package functions in your Python code:

# Examle:
from task_5_Rakitin_Sergey import UniqueSymbolCounter

counter = UniqueSymbolCounter()
unique_count = counter.count_unique("your_string")
print(f"Unique symbols: {unique_count}")

Link to the package

https://pypi.org/project/task-5-Rakitin-Sergey/

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

task_5_rakitin_sergey-0.0.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

task_5_rakitin_sergey-0.0.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file task_5_rakitin_sergey-0.0.3.tar.gz.

File metadata

  • Download URL: task_5_rakitin_sergey-0.0.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for task_5_rakitin_sergey-0.0.3.tar.gz
Algorithm Hash digest
SHA256 34ec4ae43cc5e816362a0ce01d27e002cd1a703fefbe92a0eff45fa800b3b82f
MD5 367d09a98f0f0dd97fd8787bb9fd13ed
BLAKE2b-256 d80c3854dce8b0687a09087a9947688542af2313a784f4b09d3e82b5cb1610d5

See more details on using hashes here.

File details

Details for the file task_5_rakitin_sergey-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for task_5_rakitin_sergey-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dfe918c31fed6532da9a703eac3dd18e8a4c3cafaf6e27cc4b60a1c786bc2738
MD5 ccbb116efa8489bf2f3cdd21cc13380a
BLAKE2b-256 dd99a64b208a8a8ed7d3deef7d0d12a20f92e801d2cd8897e6b54d6c96df69c4

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