Metadata-Version: 2.4
Name: frozencounter
Version: 0.1.0
Summary: Immutable, hashable Counter for Python (inspired by Python Issue #40411)
Project-URL: Homepage, https://github.com/nedlir/frozencounter
Project-URL: Repository, https://github.com/nedlir/frozencounter
Project-URL: Issues, https://github.com/nedlir/frozencounter/issues
Project-URL: Python-Issue-40411, https://bugs.python.org/issue40411
Author-email: nedlir <neliran2@telem.openu.ac.il>
License: MIT
Keywords: collections,counter,frozen,hashable,immutable,multiset
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown

`FrozenCounter` is a lightweight, immutable wrapper around Python's [`collections.Counter`](https://docs.python.org/3/library/collections.html#collections.Counter) that adds hashability. This allows you to use frequency counts as dictionary keys, making it perfect for grouping anagrams, finding duplicate patterns, or any scenario where you need to use counted data as a map key.

This package provides the functionality requested in [Python Issue #40411](https://bugs.python.org/issue40411) and [frozen collection.Counter #84591](https://github.com/python/cpython/issues/84591), which proposed adding a frozen, hashable version of `collections.Counter` to the Python standard library. 

The proposal was postponed as the use cases were considered too specialized for stdlib inclusion. This package makes that functionality available for those who need it.