Metadata-Version: 2.4
Name: ovcharuk_cacher
Version: 0.1.1
Summary: A module for caching function results that contain unique characters in string.
Author-email: Oleksii Ovcharuk <ovcharuk19951209@gmail.com>
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: license-file

# ovcharuk-cacher

`ovcharuk-cacher` is a Python package that counts the number of **unique characters** in a string or text file.

## Features

- Counts unique characters in a string or file
- Uses' functools.cache to cache reated calls for the same input.
- Provides a command-line interface (CLI).

## Installation

Install packet [PyPi](https://pypi.org/):

# bach
pip install cacher    


How it's work:
- Option 1: Using via CLI:
ovcharuk-cacher-cli --string "aabbcde"

Conclusion:
Number of unique characters occurring only once: 3

Using with file:
ovcharuk-cacher-cli --file path/to/file.txt

- Option 2: Use as a Python module:
python -m ovcharuk_cacher --string "aabbcde"


- Testing:
pytest

