{"id":37640333,"url":"https://github.com/sjbitcode/groc","last_synced_at":"2026-01-16T11:16:26.670Z","repository":{"id":50188781,"uuid":"179766637","full_name":"sjbitcode/groc","owner":"sjbitcode","description":"Bill tracker application for mostly groceries","archived":false,"fork":false,"pushed_at":"2022-12-08T05:48:52.000Z","size":135,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-09T23:11:36.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sjbitcode.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}},"created_at":"2019-04-05T23:17:40.000Z","updated_at":"2020-01-29T14:44:19.000Z","dependencies_parsed_at":"2023-01-24T15:15:56.770Z","dependency_job_id":null,"html_url":"https://github.com/sjbitcode/groc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sjbitcode/groc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjbitcode%2Fgroc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjbitcode%2Fgroc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjbitcode%2Fgroc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjbitcode%2Fgroc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjbitcode","download_url":"https://codeload.github.com/sjbitcode/groc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjbitcode%2Fgroc/sbom","scorecard":{"id":828628,"data":{"date":"2025-08-11","repo":{"name":"github.com/sjbitcode/groc","commit":"89be28338ecc057b16c430b3f3765f53ae0e934c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/7 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":"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":"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":"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":"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":"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":"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":"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 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"24 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2020-28 / GHSA-m6xf-fq7q-8743","Warn: Project is vulnerable to: PYSEC-2020-27 / GHSA-q65m-pv3f-wr5r","Warn: Project is vulnerable to: PYSEC-2020-340 / GHSA-vqhp-cxgc-6wmm","Warn: Project is vulnerable to: PYSEC-2021-865 / GHSA-vv2x-vrpj-qqpq","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2020-149 / GHSA-hmv2-79q8-fv6g","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2021-108","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"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-23T17:08:33.583Z","repository_id":50188781,"created_at":"2025-08-23T17:08:33.583Z","updated_at":"2025-08-23T17:08:33.583Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-16T11:16:26.038Z","updated_at":"2026-01-16T11:16:26.663Z","avatar_url":"https://github.com/sjbitcode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Groc\n\n*Streamline your purchase history*\n\nGroc is a Python CLI designed to help you keep track of purchases. You can enter data manually or via csv, and view various purchase stats.\n\nInstalling ✨\n--------------\nInstall and update groc using pip:\n```\npip install groc\n```\nGroc officially supports Python 3.7.\n\n\nUsage\n--------------\n```\ngroc [COMMAND] [flags]\n```\nSee also `groc --help`.\n\n\n\nCommands\n--------------\n**init** 🔮\n\nCreate a groc database in user's home directory. If a database already exists, the command will abort.\n\nTo see detailed output, use the `--verbose` flag.\n```\ngroc init\n```\n\n**add** 📝\n\nAdd a purchase to the groc database manually or by reading in a file or directory.\n\nTo enter purchase data manually, use the flags `--date`, `--total`, `--store`, `--description`.\nThe `--date` flag is optional and can be omitted _(the current date will be used)_.\nThe `--description` flag is optional and can be omitted.\n\nTo enter purchases via file or directory, use the `--source` flag provided with the path. Only csv files are currently supported.\n\nAdding a purchase that already exists will abort the action, unless the `--ignore-duplicate` flag is passed; this can be especially useful when adding purchases from a file\nor multiple files.\n```\ngroc add --date 2019-01-01 --total 20.00 --store \"Awesome Cakes\" --description \"birthday cake\"\n\ngroc add --source ./my-purchases/january.csv\n\ngroc add --source ./my-purchases/ --ignore-duplicate\n```\n\n**delete** 🗑\n\nDelete a purchase by id by passing the `--id`, `-i` flag. Multiple id flags can be passed.\n\nPassing the flag `--dry-run` will output purchases to be deleted without actually deleting it.\n\nTo see complete purchase details of a purchase, use the `--verbose` flag.\n```\ngroc delete --id 2 --dry-run\n```\n\n**breakdown** 📊\n\nProvides a breakdown of purchases for the current month and year categorized by month.\n\nTarget specific months by passing one or multiple month flags like `--month`, `-m` or years like `--year`, `-y`.\n\nTo see extended stats, use the `--verbose`.\n```\ngroc breakdown\n\ngroc breakdown --month=01 --month=03 --year=2019\n```\n\n**list** 🔍\n\nLists the latest 50 purchases by default, unless otherwise specified by the `--limit` flag.\n\nView purchases for a specific month by passing in `--month`, `-m` flag, optionally with a year with the `--year`, `-y` flag.\nTo see all purchases of a month, pass the `--all`, `-a` flag.\n\nTo see detailed output, such as purchase id, use the `--verbose` flag.\n```\ngroc list --limit 10\n\ngroc list -m 02 --all\n```\n\n**reset** 🚽\n\nReset a groc database by deleting all entries. The database and schema will not be deleted, so this does not require an init from the user.\n\nPassing the `--dry-run` flag will output the purchase count to be reset.\n```\ngroc reset --verbose\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjbitcode%2Fgroc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjbitcode%2Fgroc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjbitcode%2Fgroc/lists"}