Skip to main content

Compares expected environment variables to those set in production.

Project description

Unix: Unix Build Status Windows: Windows Build StatusMetrics: Coverage Status Scrutinizer Code QualityUsage: PyPI Version

Overview

Compares expected environment variables to those set in production.

Setup

Requirements

  • Python 3.6+

Installation

Install env-diff with pip:

$ pip install env-diff

or directly from the source code:

$ git clone https://github.com/jacebrowning/env-diff.git
$ cd env-diff
$ python setup.py install

Usage

Generate a sample config file:

$ env-diff --init

Customize this file to match your project:

  • sourcefiles: contain references to environment variables used in your project

    • path: relative path to source file

  • environments: the environments in which your project runs

    • name: name of the environment

    • command: command to display currently set environment variables

Display the differences between environment variables in your environments:

$ env-diff > env-diff.md

Open the generated Markdown table in an appropriate viewer.

Revision History

0.1 (2017-03-30)

  • Initial alpha release.

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

env-diff-0.1.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

env_diff-0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file env-diff-0.1.tar.gz.

File metadata

  • Download URL: env-diff-0.1.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for env-diff-0.1.tar.gz
Algorithm Hash digest
SHA256 b6b2e12cc776aa43a8594b55b00affd1f25b29af1f3d5705c9ef6a3130418498
MD5 28251e1116c83971cfad62a2df53bcf9
BLAKE2b-256 2348ac38460478f3fe80887e908d0708a67731447e09215732184b8f2569921f

See more details on using hashes here.

File details

Details for the file env_diff-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for env_diff-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49069266a253d45b01b48caa20a4fb84e436ce332751389830dd479f9accab22
MD5 e012b16103e9137b92a5f181cc003c62
BLAKE2b-256 b70c1c7141bf4ba26047e10f662fb388fa834410ce72dcc816c0dca6aed16035

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