Case Insensitive Dictionary
Project description
Case Insensitive Dict
Case Insensitive Dictionary
Install
Install and update using pip.
$ pip install -U case-insensitive-dictionary
Example
>>> from case_insensitive_dict import CaseInsensitiveDict
>>> case_insensitive_dict = CaseInsensitiveDict[str](data={"Aa": "b"})
>>> case_insensitive_dict.get("aa")
'b'
>>> case_insensitive_dict.get("Aa")
'b'
Contributing
Contributions are welcome via pull requests.
First time setup
$ git clone git@github.com:DeveloperRSquared/case-insensitive-dict.git
$ cd case-insensitive-dict
$ poetry install
$ poetry shell
Tools including black, mypy etc. will run automatically if you install pre-commit using the instructions below
$ pre-commit install
$ pre-commit run --all-files
Running tests
$ poetry run pytest
Links
- Source Code: https://github.com/DeveloperRSquared/case-insensitive-dict/
- PyPI Releases: https://pypi.org/project/case-insensitive-dictionary/
- Issue Tracker: https://github.com/DeveloperRSquared/case-insensitive-dict/issues/
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
Built Distribution
Close
Hashes for case-insensitive-dictionary-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3ee3442901514e09d997ed5c7e8230f6e7b8eaceb34ea086fcd00fa2fb10ba |
|
MD5 | da093fd54be2fcd73547051a31bc6023 |
|
BLAKE2b-256 | 2e4078eefc119707088d8881d6bc7f31f3271ae2ad2b7d724d22ad1a220f4ad2 |
Close
Hashes for case_insensitive_dictionary-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f228b72ed49334958866881d0a77605dde0b98de1f7d78ca990869f0969fb06 |
|
MD5 | 0dbf00ccb6e8aca2463d2231739a83de |
|
BLAKE2b-256 | fc6505ba4ace83aef1ac6a5d3d2522cd312506e7212bc3d32b473e48fc1123a4 |