{"id":22809160,"url":"https://github.com/wolgemoth/unit-conversions","last_synced_at":"2025-10-17T07:24:57.448Z","repository":{"id":237505262,"uuid":"794581910","full_name":"wolgemoth/unit-conversions","owner":"wolgemoth","description":"A C++ utility providing methods for converting between various speed, distance, rotation, time, temperature, pressure, mass, area, and volume units.","archived":false,"fork":false,"pushed_at":"2024-05-09T17:08:45.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T00:31:49.560Z","etag":null,"topics":["area","cpp","cpp17","distance","hashtables","header-only","mass","pressure","rotation","speed","temperature","templated","templates","time","units-of-measurement","volume"],"latest_commit_sha":null,"homepage":"","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/wolgemoth.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":"2024-05-01T14:13:02.000Z","updated_at":"2024-05-09T17:08:48.000Z","dependencies_parsed_at":"2024-05-02T09:20:58.648Z","dependency_job_id":"59c2470a-4fa0-4bc4-83cf-205ab66dc0f7","html_url":"https://github.com/wolgemoth/unit-conversions","commit_stats":null,"previous_names":["wolgemoth/unit-conversions"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolgemoth%2Funit-conversions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolgemoth%2Funit-conversions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolgemoth%2Funit-conversions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolgemoth%2Funit-conversions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolgemoth","download_url":"https://codeload.github.com/wolgemoth/unit-conversions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379362,"owners_count":20767696,"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":["area","cpp","cpp17","distance","hashtables","header-only","mass","pressure","rotation","speed","temperature","templated","templates","time","units-of-measurement","volume"],"created_at":"2024-12-12T11:13:49.181Z","updated_at":"2025-10-17T07:24:52.405Z","avatar_url":"https://github.com/wolgemoth.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unit Conversions\n\n### About\n\nThis is a C++ library implementing a number of conversions between common speed, distance, rotation, time, temperature, pressure, mass, area, and volume units, as according to their definitions in the International System of Units.\n\nIt makes use of hashtables to quickly deduce the unit as represented by a string literal.\n\nIf you find a bug or have a feature-request, please raise an issue.\n\n### Disclaimer\n\nThis library is designed for use in situations requiring the rapid processing of large volumes of data, where concessions to the accuracy of the result are acceptable in favour of increased performance.\n\nAs it uses floating-point representations for the conversions it is not suitable for use in scientific applications requiring extreme precision or error correction. If your application needs anything other than an approximate conversion, I recommend you to use a different library which is better suited to your needs.\n\n### Note\n\nUnits that vary depending on their situation or context use fixed values in this library:\n\n- This library defines Mach as a constant of 340.29 *m/s*.\n- This library uses the *c* constant to represent light speed. \n\n### Dependencies\n\n#### [cpp-hashmap v2.0.1](https://github.com/wolgemoth/cpp-hashmap)\n\n### Instructions\n\nThe implementation is header-only and written in templated C++17. You should not need to make any adjustments to your project settings or compiler flags.\n\nTo use in your project, simply include the header file and its dependency.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolgemoth%2Funit-conversions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolgemoth%2Funit-conversions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolgemoth%2Funit-conversions/lists"}