Metadata-Version: 1.1
Name: serializabledict
Version: 0.0.5
Summary: A simple serializable dict
Home-page: https://github.com/starofrainnight/serializabledict
Author: Hong-She Liang
Author-email: starofrainnight@gmail.com
License: Apache Software License
Description: =================
        Serializable Dict
        =================
        
        
        .. image:: https://img.shields.io/pypi/v/serializabledict.svg
            :target: https://pypi.python.org/pypi/serializabledict
        
        .. image:: https://travis-ci.org/starofrainnight/serializabledict.svg
            :target: https://travis-ci.org/starofrainnight/serializabledict.html
        
        .. image:: https://ci.appveyor.com/api/projects/status/github/starofrainnight/serializabledict?svg=true
            :target: https://ci.appveyor.com/project/starofrainnight/serializabledict
        
        A simple serializable dict
        
        * License: Apache-2.0
        
        Features
        --------
        
        * Save dict data while it's changed in realtime, so data will safety saved to file system if script crashed suddenly.
        * Support context recursively save, data will only be saved during last __exit__.
        
        Usage
        -----
        
        ::
        
            from serializabledict.storage.yamlfilestorage import YamlFileStorage
            from serializabledict import SerializableDict
        
            storage = YamlFileStorage("./test.yml")
            adict = SerializableDict(storage=storage)
        
            # Auto save
            adict.load()
            adict["item"] = 13 # Saved to test.yml automaticly.
        
            # Batch save, saved to test.yml after 'with' finish
            with adict:
                adict["item"] = 14
                adict["item2"] = 15
                adict["item3"] = 16
        
        Credits
        ---------
        
        This package was created with Cookiecutter_ and the `PyPackageTemplate`_ project template.
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        .. _`PyPackageTemplate`: https://github.com/starofrainnight/rtpl-pypackage
        
        
        
        =======
        History
        =======
        
        0.0.5 (2018-07-12)
        ------------------
        
        * Dropped support of python 2.x
        * Refactor setup routines
        
        0.0.4 (2018-06-25)
        ------------------
        
        * First release on PyPI.
        
Keywords: serializabledict,serializabledict
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
