Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

envcheck-0.0.9.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

envcheck-0.0.9-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file envcheck-0.0.9.tar.gz.

File metadata

  • Download URL: envcheck-0.0.9.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for envcheck-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6b53b1f4a2573e246b6d0a57e9069058ebd5a1e1cd8d4444aed0b8595add167c
MD5 f8a8a0e97f382c879765b8d35c77c46b
BLAKE2b-256 a6558eefb7f0c97bc22f4d84a75478fc54cb6042a6d82491d7ebcb8388874d51

See more details on using hashes here.

File details

Details for the file envcheck-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: envcheck-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for envcheck-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bdbd977bb3830bc54d4e7ed02b2c977e1b3d6df6c653a20e89be7ac6ff3e0657
MD5 626e17e5e91bc3dfca209c7b4166da15
BLAKE2b-256 cff01591b44f3a0cbf309c7fd4035642061440765e34dec5352869e53f7af046

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page