{"id":16811918,"url":"https://github.com/dcousens/sibytes","last_synced_at":"2025-03-17T11:13:34.322Z","repository":{"id":66129768,"uuid":"225747849","full_name":"dcousens/sibytes","owner":"dcousens","description":"A streaming, line-delimited, integer to SI unit bytes tool.","archived":false,"fork":false,"pushed_at":"2020-12-27T12:23:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T20:35:05.504Z","etag":null,"topics":["binary","conversion","cplusplus","integer","precision","tool","units"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/dcousens.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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-04T00:57:58.000Z","updated_at":"2020-12-27T12:23:31.000Z","dependencies_parsed_at":"2023-03-09T19:30:29.092Z","dependency_job_id":null,"html_url":"https://github.com/dcousens/sibytes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fsibytes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fsibytes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fsibytes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcousens%2Fsibytes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcousens","download_url":"https://codeload.github.com/dcousens/sibytes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022724,"owners_count":20385134,"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":["binary","conversion","cplusplus","integer","precision","tool","units"],"created_at":"2024-10-13T10:20:05.095Z","updated_at":"2025-03-17T11:13:34.300Z","avatar_url":"https://github.com/dcousens.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sibytes\nA streaming, line-delimited, integer to SI unit bytes tool.\n\nThe output is not rounded,  precision is maintained.\n\nMaximum input is a 64 bit integer, or `18446744073709551615`.\n\n\n## Examples\n``` bash\n\u003e echo '1' | sibytes\n1 B\n\n\u003e echo '10' | sibytes\n10 B\n\n\u003e echo '100' | sibytes\n100 B\n\n\u003e echo '1000' | sibytes\n1 kB\n\n\u003e echo '1077' | sibytes\n1.077 kB\n\n\u003e echo '10000' | sibytes\n10 kB\n\n\u003e echo '100000' | sibytes\n100 kB\n\n\u003e echo '1000000' | sibytes\n1 MB\n\n...\n\n\u003e echo '162195527' | sibytes\n162.195527 MB\n\n\u003e echo '1000000000000' | sibytes\n1 TB\n\n\u003e echo -e '111\\n2222\\n4444224444' | sibytes\n111 B\n2.222 kB\n4.444224444 GB\n\n\u003e echo '1000 foobar' | sibytes\n1 kB\n\n\u003e echo '18446744073709551616' | sibytes\nterminate called after throwing an instance of 'std::out_of_range'\n  what():  stol\n\n\u003e echo 'foobar' | sibytes\nterminate called after throwing an instance of 'std::invalid_argument'\n  what():  stol\n```\n\n## LICENSE [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcousens%2Fsibytes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcousens%2Fsibytes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcousens%2Fsibytes/lists"}