Metadata-Version: 1.1
Name: freezedata
Version: 1.0
Summary: Convert lists to tuples, sets to frozensets, dicts to mappingproxy etc., recursively.
Home-page: UNKNOWN
Author: Terji Petersen
Author-email: terji78@gmail.com
License: UNKNOWN
Description: ==========
        freezedata
        ==========
        
        Convert lists to tuples, sets to frozensets, dicts to mappingproxy etc., recursively.
        
        Example usage:::
        
            import freezedata
        
            data = {'a': [1,2,3], 'b': {1,2,3}, 'c': {1:1, 2:2, 3:3}}
            frozendata = freezedata.freeze_data(data)
            print(frozendata)
            >> {'a': (1, 2, 3), 'b': frozenset({1, 2, 3}), 'c': mappingproxy({1: 1, 2: 2, 3: 3})}
        
        **Notice**: Since a `mappingproxy` is not hashable, frozen data
        structures containing `mappingproxy`s are not hashable either.::
        
            hash(frozendata)
            >> TypeError: unhashable type: 'mappingproxy'
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
