{"id":13738113,"url":"https://github.com/pawamoy/duty","last_synced_at":"2025-05-16T13:03:35.961Z","repository":{"id":41402042,"uuid":"300698064","full_name":"pawamoy/duty","owner":"pawamoy","description":"A simple task runner.","archived":false,"fork":false,"pushed_at":"2025-03-01T16:22:27.000Z","size":5066,"stargazers_count":115,"open_issues_count":4,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-12T09:42:09.044Z","etag":null,"topics":["python","runner","task","task-runner"],"latest_commit_sha":null,"homepage":"https://pawamoy.github.io/duty/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawamoy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"pawamoy","ko_fi":"pawamoy","polar":"pawamoy","custom":["https://www.paypal.me/pawamoy"]}},"created_at":"2020-10-02T18:06:36.000Z","updated_at":"2025-05-08T08:25:35.000Z","dependencies_parsed_at":"2024-01-07T11:11:52.230Z","dependency_job_id":"d0418c31-5706-4c6d-8e49-e6886b64ed3e","html_url":"https://github.com/pawamoy/duty","commit_stats":{"total_commits":151,"total_committers":5,"mean_commits":30.2,"dds":0.2450331125827815,"last_synced_commit":"0d1816d7be280029a97a325add5299a21b6c2f48"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawamoy%2Fduty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawamoy%2Fduty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawamoy%2Fduty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawamoy%2Fduty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawamoy","download_url":"https://codeload.github.com/pawamoy/duty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535826,"owners_count":22087398,"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":["python","runner","task","task-runner"],"created_at":"2024-08-03T03:02:11.628Z","updated_at":"2025-05-16T13:03:35.938Z","avatar_url":"https://github.com/pawamoy.png","language":"Python","funding_links":["https://github.com/sponsors/pawamoy","https://ko-fi.com/pawamoy","https://polar.sh/pawamoy","https://www.paypal.me/pawamoy"],"categories":["Python"],"sub_categories":[],"readme":"# duty\n\n[![ci](https://github.com/pawamoy/duty/workflows/ci/badge.svg)](https://github.com/pawamoy/duty/actions?query=workflow%3Aci)\n[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://pawamoy.github.io/duty/)\n[![pypi version](https://img.shields.io/pypi/v/duty.svg)](https://pypi.org/project/duty/)\n[![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#duty:gitter.im)\n\nA simple task runner.\n\nInspired by [Invoke](https://github.com/pyinvoke/invoke).\n\n![demo](demo.svg)\n\n## Installation\n\n```bash\npip install duty\n```\n\nWith [`uv`](https://docs.astral.sh/uv/):\n\n```bash\nuv tool install duty\n```\n\n## Quick start\n\nCreate a `duties.py` file at the root of your repository.\n\n```python\nfrom duty import duty\n\n@duty\ndef docs(ctx):\n    ctx.run(\"mkdocs build\", title=\"Building documentation\")\n```\n\nYou can now use the command line tool to run it:\n\n```bash\nduty docs\n```\n\nSee the [Usage](https://pawamoy.github.io/duty/usage/)\nsection in the documentation for more examples.\n\nAlso see [\"Why choosing duty over...\"](https://pawamoy.github.io/duty/#why-duty-over).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawamoy%2Fduty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawamoy%2Fduty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawamoy%2Fduty/lists"}