Skip to main content

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.

Donate: https://paypal.me/RafalBaranowski

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)

Source distribution for envdiff-lint 0.1.0
File Size Uploaded
envdiff_lint-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for envdiff-lint 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page