{"id":25238577,"url":"https://github.com/baalimago/percentaverage","last_synced_at":"2025-04-05T19:19:24.928Z","repository":{"id":213705992,"uuid":"734744209","full_name":"baalimago/percentaverage","owner":"baalimago","description":"A tool which takes some input, finds all percentage-strings, then averages them.","archived":false,"fork":false,"pushed_at":"2024-04-23T17:53:06.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T17:23:25.878Z","etag":null,"topics":["average-calculator","cli","go","golang","math","percentage","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","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/baalimago.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}},"created_at":"2023-12-22T13:50:11.000Z","updated_at":"2024-04-23T17:53:04.000Z","dependencies_parsed_at":"2023-12-23T15:23:11.017Z","dependency_job_id":"40e3724b-68d6-489c-9c15-aee5c5a200e0","html_url":"https://github.com/baalimago/percentaverage","commit_stats":null,"previous_names":["baalimago/percentaverage"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baalimago%2Fpercentaverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baalimago%2Fpercentaverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baalimago%2Fpercentaverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baalimago%2Fpercentaverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baalimago","download_url":"https://codeload.github.com/baalimago/percentaverage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386558,"owners_count":20930667,"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":["average-calculator","cli","go","golang","math","percentage","tool"],"created_at":"2025-02-11T17:22:32.674Z","updated_at":"2025-04-05T19:19:24.905Z","avatar_url":"https://github.com/baalimago.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# percentaverage\nA tool which finds all precentages in a file and averages them. Matches `x.y%`, `x,y%`, `-x.y%`.\n\nTest coverage: 77.4% 😌👏\n\n### Installation\n```bash\ngo install github.com/baalimago/percentaverage@latest\n```\n\n## Usage\n\n```bash\necho \"20,3% 19.9% -0.2%\" | percentaverage \u0026\u0026 echo\n```\n\n```bash\n\ngo test ./... -cover | percentaverage -r `# This will output the percentage wihout a '%' sign`\n```\n\n## Roadmap\n- [x] Parse stdin\n- [ ] Hyperdrive the parsing for fun (fun not guaranteed)\n- [ ] Parse file from `-f` flag\n- [ ] Parse all files from directory using `-d` flag\n- [ ] Paralellized parsing\n- [ ] Glob parsing using `-g` flag\n- [ ] Glob parsing using multi-arguments\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaalimago%2Fpercentaverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaalimago%2Fpercentaverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaalimago%2Fpercentaverage/lists"}