{"library":"poetry-multiproject-plugin","title":"Poetry Multiproject Plugin","description":"A Poetry plugin that enables using relative package includes in multi-project monorepos. It allows a Poetry project to include packages from sibling directories as if they were part of the same project, with support for Poetry v2 and PEP 621. Version 1.8.4 is the latest supporting Python >=3.8,<4.0, under active development with regular releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install poetry-multiproject-plugin"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Ensure the plugin is installed:\n# poetry self add poetry-multiproject-plugin\n\n# In your pyproject.toml, add:\n# [tool.poetry.plugins.poetry]\n# multiproject-plugin = \"poetry_multiproject_plugin.plugin\"\n\n# Then use relative includes in pyproject.toml:\n# [tool.poetry]\n# packages = [\n#     { include = \"../shared_lib\", from = \"..\" },\n# ]\n\n# Build the project with:\n# poetry build-project\n\nimport subprocess\nimport os\n\n# Example: run the build command (ensure plugin is configured)\nsubprocess.run(['poetry', 'build-project'], cwd=os.path.dirname(os.path.abspath(__file__)))","lang":"python","description":"Minimal setup to use the plugin; requires manual pyproject.toml configuration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}