envgen
envgen est un outil en ligne de commande simple pour générer des fichiers .env prêts à l’emploi pour des projets Django ou Flask.
🔧 Installation
pip install envgen
### 🔧 Utilisation
m
```bash
envgen <framework_choisi>
"Cela créera un fichier .env dans le dossier courant avec les variables d’environnement de base pour le framework choisi."
"C’est une bibliothèque qui permet à Python de lire le fichier .env."
```bash
pip install python-dotenv
'ensuite ajouter en haut du settings.py:'
import os
from dotenv import load_dotenv
# Charge le fichier .env à la racine du projet
load_dotenv()
# Utilisation des variables
SECRET_KEY = os.getenv("SECRET_KEY")
DEBUG = os.getenv("DEBUG") == "True"
Metadata
Release files for envgen-jaysimy 0.0.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 | |
|---|---|---|---|---|
| envgen_jaysimy-0.0.4.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| envgen_jaysimy-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / envgen_jaysimy-0.0.4.tar.gz
| Download URL | envgen_jaysimy-0.0.4.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71022fd3ce26d9e30bbf1bf7d21ce491df13a5ed442e3c7733ea156e1b7d4051
|
|
BLAKE2b-256 checksum How to use checksums |
2023a244eb72cb1d20794e7634704d9fa230ef3c3ba956b4133fb30f89521bc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / envgen_jaysimy-0.0.4-py3-none-any.whl
| Download URL | envgen_jaysimy-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3bc11add8e6a090036c97f1e804908105f56ea8a75fce07aeb0dd595190183f
|
|
BLAKE2b-256 checksum How to use checksums |
5016936f380b8c1012acf9cfe2367a152750e903957ee1b8ae167af692d50d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for envgen-jaysimy 0.0.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.