{"id":16287872,"url":"https://github.com/pmuller/pants-example-monorepo","last_synced_at":"2025-10-07T06:09:05.521Z","repository":{"id":60860740,"uuid":"543316801","full_name":"pmuller/pants-example-monorepo","owner":"pmuller","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-05T20:34:24.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T06:47:00.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/pmuller.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}},"created_at":"2022-09-29T20:57:30.000Z","updated_at":"2022-12-06T23:58:35.000Z","dependencies_parsed_at":"2022-10-05T23:51:51.891Z","dependency_job_id":null,"html_url":"https://github.com/pmuller/pants-example-monorepo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmuller/pants-example-monorepo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fpants-example-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fpants-example-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fpants-example-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fpants-example-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmuller","download_url":"https://codeload.github.com/pmuller/pants-example-monorepo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fpants-example-monorepo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278728374,"owners_count":26035428,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-10T19:46:33.942Z","updated_at":"2025-10-07T06:09:05.499Z","avatar_url":"https://github.com/pmuller.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Python monorepo using Pants\n\nThis is a sample Python monorepo I use to learn how to use Pants.\n\n## Generate IDE configuration\n\nMust be ran every time a new package is added.\n\n```shell\n$ ./scripts/setup-pants-ide-env.sh\nExporting virtualenvs...\nGenerating .env file...\nGenerating .vscode/settings.json file...\n```\n\nConfiguration validated with VSCode.\n\nTODO: Check if it also works in vim with [dotenv.vim](https://github.com/tpope/vim-dotenv).\n\n## Update requirements lock file\n\nMust be ran every time a dependency is added/modified/removed.\n\n```shell\n$ ./pants generate-lockfiles\n18:32:51.53 [INFO] Initializing scheduler...\n18:32:51.71 [INFO] Scheduler initialized.\n18:32:52.87 [INFO] Completed: Generate lockfile for python-default\n18:32:52.87 [INFO] Wrote lockfile for the resolve `python-default` to 3rdparty/python/default.lock\n```\n\n## Run all tests\n\n```shell\n./pants test ::\n```\n\n## Run linters\n\n```shell\n./pants lint ::\n```\n\n## Run type checker\n\n```shell\n./pants check ::\n```\n\n## Run REPL\n\n```shell\n./pants repl ::\n```\n\n## Build packages\n\n```shell\n./pants package ::\n```\n\n### Run bundled CLI package\n\n```shell\n$ ./dist/packages.hello.src.hello/hello.pex foo\nHello foo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fpants-example-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmuller%2Fpants-example-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fpants-example-monorepo/lists"}