{"library":"poetry-plugin-dotenv","title":"Poetry Plugin Dotenv","description":"Automatically loads environment variables from .env files before running Poetry commands. Currently at version 3.3.0, with active development and monthly releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install poetry-plugin-dotenv"],"cli":{"name":"poetry","version":"Poetry (version 2.4.1)"}},"imports":["from poetry_plugin_dotenv.plugin import PoetryPluginDotenv","from poetry_plugin_dotenv.plugin import DotenvPlugin"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"pip install poetry-plugin-dotenv\npoetry config plugins.poetry-plugin-dotenv.enabled true\n# Create .env file with your variables\n# Then run any poetry command - they will be loaded automatically\necho \"MY_VAR=hello\" > .env\npoetry run python -c \"import os; print(os.environ.get('MY_VAR', 'not set'))\"","lang":"bash","description":"Install the plugin, enable it, create a .env file, and run a poetry command to see the variable loaded.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}