Metadata-Version: 1.1
Name: PREFS
Version: 0.0.46
Summary: A simple program that creates, read and write prefs
Home-page: UNKNOWN
Author: Cristobal Riaga
Author-email: cristobalriaga@gmail.com
License: MIT
Description: Why?
        
        PREFS's purpose is to facilitate the process of store information, like prefs or user information (that don't will lost when program ends).
        -------------------------------------------------------------------------------------------------------------------------------------------
        Store Prefs:
        
        The main (and unique) feature is store prefs, read them and also (re)write.
        It creates a .txt file where, like dictionary structure, your prefs will be stored, like this:
        firstEntry="02/05/2021"
        theme="Dark"
        username="Patitotective"
        age="21"
        -------------------------------------------------------------------------------------------------------------------------------------------
        Syntaxis:
        
        First you have to create an instance of the class PREFS:
        UserPrefs = PREFS.PREFS(prefs = {"age": 21, "username": "Patitotective"})
        
        from this you could call the two methods:
        ReadPrefs(): It will return a dictionarie with your prefs (key and value).
        WritePrefs(): It requires two arguments, first the name of the pref that you want to change (if pref exists) or create it doesn't (like a dictionarie).
        -------------------------------------------------------------------------------------------------------------------------------------------
        Installation:
        
        pip3 install PREFS
        -------------------------------------------------------------------------------------------------------------------------------------------
        Complete Documentation:
        
        https://prefs.readthedocs.io/en/latest/
        
        Change Log
        ==========
        
        0.001 (01/05/2021)
        -------------------
        - First Release
        
        0.002 (01/05/2021)
        -------------------
        - Name change
        
        0.003 (02/05/2021)
        -------------------
        - Added python interpreter for pref values (using ast library)
        
        0.004 (02/05/2021)
        -------------------
        - Now in class PREFS argument prefs you must pass a lambda: function for not execute the function always, only when file is lost.
        
        0.0045 (02/05/2021)
        -------------------
        - Fixed error with lambda.
        
        0.0046 (04/05/2021)
        -------------------
        - Now you can choose your prefs ender, line break is predetermined, remember don't put a character that is on your prefs because program fails.
Keywords: prefs
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
