{"id":15467711,"url":"https://github.com/uranusjr/python-dotenv-run","last_synced_at":"2025-04-11T11:31:40.337Z","repository":{"id":57456928,"uuid":"104042984","full_name":"uranusjr/python-dotenv-run","owner":"uranusjr","description":"Run command with environment configured with python-dotenv","archived":false,"fork":false,"pushed_at":"2017-12-23T06:00:56.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T13:38:54.779Z","etag":null,"topics":["dotenv","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/python-dotenv-run/0.1.4/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uranusjr.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-19T07:41:04.000Z","updated_at":"2023-08-03T01:13:10.000Z","dependencies_parsed_at":"2022-09-15T03:40:41.103Z","dependency_job_id":null,"html_url":"https://github.com/uranusjr/python-dotenv-run","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uranusjr%2Fpython-dotenv-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uranusjr%2Fpython-dotenv-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uranusjr%2Fpython-dotenv-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uranusjr%2Fpython-dotenv-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uranusjr","download_url":"https://codeload.github.com/uranusjr/python-dotenv-run/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125592,"owners_count":21051771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotenv","python"],"created_at":"2024-10-02T01:24:25.715Z","updated_at":"2025-04-11T11:31:40.041Z","avatar_url":"https://github.com/uranusjr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=================\nPyhton-Dotenv-Run\n=================\n\nRun command with environment variables populated by python-dotenv_.\n\n\nInstallation\n============\n\nIf using Pipenv_::\n\n    pipenv install --dev python-dotenv-run\n\n\nOtherwhise::\n\n    pip install python-dotenv-run\n\n\nInstruction onwards assumes you use Pipenv_. If you do not, simply drop the\n``pipenv run`` prefix in all commands.\n\n\nUsage\n=====\n\nSay you have a Flask app in a file named ``webapp.py``::\n\n    import flask\n\n    app = flask.Flask(__name__)\n\n    @app.route('/')\n    def hello():\n        return \"Hello World!\"\n\nAdd a file named ``.env`` alongside with the project::\n\n    FLASK_APP=webapp.py\n\nAfter installing dependencies, you can run it like this::\n\n    pipenv run dotenv-run flask run\n\n\n.. _python-dotenv: https://github.com/theskumar/python-dotenv\n.. _Pipenv: https://github.com/kennethreitz/pipenv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furanusjr%2Fpython-dotenv-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furanusjr%2Fpython-dotenv-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furanusjr%2Fpython-dotenv-run/lists"}