{"id":17016934,"url":"https://github.com/randomggames/engineeringnotation","last_synced_at":"2025-08-17T18:34:54.843Z","repository":{"id":212171636,"uuid":"730869891","full_name":"RandomGgames/EngineeringNotation","owner":"RandomGgames","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-21T23:55:49.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T00:28:01.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandomGgames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-12T21:18:42.000Z","updated_at":"2025-01-21T23:55:54.000Z","dependencies_parsed_at":"2024-02-07T22:48:57.243Z","dependency_job_id":null,"html_url":"https://github.com/RandomGgames/EngineeringNotation","commit_stats":null,"previous_names":["randomggames/engineeringnotation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGgames%2FEngineeringNotation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGgames%2FEngineeringNotation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGgames%2FEngineeringNotation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGgames%2FEngineeringNotation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomGgames","download_url":"https://codeload.github.com/RandomGgames/EngineeringNotation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244975287,"owners_count":20541267,"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-14T06:35:12.860Z","updated_at":"2025-03-22T15:23:35.268Z","avatar_url":"https://github.com/RandomGgames.png","language":"Python","readme":"# Engineering Notation\n\nThis Python module provides functionality to convert numeric values into engineering notation. Engineering notation is a way of representing numbers in scientific notation but the exponent is a power of 3, allowing numbers to be directly read as SI units.\n\n## Example usage\n\n```py\nfrom EngineeringNotation import *\n\nvalue = 12345678.9\n\n# Get the value in standard SI form (with metric prefix)\nsi_value = si_form(value)\n# sif(value) is an alias of si_form(value)\nprint(si_value) # Prints: 12.35 M as in Mega\n\n# Get the value in engineering form (with exponent)\neng_value = engineering_form(value)\n# engf(value) is an alias of engineering_form(value)\nprint(eng_value) # Prints: 12.35E+6 as in 12.35*10^6\n```\n## Formatting Units and Significant Digits\nBoth formatters are capable of incorporating units and rounding to a select number of digits after the decimal point. For example:\n```\nprint(si_value(value, 'V', 3)) # Prints: 12.346 MV\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomggames%2Fengineeringnotation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomggames%2Fengineeringnotation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomggames%2Fengineeringnotation/lists"}