{"library":"hatchling-autoextras-hook","type":"library","category":null,"description":"This entry describes a common pattern for creating a custom metadata hook within Hatchling (version 1.x), enabling automatic generation or modification of project extras. While 'hatchling-autoextras-hook' exists as a PyPI package, its low version and lack of dedicated documentation suggest it's more of an illustrative or niche implementation rather than a widely used standalone plugin. The typical approach involves implementing a custom metadata hook using `hatchling` itself, which allows dynamic modification of project metadata during the build process, including `optional-dependencies` (extras). Hatchling is a modern, extensible build backend for Python projects, with a rapid release cadence.","language":"en","status":"active","version":"0.1.3","tags":["hatchling","build-system","metadata-hook","extras","dynamic-metadata","pyproject.toml"],"last_verified":"Wed May 27","install":[{"cmd":"pip install hatchling","imports":["from hatchling.metadata.plugin.interface import MetadataHookInterface","from hatch_build import CustomMetadataHook"]},{"cmd":"pip install hatchling-autoextras-hook","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":90,"avg_install_s":2,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/hatchling-autoextras-hook/compatibility"}}