github Pinak-Datta/envgap v0.2.0
envgap v0.2.0

latest releases: v0.3.0, v0.2.2, v0.2.1...
3 months ago

What's new

envgap now detects Pydantic BaseSettings fields, which makes it more useful for FastAPI-style projects.

It can now detect settings like:

from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    database_url: str
    openai_api_key: str
    debug: bool = False

and classify:

DATABASE_URL as required
OPENAI_API_KEY as required
DEBUG as optional

Also included

  • Required vs optional detection for Pydantic settings fields
  • Field(...) and Field(default=...) handling
  • default_factory support as optional
  • FastAPI/Pydantic example update
  • README and changelog updates

Don't miss a new envgap release

NewReleases is sending notifications on new releases.