Metadata-Version: 2.4
Name: case_insensitive_string_set
Version: 0.0.1
Summary: A set class for case-insensitive strings.
Author-email: Rudolf Byker <rudolfbyker@gmail.com>
Project-URL: repository, https://github.com/rudolfbyker/case_insensitive_string_set
Classifier: Programming Language :: Python :: 3
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Case-insensitive string set

A Python package providing a `set` class for case-insensitive strings.

Useful for doing things like `foo in bar` where `bar` is a set of strings and you want the check to be case-insensitive,
but also preserve the original casing of the strings in the set when iterating over it.

## Examples

```doctest
>>> c = CaseInsensitiveStringSet()
>>> c.add("a")
>>> 'a' in c
True
>>> 'A' in c
True
>>> 'b' in c
False
>>> list(c)
['a']
>>> c.add("A")
>>> list(c)
['a']
```
