{"id":17187462,"url":"https://github.com/davidmchan/ustat","last_synced_at":"2025-04-13T19:08:04.425Z","repository":{"id":42512238,"uuid":"385142851","full_name":"DavidMChan/ustat","owner":"DavidMChan","description":"A micro-statistics program (like ministat) written in Rust","archived":false,"fork":false,"pushed_at":"2022-04-01T23:12:21.000Z","size":76,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T01:18:13.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/DavidMChan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","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":"2021-07-12T06:11:01.000Z","updated_at":"2023-08-27T19:29:45.000Z","dependencies_parsed_at":"2022-07-25T01:47:55.026Z","dependency_job_id":null,"html_url":"https://github.com/DavidMChan/ustat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fustat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fustat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fustat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fustat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidMChan","download_url":"https://codeload.github.com/DavidMChan/ustat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766733,"owners_count":21158301,"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-15T01:06:27.496Z","updated_at":"2025-04-13T19:08:04.394Z","avatar_url":"https://github.com/DavidMChan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ustat\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FDavidMChan%2Fustat.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FDavidMChan%2Fustat?ref=badge_shield)\n\nA micro-statistics program (like ministat) written in Rust which computes the sum, mean, median, min, max, standard deviation and a one-way ANOVA of a set of input files.\n\nInstallation\n```\n\u003e cargo install ustat\n```\n\nIf you don't have cargo, you can easily install it with:\n```\n\u003e curl https://sh.rustup.rs -sSf | sh \u0026\u0026 source $HOME/.cargo/env\n```\n\n```\nUsage:\n  ustat [OPTIONS] [FILE ...]\n\nCompute statistics for the given input file(s).\n\nPositional arguments:\n  file                  The input file(s) to compute statistics for (Use stdin\n                        if not specified)\n\nOptional arguments:\n  -h,--help             Show this help message and exit\n  -c,--column COLUMN    The column(s) to extract data from (Default: 0 for all\n                        files, runs from 0 to ...)\n  -d,--delimiter DELIMITER\n                        The text delimiter character to use between columns\n                        (Default: ',')\n  -s,--skip-header      Skip the first line of the input file (Default: False)\n  --no-anova            Don't compute ANOVA for the input files (one file per\n                        population) (Default: False)\n  -V,--version          Show version\n```\n\n## Examples / Recipes\n\nCompute basic statistics for column 0 of a CSV:\n```bash\n\u003e cat file.csv | ustat\n```\n\nCompute basic statics and an ANOVA for three files (column 0 for each CSV file):\n```bash\n\u003e ustat file_1.csv file_2.csv file_3.csv\n```\n\nCompute basic statistics for a TSV file:\n```bash\n\u003e ustat -d '\\t' file_1.tsv\n```\n\nCompute statistics for column 0 of file_1.csv and column 3 of file_2.csv:\n```bash\n\u003e ustat -c 0 -c 3 file_1.csv file_2.csv\n```\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FDavidMChan%2Fustat.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FDavidMChan%2Fustat?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmchan%2Fustat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidmchan%2Fustat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmchan%2Fustat/lists"}