Metadata-Version: 1.1
Name: python-dotenv-run
Version: 0.1.4
Summary: Run command with environment populated by the .env file.
Home-page: https://github.com/uranusjr/python-dotenv-run
Author: Tzu-ping Chung
Author-email: uranusjr@gmail.com
License: ISC
Description-Content-Type: UNKNOWN
Description: =================
        Pyhton-Dotenv-Run
        =================
        
        Run command with environment variables populated by python-dotenv_.
        
        
        Installation
        ============
        
        If using Pipenv_::
        
            pipenv install --dev python-dotenv-run
        
        
        Otherwhise::
        
            pip install python-dotenv-run
        
        
        Instruction onwards assumes you use Pipenv_. If you do not, simply drop the
        ``pipenv run`` prefix in all commands.
        
        
        Usage
        =====
        
        Say you have a Flask app in a file named ``webapp.py``::
        
            import flask
        
            app = flask.Flask(__name__)
        
            @app.route('/')
            def hello():
                return "Hello World!"
        
        Add a file named ``.env`` alongside with the project::
        
            FLASK_APP=webapp.py
        
        After installing dependencies, you can run it like this::
        
            pipenv run dotenv-run flask run
        
        
        .. _python-dotenv: https://github.com/theskumar/python-dotenv
        .. _Pipenv: https://github.com/kennethreitz/pipenv
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
