A case-insensitive ordered dictionary for Python. Version 2.2.0, supports Python >=3.9. Released under Apache 2.0. Maintained with irregular releases.
pip install nocasedictVerified import paths — ran on the pinned version, not inferred.
Create a case-insensitive dictionary and access keys case-insensitively.
Upgrade to 2.x only if using Python >=3.6. Code relying on __dict__ or internal key storage will break.
Use dict.fromkeys and convert: NocaseDict(dict.fromkeys(keys, value)).
Be aware that case-insensitivity only applies within NocaseDict itself, not when comparing to dict.
Ensure you override all relevant methods and call super().__setitem__ with the intended key.
Run: pip install nocasedict
Use: from nocasedict import NocaseDict
Create a new NocaseDict from the frozen one: NocaseDict(frozen_dict)
No dependency data recorded yet.