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
Metadata
Release files for python-dotenv-run 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-dotenv-run-0.1.4.tar.gz | 2.4 kB | Without provenance | Details for python-dotenv-run-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_dotenv_run-0.1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for python_dotenv_run-0.1.4-py2.py3-none-any.whl |
Total release size: 6.7 kB
Release files / python-dotenv-run-0.1.4.tar.gz
| Download URL | python-dotenv-run-0.1.4.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
423a16442499726f7ecacd079d3f5dad43cfec181d39b7dd522ae58d08c58687
|
|
BLAKE2b-256 checksum How to use checksums |
16c59b832e6b227c694304f44a19256022c4e032e2db2ee9825ebe6dbc9beb6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python_dotenv_run-0.1.4-py2.py3-none-any.whl
| Download URL | python_dotenv_run-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
792391893aaf5236a1a0364f14e42d2d3d9175fa2b3f30b3d8ffee316e6f3005
|
|
BLAKE2b-256 checksum How to use checksums |
26370a5e0a48c65b10ea66cc6a0e5c0a4ebe08ad1919ec09d33bf1a2c4ae7421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-dotenv-run 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.