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.4.tar.gz (5.7 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.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: task_5_rakitin_sergey-0.0.4.tar.gz
  • Upload date:
  • Size: 5.7 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.4.tar.gz
Algorithm Hash digest
SHA256 f6b3dcb66075b4c22e80bf1f0e19d60dc49fea8d1433db44742b7bcc5d6e79aa
MD5 d68513b585aab411015b6874a4593719
BLAKE2b-256 33a559921343d04670aacfc8049e15c0c78bee48668d205021679475c54d00c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for task_5_rakitin_sergey-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20484949d21a6f6cdd35144560af1cb97f830949fb90fb8ee05ad2122ea155bd
MD5 80c4ede7d7d63b44d98fa982cc1ea0b0
BLAKE2b-256 31961363cc77d60346c01dfe506e396cf7c5020d11932906ffc1bc13edf61be7

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