Metadata-Version: 2.1
Name: zipjson
Version: 0.0.1
Summary: A tool to create and read compressed JSON files
Home-page: https://github.com/vguzov/zipjson
Author: Vladimir Guzov
Author-email: guzov.mail@gmail.com
License: UNKNOWN
Description: # zipjson - a simple tool to create and read compressed JSON files
        
        ## Installation
        ```bash
        pip install git+https://github.com/vguzov/zipjson.git
        ```
        
        ## Usage:
        The following code creates a .zip archive with `data.json` file inside it, containing the serialized data, then reads it
        ```python
        import zipjson
        any_jsonable_data = {"something":42}
        file_object = open("test.json.zip", "wb") # Mind the additional 'b' flag
        zipjson.dump(any_jsonable_data, file_object)
        loaded_data = zipjson.load(open("test.json.zip", "rb"))
        print(loaded_data) # {'something': 42}
        ```
        
        In-memory methods `dumps` and `loads` are supported as well
        
Keywords: json,zip
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
