{"id":27292922,"url":"https://github.com/kcalmwinds/dataconverter","last_synced_at":"2026-05-16T18:31:38.901Z","repository":{"id":62560582,"uuid":"186906004","full_name":"kcalmwinds/DataConverter","owner":"kcalmwinds","description":"I needed a tool that would convert data sizes.  It was a good candidate to put up even if it is just useful for me.  If work with 8k pages and need the conversion, this tool is your one stop.  ","archived":false,"fork":false,"pushed_at":"2020-12-23T17:29:31.000Z","size":4831,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T22:41:37.460Z","etag":null,"topics":["dataconverter","sql-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kcalmwinds.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-05-15T21:36:20.000Z","updated_at":"2020-12-23T17:29:33.000Z","dependencies_parsed_at":"2022-11-03T14:45:32.800Z","dependency_job_id":null,"html_url":"https://github.com/kcalmwinds/DataConverter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kcalmwinds/DataConverter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcalmwinds%2FDataConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcalmwinds%2FDataConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcalmwinds%2FDataConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcalmwinds%2FDataConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kcalmwinds","download_url":"https://codeload.github.com/kcalmwinds/DataConverter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kcalmwinds%2FDataConverter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270749194,"owners_count":24638673,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dataconverter","sql-server"],"created_at":"2025-04-11T22:40:10.499Z","updated_at":"2026-05-16T18:31:38.872Z","avatar_url":"https://github.com/kcalmwinds.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataConverter\nI needed a tool that would convert data sizes.  It was a good candidate to put up.\n\n# Details\n\nGive this tool a string with space separated values and it will return the byte size conversions from bytes to petabytes.\n\n# Usage\n\nFirst arguement will always be what the current data size level is in:\n    pages = p\n    kb = k\n    mb = m\n    gb = g\n    tb = t\n    pb = pb\n    \n any number values after that will be summed, then output to 4 conversions + the current data size level. \n\n You can also mix and repeat arguments!  \n \n p num num k num num pb 1 p num num num k num ...\n\n This makes the tool more versitile than originally implemented. \n \n# Example\n \n p 100 200 300 k 400 250 512 pb 1 g 400 25 p 50000\n\n will yield:\n\n\nBytes : 1126356662822912.0\n\nPages : 137494709817.25\n\nKilobytes : 1099957678538.0\n\nMegabytes : 1074177420.4472656\n\nGigabytes : 1049001.3871555328\n\nTerabytes : 1024.415417144075\n\nPetabytes : 1.0004056808047608\n\n\n# todo\n\nDucktype for:\n\nstring - space separated\nstring - comma separated\ndictionary\ntuple\nlist\n\nThe return type of this tool is always a dict so you can pick which or all byte value types.\nthis allows the appliation to choose what values to collect and use.\n\n\n \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcalmwinds%2Fdataconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkcalmwinds%2Fdataconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcalmwinds%2Fdataconverter/lists"}