{"id":20503176,"url":"https://github.com/curt-park/python-monorepo-template","last_synced_at":"2025-09-25T07:31:36.499Z","repository":{"id":189302458,"uuid":"680420922","full_name":"Curt-Park/python-monorepo-template","owner":"Curt-Park","description":"Python monorepo template with Pants","archived":false,"fork":false,"pushed_at":"2023-08-19T18:02:55.000Z","size":42,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T19:35:21.912Z","etag":null,"topics":["docker","github-actions","monorepo","pants","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Curt-Park.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-19T07:18:51.000Z","updated_at":"2024-08-06T10:46:17.000Z","dependencies_parsed_at":"2023-08-19T09:28:45.202Z","dependency_job_id":null,"html_url":"https://github.com/Curt-Park/python-monorepo-template","commit_stats":null,"previous_names":["curt-park/python-monorepo-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Curt-Park%2Fpython-monorepo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Curt-Park%2Fpython-monorepo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Curt-Park%2Fpython-monorepo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Curt-Park%2Fpython-monorepo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Curt-Park","download_url":"https://codeload.github.com/Curt-Park/python-monorepo-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234165155,"owners_count":18789656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","github-actions","monorepo","pants","python"],"created_at":"2024-11-15T19:29:36.385Z","updated_at":"2025-09-25T07:31:31.188Z","avatar_url":"https://github.com/Curt-Park.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Monorepo Template\n\nPython Monorepo Template with [Pants](https://www.pantsbuild.org/).\n\n## Items\n- [x] Small Python projects with dependency\n- [x] Project execution\n- [x] Formatting (black, isort)\n- [x] Linting (flake8, pylint, pydocstyle)\n- [x] Unit Test\n- [x] Docker build\n- [x] GitHub actions\n\n## Project Structure\n```bash\n.\n└── libs\n    ├── base   # base has add2(int, int)\n    └── fancy  # fancy has add3(int, int, int) method which calls add2\n```\n\n## Prerequisites\n\n- For Linux\n```bash\ncurl --proto '=https' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh | bash\n```\n\n- For Mac\n```bash\nbrew install pantsbuild/tap/pants\n```\n\n## How to run\n```bash\n# How to execute\npants run libs/base/main.py\npants run libs/fancy/main.py\n\n# How to format\npants fmt ::             # for all projects\npants fmt libs/base::    # for base\npants fmt libs/fancy::   # for fancy\n\n# How to lint\npants lint ::            # for all projects\npants lint libs/base::   # for base\npants lint libs/fancy::  # for fancy\n\n# How to run unit tests\npants test ::            # for all projects\npants test libs/base::   # for base\npants test libs/fancy::  # for fancy\n\n# Build docker images\npants package docker/Dockerfile.base    # build base\npants package docker/Dockerfile.fancy   # build fancy\n```\n\n## References\n- https://www.pantsbuild.org/docs\n- https://github.com/pantsbuild/example-python\n- https://github.com/pantsbuild/example-docker\n- https://github.com/tweag/python-monorepo-example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurt-park%2Fpython-monorepo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurt-park%2Fpython-monorepo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurt-park%2Fpython-monorepo-template/lists"}