Skip to main content

envcheck

A small, simple command line utility to check for, compare and merge environment variables between environment files and their .example counterparts

Install

python3 -m pip install envcheck

Use

cd dir/to/check
envcheck

What it does

  • If you have a file of env or environment it will be found
  • If there's a matching env.example or environment.example file it will compare the two and give you some help merging them
  • Writes a new file, env.new or environment.new

This tool doesn't update your environment file Please do for yourself: check the new file and update your existing environment file

How it compares

  • 🔑 👍 List and count the matching variables (matching both variable name and value)
  • 🔑 🚨 List and count variables in the environment file but not found at all in the example (maybe stale or maybe the example is bad)
  • 🔑 ✅ List and count new variables in the example
  • If new variables are in the example you will be prompted to add them to the new environment file, with auto-fillable values from the example

Release files for envcheck 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envcheck 0.0.9
File Size Uploaded
envcheck-0.0.9.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for envcheck 0.0.9
File Interpreter ABI Platform
envcheck-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / envcheck-0.0.9.tar.gz

Download URL envcheck-0.0.9.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b53b1f4a2573e246b6d0a57e9069058ebd5a1e1cd8d4444aed0b8595add167c
BLAKE2b-256 checksum
How to use checksums
a6558eefb7f0c97bc22f4d84a75478fc54cb6042a6d82491d7ebcb8388874d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9

Release files / envcheck-0.0.9-py3-none-any.whl

Download URL envcheck-0.0.9-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdbd977bb3830bc54d4e7ed02b2c977e1b3d6df6c653a20e89be7ac6ff3e0657
BLAKE2b-256 checksum
How to use checksums
cff01591b44f3a0cbf309c7fd4035642061440765e34dec5352869e53f7af046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.0.9 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