Metadata-Version: 2.1
Name: caseless
Version: 0.5.0
Summary: A typed dictionary in Python with case-insensitive keys
Home-page: https://github.com/clintval/caseless
License: MIT
Keywords: caseless,case-insensitive,dictionary,python
Author: Clint Valentine
Author-email: valentine.clint@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 2 - Pre-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
Project-URL: Bug Tracker, https://github.com/clintval/caseless/issues
Project-URL: Documentation, https://github.com/clintval/caseless
Project-URL: Repository, https://github.com/clintval/caseless
Description-Content-Type: text/markdown

# caseless

[![CI](https://github.com/clintval/caseless/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/clintval/caseless/actions/workflows/test.yml)
[![PyPi Release](https://badge.fury.io/py/caseless.svg)](https://badge.fury.io/py/caseless)
[![Python Versions](https://img.shields.io/pypi/pyversions/caseless.svg)](https://pypi.python.org/pypi/caseless/)
[![MyPy Checked](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

A typed dictionary in Python with case-insensitive keys.

```console
pip install caseless
```

![Guitar Lake, California](https://github.com/clintval/caseless/raw/82ec043f64a2b887ecb5233e5a43e2a2e2950b6e/.github/img/cover.jpg)

```python
from caseless import CaselessDict

CaselessDict({"lower": "UPPER"})["LOWER"] == "UPPER"
CaselessDict({"lower": "UPPER"}).get("LOWER") == "UPPER"
CaselessDict({"lower": "value"}) == CaselessDict({"LOWER": "value"})
```

