{"id":18004025,"url":"https://github.com/simon987/task_tracker_drone","last_synced_at":"2025-04-04T09:42:01.690Z","repository":{"id":80438287,"uuid":"171394812","full_name":"simon987/task_tracker_drone","owner":"simon987","description":"General purpose 'set and forget' task runner for task_tracker","archived":false,"fork":false,"pushed_at":"2020-07-05T15:16:41.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T20:18:27.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simon987.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2019-02-19T02:59:47.000Z","updated_at":"2020-07-05T15:16:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3b2f4ed-861f-4131-8dd6-94eb56ef9b4e","html_url":"https://github.com/simon987/task_tracker_drone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon987%2Ftask_tracker_drone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon987%2Ftask_tracker_drone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon987%2Ftask_tracker_drone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon987%2Ftask_tracker_drone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simon987","download_url":"https://codeload.github.com/simon987/task_tracker_drone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157078,"owners_count":20893202,"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":[],"created_at":"2024-10-30T00:13:12.807Z","updated_at":"2025-04-04T09:42:01.661Z","avatar_url":"https://github.com/simon987.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeFactor](https://www.codefactor.io/repository/github/simon987/task_tracker_drone/badge)](https://www.codefactor.io/repository/github/simon987/task_tracker_drone)\n\nGeneral purpose 'set and forget' task runner and API wrapper for [simon987/task_tracker](https://github.com/simon987/task_tracker).\n\n\n### Running tests\n```bash\ncd src\npython -m unittest discover\n```\n\n\n## Usage (task runner daemon)\n\n*(Deprecated, please use [task_tracker_drone_go](https://github.com/simon987/task_tracker_drone_go) to use as a task runner)*\n\n\n## Usage (Library)\n\n```bash\ngit submodule add https://github.com/simon987/task_tracker_drone\n```\n\nIn your project:\n```python\nfrom task_tracker_drone.src.tt_drone.api import TaskTrackerApi, Worker, LOG_TRACE\n\napi = TaskTrackerApi(https://tt.simon987.net/api)\n\nworker = Worker.from_file(api)\nif not worker:\n    worker = api.make_worker(\"alias\")\n    worker.dump_to_file()\n\nworker.fetch_task(project_id=1)\nworker.submit_task(project=1, \n    recipe=\"\",\n    priority=\"\",\n    max_assign_time=1,\n    hash64=0,\n    unique_str=\"\",\n    verification_count=1,\n    max_retries=1)\nworker.bulk_submit_task(project=1, tasks=[])\nworker.release_task(task_id=0, result=0, verification=0)\nworker.get_project_list()\nworker.get_secret(project=1)\nworker.log(level=LOG_TRACE, message=\"\", timestamp=0, scope=\"\")\n# You will have to manually grant permission from the web UI\nworker.request_access(project=1, assign=True, submit=True)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon987%2Ftask_tracker_drone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimon987%2Ftask_tracker_drone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon987%2Ftask_tracker_drone/lists"}