Metadata-Version: 1.1
Name: env-tools
Version: 1.0
Summary: Tools for using .env files in Python
Home-page: https://github.com/beaugunderson/python-env-tools
Author: Beau Gunderson
Author-email: beau@beaugunderson.com
License: MIT
Description: env-tools
        ---------
        
        A simple module for loading and applying .env files.
        
        Works in Python 2 and Python 3.
        
        Running tests
        ~~~~~~~~~~~~~
        
        .. code:: bash
        
            $ py.test
        
        Or, with ``tox`` (test with multiple Python versions):
        
        .. code:: bash
        
            $ tox
        
        Example
        ~~~~~~~
        
        .env
        ^^^^
        
        .. code:: bash
        
            VARIABLE_A=123
            VARIABLE_B="testing, testing"
        
        example.py
        ^^^^^^^^^^
        
        .. code:: python
        
            import os
        
            from env_tools import apply_env
        
            # loads '.env' by default, to load another file use
            # apply_env(load_env('filename'))
            apply_env()
        
            assert os.environ['VARIABLE_A'] == '123'
            assert os.environ['VARIABLE_B'] == 'testing, testing'
        
Keywords: .env env heroku procfile foreman
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
