Skip to main content

A typed dictionary in Python with case-insensitive keys

Project description

caseless

CI PyPi Release Python Versions MyPy Checked Ruff

A typed dictionary in Python with case-insensitive keys.

pip install caseless

Guitar Lake, California

from caseless import CaselessDict

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caseless-0.5.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

caseless-0.5.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page