{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Generates .env files by merging an .env.template with environment variables matching specified prefixes, with optional strict validation and source filtering.","skillfed_tags":["ci-cd","secrets-management","dotenv"],"use_cases":["Generate .env files in Docker builds by reading CI secrets prefixed with a convention like SECRET_ENV_.","Enforce that all required environment variables are present before deploying, using the --strict flag.","Merge multiple sources of configuration: a template for defaults and environment-specific overrides from CI.","Create .env files in GitLab CI, GitHub Actions, or Travis CI without custom shell scripting.","Validate that template variables are defined in the environment before exporting to .env."],"what_it_does":"dump-env is a command-line tool that generates .env files by reading an .env.template file and overlaying environment variables that match one or more specified prefixes. It has no external dependencies and runs as a pure Python utility. The tool is designed to simplify CI/CD workflows\u2014particularly Docker image builds\u2014where secrets and configuration need to be injected from CI provider environment variables without manual encryption/decryption logic.\n\nThe typical workflow is: define a template with default or placeholder values, set prefixed environment variables in your CI system (e.g., SECRET_ENV_DATABASE_URL), and run dump-env to merge them. The tool can enforce strict validation (fail if required variables are missing), support multiple prefixes, and optionally disable value quoting for compatibility with linters like dotenv-linter.","worth_installing":"Yes. dump-env is a lightweight, actively maintained utility with zero dependencies, a permissive license, and a clear single purpose: simplifying .env generation in CI/CD pipelines. Install it if you manage environment configuration across Docker builds or CI systems and want to avoid shell scripting or manual secret handling."},"id":"dump-env","links":{"html":"https://skillfed.io/packages/dump-env","md":"https://skillfed.io/packages/dump-env.md","pypi":"https://pypi.org/project/dump-env/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-20","license_spdx":null,"license_treatment":"permissive","name":"dump-env","python_support":"supports_current","summary":"A utility tool to create .env files"},"popularity":{"monthly_downloads":95078,"position":13292,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.7.0"}
