A module for caching function results that contain unique characters in string.
Project description
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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovcharuk_cacher-0.1.1.tar.gz.
File metadata
- Download URL: ovcharuk_cacher-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ac5a3b8be13448f887f0b74905ed092fd90639a22effb8251f509792bbdc027
|
|
| MD5 |
cadd37f772552b2131691aeeb00b43fe
|
|
| BLAKE2b-256 |
afa8f19987bf2d7089885178ca10cabdcdfcd044813f4db42b450bf2c6700111
|
File details
Details for the file ovcharuk_cacher-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ovcharuk_cacher-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d69ddb7a738340dcbfa3f6ebb8aa176bf47510e3252cdd7440294b2708df60c
|
|
| MD5 |
4c21bb231d74b5f40840eeb23f431a34
|
|
| BLAKE2b-256 |
57e20da30e78390414c459d0743ac0e3770a2ce3a5f10667c3a179e9aa53c41c
|