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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eae1cdaf215d438756ddbf0a4f8f2b69f8208fc098b13e2368de771139368a75 |
|
MD5 | 7a2d717f835fc7f152bed17c40834087 |
|
BLAKE2b-256 | d4009e61cd805a39dc81c425a091fa81c973d4459181107af76b5c2e877a8466 |
Close
Hashes for case_insensitive_dictionary-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83aeec2321a7b2f204ff0f7a384925fdc89636cce8894b963fcc9060c55ee698 |
|
MD5 | 0dd62fa0e2b0feebebacae8604656c6c |
|
BLAKE2b-256 | c8bc5a85979f5fe3d7080789cc403e639a638051fa0fc94356dc397759a22873 |