======
Easily manage your python application settings for different environments
Usage:
------
Consider following file structure somewhere in your python application:
```
- app
- settings.py
- local_env.py # required by env.py
- local_settings.py
- dev_settings.py
- prod_settings.py
- prodstage_settings.py
- test_settings.py
```
What `env.py` does is, it allows you to define different environment custom settings
inside files named `$env_settings.py`. Then, inside `local_env.py` define
current environment like `ENV='prod'`.
At the top or at the bottom of `settings.py` based upon how you use `env.py`, use as:
`from env import *`
This will configure your application for your current `ENV` custom settings along with common `settings.py`
Metadata
Release files for env.py 0.2.2
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 | |
|---|---|---|---|---|
| env.py-0.2.2.tar.gz | 3.1 kB | Without provenance | Details |
Release files / env.py-0.2.2.tar.gz
| Download URL | env.py-0.2.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6e8cd3c7a9bdc3b4db581b0e0efdc57d0888b18f0902db4c2f7ff6eaddc1596
|
|
BLAKE2b-256 checksum How to use checksums |
a7f63e713ef319670589b5eabe537b866b68eb7d96fd3091791ada8389b89191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for env.py 0.2.2
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.