envdiff
Single-file, zero-dependency tool that keeps .env and .env.example honest.
It reports variables missing from .env, undocumented ones, empty values,
documented-but-unused variables, and variables read in code (Python, JS/TS,
Ruby, Go, shell, YAML) but absent from .env.example. Exit code 1 on problems, so it fits CI and pre-commit.
python3 envdiff.py --example .env.example --env .env --src src --src scripts
python3 envdiff.py --json
Tests: python3 tests/test_envdiff.py
License
MIT
Support
If this saved you time: PayPal 4433@vp.pl.
Metadata
Release files for envdiff-lint 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| envdiff_lint-0.1.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| envdiff_lint-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / envdiff_lint-0.1.0.tar.gz
| Download URL | envdiff_lint-0.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c234b018ef1f26266e29361d7513b5b1fcf711fef005f5d4a2442c41afacb750
|
|
BLAKE2b-256 checksum How to use checksums |
ca6cf190fcc3f178ecbbfe6e3a0cb0c8de2c7804616cf3335075137ba0ac4722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / envdiff_lint-0.1.0-py3-none-any.whl
| Download URL | envdiff_lint-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b4db35dd226e0581b2b62fe6d6979c8dbf7ba50ec668854f994bedc7e1dc514
|
|
BLAKE2b-256 checksum How to use checksums |
f2812cac768e5045ca0051f3a11a1432a9ebdcdb26706b4f203c6a45e95e6af7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|