{"id":42633364,"url":"https://github.com/tata1mg/hector","last_synced_at":"2026-01-29T05:26:34.907Z","repository":{"id":221324583,"uuid":"744000833","full_name":"tata1mg/hector","owner":"tata1mg","description":"A code quality \u0026 coverage analytics toolkit.","archived":false,"fork":false,"pushed_at":"2025-09-22T11:40:52.000Z","size":197,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T12:15:54.130Z","etag":null,"topics":["bitbucket","code-health","coverage","coverage-report","diff-cover","radon"],"latest_commit_sha":null,"homepage":"https://tata1mg.github.io/hector/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tata1mg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"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":"2024-01-16T12:40:58.000Z","updated_at":"2024-02-07T10:42:43.000Z","dependencies_parsed_at":"2024-03-01T09:28:11.474Z","dependency_job_id":"2f9e2b40-8602-4b9b-b006-83ace75e8a38","html_url":"https://github.com/tata1mg/hector","commit_stats":null,"previous_names":["tata1mg/hector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tata1mg/hector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tata1mg%2Fhector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tata1mg%2Fhector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tata1mg%2Fhector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tata1mg%2Fhector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tata1mg","download_url":"https://codeload.github.com/tata1mg/hector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tata1mg%2Fhector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28863564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","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":["bitbucket","code-health","coverage","coverage-report","diff-cover","radon"],"created_at":"2026-01-29T05:26:34.154Z","updated_at":"2026-01-29T05:26:34.901Z","avatar_url":"https://github.com/tata1mg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hector \n\nA code quality \u0026 coverage analytics toolkit.\n\n[![Built with 🤍 @ - Tata 1mg](https://img.shields.io/static/v1?label=Built+with+🤍\u0026message=%40+Tata+1mg\u0026color=fe6f61\u0026style=for-the-badge)](https://www.1mg.com/jobs)\n\n\n✨ FOSS, self hosted, self managed alternative to `codecov`, `codeclimate`, `codefactor` \u0026 similar services.\n\n- Lightweight, stateless CI pipeline integration\n- PR comments with coverage \u0026 code health reports\n\n## Installation\n\n```py\npip install git+https://github.com/tata1mg/hector.git\n```\n\n## Usage\n\nSimply type hector in your terminal for all the options\n```py\n$ hector\n```\n\n**Add following steps to your bitbucket pipeline**\n\nRun your test suite \u0026 generate coverage report\n\n```py\n$ coverage run pytest .\n```\n\nGenerate `coverage.json` (required for parsable coverage stats)\n\u0026 `coverage.xml` (required by hector diff report)\n\n```py\n$ coverage json\n$ coverage xml\n```\n\nRun hector inside the bitbucket pipeline to post a comment\n```py\n$ hector report\n```\n\n## Roadmap\n\n### 👩🏼‍💻 Core\n\n- [x]  Add cli commands for all operations, using `Typer`\n- [ ]  Use `Pydantic` models for parsing reports\n- [ ]  Use `httpx` for http clients\n- [ ]  Refactor for dependency inversion\n\n### ✨ Features\n\n- [x] Bundle `diff-cover`\n- [ ] Add support for Code health metrics\n- [ ] Bundle `radon`\n\n### 👾 Bots\n\n- [x] Bitbucket PR comments\n- [ ] Github PR comments\n- [ ] `Flock` reports\n- [ ] `Discord` reports\n- [ ] `Slack` reports\n\n### 🔧 Integrations\n\n- [ ] Bitbucket Pipe\n- [ ] Github Actions\n- [ ] Github App\n\n### 🚀 Deployment\n\n- [ ] Support serving a `Sanic` application\n- [ ] Support serving a `FastAPI` application\n- [ ] Support deployment as an `AWS Lambda`\n\n---\n\n\n## Maintainers\n\n\u003ctable id=\"maintainers-table\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/dollar-1mg\"\u003e\u003cimg src=\"https://github.com/dollar-1mg.png\" width=\"90px;\"/\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://github.com/0xlakshay\"\u003e\u003cimg src=\"https://github.com/0xlakshay.png\" width=\"90px;\"/\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003e\u003ca href=\"https://github.com/dollar-1mg\"\u003edollar-1mg\u003c/a\u003e\u003c/th\u003e\n      \u003cth\u003e\u003ca href=\"https://github.com/0xlakshay\"\u003e0xlakshay\u003c/a\u003e\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Contributing\n\nContributions are always welcome!\n\nPlease read our [`contribution guidelines`](./CHANGELOG.md) and [`code of conduct`](./CODE_OF_CONDUCT.md) to get started.\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftata1mg%2Fhector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftata1mg%2Fhector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftata1mg%2Fhector/lists"}