{"library":"pyproject-dependencies","title":"pyproject-dependencies","description":"A tool to extract dependencies from pyproject.toml files in a robust way. Supports both static and dynamic dependency resolution, including optional dependencies (extras). Compatible with Python 3.7+. Current version: 1.3.2. Release cadence: irregular.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pyproject-dependencies"],"cli":null},"imports":["from pyproject_dependencies import get_dependencies","from pyproject_dependencies import extras"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom pyproject_dependencies import get_dependencies\n\n# Assuming pyproject.toml is in the current directory\nresults = get_dependencies()\nprint('Main dependencies:', results.get('dependencies', []))\nprint('Optional groups:', results.get('extras', {}))\n\n# For a specific directory\nresults = get_dependencies('path/to/project')\nprint('Dependencies from path:', results.get('dependencies', []))","lang":"python","description":"Extract dependencies from a pyproject.toml file. Returns a dict with 'dependencies' (list of strings) and 'extras' (dict mapping group name to list of strings).","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}