Metadata-Version: 2.1
Name: hash-dict
Version: 0.0.2
Summary: UNKNOWN
Home-page: https://github.com/Cologler/hash-dict-python
Author: Cologler
Author-email: skyoflw@gmail.com
License: MIT License
Description: # hash-dict
        
        ![GitHub](https://img.shields.io/github/license/Cologler/hash-dict-python.svg)
        [![Build Status](https://travis-ci.com/Cologler/hash-dict-python.svg?branch=master)](https://travis-ci.com/Cologler/hash-dict-python)
        [![PyPI](https://img.shields.io/pypi/v/hash-dict.svg)](https://pypi.org/project/hash-dict/)
        
        Allow python dict/set redefine hash and equals operations like csharp.
        
        You are able to create your own comparers.
        
        ## Usage
        
        For example, for str ignore case:
        
        ``` py
        from hash_dict import HashDict, StringComparers
        
        data = HashDict(StringComparers.IgnoreCaseComparer)
        data['a'] = 1
        assert list(data) == ['a']
        assert data['a'] == 1
        assert data['A'] == 1
        ```
        
        ### Unhashable
        
        How about some strange unhashable object?
        
        You can use `AnyComparer` to handle it 👍.
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
