Metadata-Version: 1.1
Name: mblibs
Version: 1.0.12
Summary: Fast tools for programming
Home-page: https://github.com/mickbad/mblibs
Author: MickBad
Author-email: prog@mickbad.com
License: MIT
Description: # mblibs
        
        Fast tools for programming
        
        installation
        ```bash
        $ pip install mblibs
        ```
        
        Usage for settings
        ```python
        # Using settings
        from mblibs.fast import FastSettings
        
        settings = FastSettings("/path/to/yaml_or_json")
        value = settings.get("/path/to/key", "default_value")
        integer = settings.getInt("/path/to/keyInt", 12)
        
        # => 18/07/2018
        date = settings.getWithDateFormat("/path/to/current_date", "{dd}/{mm}/{yyyy}")
        
        # => 19/07/2018
        date = settings.getWithDateFormat("/path/to/tomorrow_date"
                        "{tomorrow_dd}/{tomorrow_mm}/{tomorrow_yyyy}")
        
        # => 17/07/2018
        date = settings.getWithDateFormat("/path/to/yesterday_date", 
                        "{yesterday_dd}/{yesterday_mm}/{yesterday_yyyy}")
        
        # sample
        {'data': [{'ident': 'name1', 'rows': [{'key': 1}, {'key': 2}]},
                  {'ident': 'name2', 'rows': [{'key': 3}, {'key': 4}]}]}
        settings.get("/data[1]/rows[0]/key") => 3
        settings.get("/data[0]/rows") => [{'key': 1}, {'key': 2}]
        
        ```
        
Keywords: development tools fasting
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
