Metadata-Version: 2.1
Name: dikt
Version: 0.0.4
Summary: Dictionary read on disk
Home-page: https://github.com/kerighan/dikt
Author: Maixent Chenebaux
Author-email: max.chbx@gmail.com
License: UNKNOWN
Description: # Dictionary read on disk
        
        ## Getting Started
        
        These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
        
        
        ### Installing
        
        You can install the method by typing:
        ```
        pip install dikt
        ```
        
        ### Basic usage
        
        ```python
        import dikt
        
        # use any homogeneous dictionary
        mapping = {"key_" + str(i): i for i in range(10000)}
        # dump the dictionary to file
        dikt.dump(mapping, "mapping.dikt")
        # loading object is very fast
        mapping = dikt.load("mapping.dikt")
        # accessing item directly from the disk
        # without loading the whole JSON is ultra fast
        print(mapping["key_752"])
        ```
        
        ## Authors
        
        Maixent Chenebaux
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
