dictim
Case-insensitive dict keys. Like a dict, but keys are case-insensitive.
- Supports unicode
- Supports pydantic (handy for JSON serialization)
Name comes from dict, case-insensitive, mapping.
Usage
pip install dictim
Example
from dictim import dictim
favorites = dictim({"Hamm": "bass", "Skolnick": "guitar", "Björk": "vocal", "MOTÖRHEAD": "band"})
# access values with case insensitivity, including unicode
print(favorites["hamm"]) # bass
print(favorites["skolnick"]) # guitar
print(favorites["björk"]) # vocal
print(favorites["Motörhead"]) # band
Metadata
Release files for dictim 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dictim-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dictim-0.2.3-py3-none-any.whl
| Download URL | dictim-0.2.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c508f3fb3872ac2b372001fa4c3ca2f3cde6f5de6f70c122110f2fdde6ba666
|
|
BLAKE2b-256 checksum How to use checksums |
d57fbe4def45ca044020b9d1de60b97b8bb23048e410b40ddeebef7c3ce8ea5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|