{"id":17464182,"url":"https://github.com/onlyphantom/taskquant","last_synced_at":"2025-08-25T01:15:57.854Z","repository":{"id":57473486,"uuid":"471728114","full_name":"onlyphantom/taskquant","owner":"onlyphantom","description":"A python CLI that extends taskwarrior for productivity scoreboard \u0026 gamification (quantified self)","archived":false,"fork":false,"pushed_at":"2022-09-16T16:02:35.000Z","size":23,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T22:50:13.472Z","etag":null,"topics":["cli","taskwarrior"],"latest_commit_sha":null,"homepage":"","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/onlyphantom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T15:01:06.000Z","updated_at":"2025-04-10T16:03:42.000Z","dependencies_parsed_at":"2022-09-26T17:40:53.929Z","dependency_job_id":null,"html_url":"https://github.com/onlyphantom/taskquant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onlyphantom/taskquant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyphantom%2Ftaskquant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyphantom%2Ftaskquant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyphantom%2Ftaskquant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyphantom%2Ftaskquant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onlyphantom","download_url":"https://codeload.github.com/onlyphantom/taskquant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyphantom%2Ftaskquant/sbom","scorecard":{"id":707529,"data":{"date":"2025-08-11","repo":{"name":"github.com/onlyphantom/taskquant","commit":"df7eb5713053ad6bd1be6e51d75595835f2572e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T07:07:24.776Z","repository_id":57473486,"created_at":"2025-08-22T07:07:24.776Z","updated_at":"2025-08-22T07:07:24.776Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271989922,"owners_count":24854701,"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-08-24T02:00:11.135Z","response_time":111,"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":["cli","taskwarrior"],"created_at":"2024-10-18T10:44:54.244Z","updated_at":"2025-08-25T01:15:57.836Z","avatar_url":"https://github.com/onlyphantom.png","language":"Python","readme":"## TaskQuant\nThis is a CLI application that helps Taskwarrior users quantify their productivity by tracking the 'score' attribute in their tasks.\n\n`score` is a custom [User Defined Attributes](https://taskwarrior.org/docs/udas.html). You will need to have that configured in your `.taskrc` file. A sample configuration for this attribute would be:\n\n```\nuda.score.type=numeric\nuda.score.label=Score 🏆 \nurgency.uda.score.coefficient=2\n```\n\nTaskQuant will then compute the score(s) you have accumulated across the different tasks and return a scoresheet.\n\nTaskQuant **has no external dependencies** except `tasklib`, which is also by [the same organization](https://github.com/GothenburgBitFactory) that developed Taskwarrior. \n\nIt is written entirely in Python, using standard library. It may have optional dependencies, but those are not required and a fallback option will always be used by default. \n\nFor those reasons, TaskQuant is extremely lightweight. As it stands, it's only 6.8kb of code, and should install in under a second.\n\n#### Installation\nTaskQuant is available on [pypi](https://pypi.org/project/taskquant/).\n```\npip install taskquant\n```\nIf you so desire, you can optionally install `tabulate` to get a prettier table output (this is completely optional, and pure cosmetic):\n```\npip install tabulate\n```\n\n\n### Usage\nInstall the package and execute:\n\n```bash\ntq \n```\n\n- It supports an optional `-p` (`path`) argument to specify the path to your `.task` file. **Especially** helpful if you changed the default location of your `.task` file.\n- It supports an optional `-v` (`verbose`) argument to print out additional \ninformation in its output.\n\n```bash\ntq -p ~/vaults/tasks -v \n\n# outputs:\n+------------+-------+------------+\n|    Date    | Score | Cumulative |\n+------------+-------+------------+\n| 2022-03-09 |   0   |     0      |\n| 2022-03-10 |   8   |     8      |\n| 2022-03-11 |   1   |     9      |\n| 2022-03-12 |  43   |     52     |\n| 2022-03-13 |   4   |     56     |\n| 2022-03-14 |   4   |     60     |\n| 2022-03-15 |   7   |     67     |\n| 2022-03-16 |   9   |     76     |\n| 2022-03-17 |   4   |     80     |\n| 2022-03-18 |   4   |     84     |\n| 2022-03-19 |   3   |     87     |\n| 2022-03-20 |   2   |     89     |\n| 2022-03-21 |   5   |     94     |\n+------------+-------+------------+\nTotal completed tasks: 48\nActive dates: 13\ntask_path: /home/samuel/vaults/tasks\n```\n\nYou can also print a weekly (`-w`) version of the scoresheet:\n\n```bash\ntq -w \n+-------+-------+------------+\n| Week# | Score | Cumulative |\n+-------+-------+------------+\n|  10   |  56   |     56     |\n|  11   |  33   |     89     |\n|  12   |  26   |    115     |\n|  13   |  12   |    127     |\n+-------+-------+------------+\n```\nThe first column refers to the ISO week number of the year.\n\n\n- To see all optional arguments, use the `-h` (`help`) argument.\n\n```bash\ntq -h\n```\n\n#### Dependencies\n- [tasklib](https://github.com/GothenburgBitFactory/tasklib)\n- (Optional) [tabulate](https://github.com/astanin/python-tabulate)\n\n#### Testing\nTests are written in `unittest` and stored in the `tests` directory.\n\nTo execute tests without arguments and automatic test discovery:\n\n```bash\npython -m unittest \n```\n\nTo test a specific test file (`-v` for verbose output):\n\n```bash\npython -m unittest -v tests/test_accum.py\n\ntest_create_combined_table (tests.test_accum.TestAccum) ... ok\ntest_create_full_date ... ok\ntest_create_table_auto (tests.test_accum.TestAccum) ... ok\ntest_extract_tasks (tests.test_accum.TestAccum) ... ok\ntest_fill_rolling_date (tests.test_accum.TestAccum) ... ok\ntest_invalid_path_warning (tests.test_accum.TestAccum) ... ok\ntest_task_to_dict (tests.test_accum.TestAccum) ... ok\n\n----------------------------------------------------------------------\nRan 7 tests in 0.049s\n\nOK\n\n\n```\n\n### Roadmap\n- Add terminal-based charts and graphs\n- New ways to visualize scores based on tags, projects or other attributes\n\n### Links to Tutorials\nWatch how we build this package, line by line (detailed tutorial):\n- [Building TaskQuant | Part 1](https://youtu.be/lT2jqmhRkxo)\n- [Taskwarrior: Terminal-based task management Quick Tour](https://youtu.be/cDYIes9avW4)\n- [Building TaskQuant | Full Playlist](https://youtube.com/playlist?list=PLXsFtK46HZxXIVE4tRjwMjwKFVaQSdT5W)\n- [Dev.to article: Todo + gamification with Taskwarrior \u0026 Taskquant](https://dev.to/onlyphantom/todo-gamification-with-taskwarrior-taskquant-3e38)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyphantom%2Ftaskquant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlyphantom%2Ftaskquant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyphantom%2Ftaskquant/lists"}