{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"}],"enrichment":{"capability":"environs parses environment variables into typed Python objects with validation, supporting common types like integers, booleans, dates, and collections, while optionally loading from .env files without mutating os.environ.","skillfed_tags":["configuration-management","env-vars"],"use_cases":["Load database credentials and connection settings from environment variables in production deployments.","Parse feature flags and debug settings from .env files during local development without hardcoding them.","Validate and type-cast configuration like port numbers, timeouts, and log levels from environment variables.","Read Docker secrets or Kubernetes ConfigMaps as environment variables with automatic type conversion.","Build configuration management that respects the Twelve-Factor App pattern across development, staging, and production."],"what_it_does":"environs is a Python library that reads environment variables and casts them to typed Python objects\u2014integers, booleans, dates, lists, dictionaries, and other types\u2014with optional validation. It follows the Twelve-Factor App methodology by keeping configuration separate from code. The library can load variables from .env files without modifying os.environ, and supports prefixing, variable expansion, and custom validation rules.\n\nYou use it by instantiating an Env object, optionally calling read_env() to load a .env file, then calling type-specific methods like env.int(), env.bool(), or env.list() to retrieve and cast individual variables. It integrates with marshmallow for validation, allowing you to apply built-in validators or define custom ones. The library is framework-agnostic but has documented patterns for Flask and Django.","worth_installing":"Yes. environs is actively maintained, has no known vulnerabilities, low install friction, and solves a common problem\u2014parsing and validating environment variables\u2014with a clean API. The permissive MIT license and broad Python version support (3.10+) make it a safe, practical choice for any project that needs configuration management."},"id":"environs","links":{"html":"https://skillfed.io/packages/environs","md":"https://skillfed.io/packages/environs.md","pypi":"https://pypi.org/project/environs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-01","license_spdx":"MIT","license_treatment":"permissive","name":"environs","python_support":"supports_current","summary":"simplified environment variable parsing"},"popularity":{"monthly_downloads":5249457,"position":2128,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"15.1.0"}
