Metadata-Version: 1.0
Name: SuperHash
Version: 0.2b1
Summary: Hash anything
Home-page: https://github.com/uniphil/SuperHash
Author: Philip Schleihauf
Author-email: uniphil@gmail.com
License: GPLv3
Description: SuperHash
        =========
        
        Hash anything.
        
        ```pycon
        >>> from superhash import superhash
        >>> superhash({'look':'I','m':'hashing','a':'dictionary!'})
        6096922376629631909
        >>> superhash(['nested', ['data', ['structure?', ['no', ['problem!']]]]])
        -1209686700893922918
        >>> class Foo(object): pass
        ... 
        >>> foo = Foo()
        >>> superhash(foo)
        8783925544637
        >>> foo.a = 1
        >>> superhash(foo)
        -3828842421826240771
        ```
        
        Make anything hashable.
        
        
        ```pycon
        >>> from superhash import hashable
        >>> @hashable
        ... class HashDecorated(dict): pass
        ... 
        >>> hash(HashDecorated)
        2503861
        >>> hash(HashDecorated({1:2}))
        3713081631934410656
        ```
        
        ```pycon
        >>> from superhash import hashable
        >>> class HashableDict(hashable(dict)): pass
        ... 
        >>> hash(HashableDict)
        2533830
        >>> hd = HashableDict({1:2})
        >>> hash(hd)
        3713081631934410656
        >>> hd.update({1:3})
        >>> hash(hd)
        3713081631933328131
        ```
        
        ```pycon
        >>> from superhash import hashable
        >>> inline = hashable(dict)({1:2})
        >>> hash(inline)
        3713081631934410656
        ```
        
Platform: UNKNOWN
