Metadata-Version: 2.1
Name: envutils
Version: 0.0.1
Summary: A python library to read and parse environment variables
Home-page: https://github.com/mfilippo/envutils
Author: Matteo Filipponi
Author-email: matteofilipponi@hotmail.com
License: UNKNOWN
Description: envutils
        --------
        
        This python library contains some utils functions to read and parse environment variables.
        
        Examples:
        
        ```python
        # Set some example values for demonstration purposes
        >>> import os
        >>> os.environ['MY_ENV'] = 'my_value'
        >>> os.environ['MY_INT_ENV'] = '42'
        >>> os.environ['MY_BOOL_ENV'] = 'True'
        
        # Read env variable as string
        >>> from envutils import envutils
        >>> envutils.get_from_environment('MY_ENV', 'my_default_value')
        'my_value'
        
        # Read env variable as int
        >>> envutils.get_int_from_environment('MY_INT_ENV', 666)
        42
        
        # Read env variable as boolean
        >>> envutils.get_bool_from_environment('MY_BOOL_ENV', False)
        True
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
