{"id":23823403,"url":"https://github.com/mbudde/tabulate","last_synced_at":"2025-09-07T05:32:33.451Z","repository":{"id":57669204,"uuid":"103779680","full_name":"mbudde/tabulate","owner":"mbudde","description":"Tool for aligning data in columns","archived":false,"fork":false,"pushed_at":"2022-11-09T19:28:29.000Z","size":73,"stargazers_count":11,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-08T21:36:15.923Z","etag":null,"topics":["cli","command-line","unix-pipes"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbudde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-16T19:50:42.000Z","updated_at":"2024-11-06T14:24:13.000Z","dependencies_parsed_at":"2022-08-27T01:40:47.770Z","dependency_job_id":null,"html_url":"https://github.com/mbudde/tabulate","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbudde%2Ftabulate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbudde%2Ftabulate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbudde%2Ftabulate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbudde%2Ftabulate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbudde","download_url":"https://codeload.github.com/mbudde/tabulate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232182413,"owners_count":18484613,"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":["cli","command-line","unix-pipes"],"created_at":"2025-01-02T10:27:03.795Z","updated_at":"2025-01-02T10:27:04.706Z","avatar_url":"https://github.com/mbudde.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tabulate\n\nAlign data in columns using heuristics to find suitable column sizes that\nminimize the amount of wasted space. Useful for files like access logs where\nsome lines have columns that are much larger than than the rest of the lines.\n\n```\n$ cat input.txt\naaa bbb ccc\na   b   c\naaaaaaaaaaaaaaaaaaaaaaa bb cc\naaaaa b ccccc\naaa bb ccc\naaaa bb cccc\naaa bb ccc\naaa bb ccc\naaaaa b ccccc\naaa bb ccc\naaa bb ccc\naaaaa b ccccc\n$ tabulate \u003cinput.txt\naaa       bbb  ccc\na         b    c\naaaaaaaaaaaaaaaaaaaaaaa  bb  cc\naaaaa     b    ccccc\naaa       bb   ccc\naaaa      bb   cccc\naaa       bb   ccc\naaa       bb   ccc\naaaaa     b    ccccc\naaa       bb   ccc\naaa       bb   ccc\naaaaa     b    ccccc\n$ tabulate -t \u003cinput.txt\naaa       bbb  ccc\na         b    c\naaaaaaa…  bb   cc\naaaaa     b    ccccc\naaa       bb   ccc\naaaa      bb   cccc\naaa       bb   ccc\naaa       bb   ccc\naaaaa     b    ccccc\naaa       bb   ccc\naaa       bb   ccc\naaaaa     b    ccccc\n```\n\n## Installing\n\n```\ncargo install tabulate\n```\n\n## Options\n\n```\nUsage: tabulate [OPTIONS]\n\nOptions:\n  -t, --truncate [\u003cLIST\u003e...]\n          Truncate data that does not fit in a column. Takes an optional list of columns that should be\n          truncated. If no LIST is given all columns are truncated\n  -c, --compress-cols \u003cRATIO\u003e\n          Number between 0.0 and 1.0 that controls how much columns are compressed. Set to 0 to disable\n          column compression, i.e. columns are sized to fit the largest value [default: 1.0]\n  -n, --estimate-count \u003cN\u003e\n          Estimate column sizes from the first N lines. The value 0 means all lines [default: 1000]\n  -i, --include \u003cLIST\u003e...\n          Select which columns to include in the output\n  -x, --exclude \u003cLIST\u003e...\n          Select which columns should be excluded from the output. This option takes precedence over\n          --include\n  -d, --delimiter \u003cDELIM\u003e\n          Use characters of DELIM as column delimiters [default: \" \\t\"]\n  -o, --output-delimiter \u003cDELIM\u003e\n          Specify the delimiter to use to separate columns in the output [default: \"  \"]\n  -s, --strict\n          Parse columns as strictly being delimited by a single delimiter\n      --online\n          Print lines during column size estimation phase\n      --column-info\n          Print information about the columns\n  -h, --help\n          Print help information\n  -V, --version\n          Print version information\n\nLIST should be a comma-separated list of ranges. Each range should be of one of the following forms:\n\n  N       N'th column, starting at 1\n  N-      from N'th column to end of line\n  N-M     from N'th to M'th column\n  -M      from first to M'th column\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbudde%2Ftabulate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbudde%2Ftabulate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbudde%2Ftabulate/lists"}