{"id":34032405,"url":"https://github.com/python-project-templates/hatch-multi","last_synced_at":"2026-04-01T23:34:27.941Z","repository":{"id":304856178,"uuid":"1020212841","full_name":"python-project-templates/hatch-multi","owner":"python-project-templates","description":"Create multiple discrete packages from optional-dependencies (extras)","archived":false,"fork":false,"pushed_at":"2026-03-22T17:09:52.000Z","size":611,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-23T08:14:59.434Z","etag":null,"topics":["build-tool","hatch","hatchling","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-project-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-15T14:10:39.000Z","updated_at":"2026-03-22T17:09:26.000Z","dependencies_parsed_at":"2025-07-16T16:59:30.171Z","dependency_job_id":"ede15e18-0d0d-49b2-b536-6bded3eb15c3","html_url":"https://github.com/python-project-templates/hatch-multi","commit_stats":null,"previous_names":["python-project-templates/hatch-multi"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/python-project-templates/hatch-multi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-project-templates%2Fhatch-multi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-project-templates%2Fhatch-multi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-project-templates%2Fhatch-multi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-project-templates%2Fhatch-multi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-project-templates","download_url":"https://codeload.github.com/python-project-templates/hatch-multi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-project-templates%2Fhatch-multi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tool","hatch","hatchling","python"],"created_at":"2025-12-13T18:46:47.129Z","updated_at":"2026-04-01T23:34:27.933Z","avatar_url":"https://github.com/python-project-templates.png","language":"Python","readme":"# hatch multi\n\nCreate multiple discrete packages from optional-dependencies (extras)\n\n[![Build Status](https://github.com/python-project-templates/hatch-multi/actions/workflows/build.yaml/badge.svg?branch=main\u0026event=push)](https://github.com/python-project-templates/hatch-multi/actions/workflows/build.yaml)\n[![codecov](https://codecov.io/gh/python-project-templates/hatch-multi/branch/main/graph/badge.svg)](https://codecov.io/gh/python-project-templates/hatch-multi)\n[![License](https://img.shields.io/github/license/python-project-templates/hatch-multi)](https://github.com/python-project-templates/hatch-multi)\n[![PyPI](https://img.shields.io/pypi/v/hatch-multi.svg)](https://pypi.python.org/pypi/hatch-multi)\n\n## Overview\n\nA small [hatch plugin](https://hatch.pypa.io/latest/) to create multiple discrete packages from a single package, via `optional-dependencies`.\n\n**pyproject.toml**\n\n```toml\n[project]\nname = \"my-project\"\n...\ndynamic = [\"dependencies\"]\n\n[project.optional-dependencies]\nmain = [...]\nother = [...]\n\n[tool.hatch.metadata.hooks.multi]\nprimary = \"main\"\n```\n\n```bash\npython -m build\n# Produces my-project wheel and sdist, with dependencies from [project.optional-dependencies.main]\n\nHATCH_MULTI_BUILD=other python -m build\n# Produces my-project-other wheel and sdist, with dependencies from [project.optional-dependencies.other]\n```\n\n\u003e [!NOTE]\n\u003e This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-project-templates%2Fhatch-multi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-project-templates%2Fhatch-multi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-project-templates%2Fhatch-multi/lists"}