{"id":19303304,"url":"https://github.com/pboymt/py-dimit","last_synced_at":"2026-06-09T20:31:25.435Z","repository":{"id":90633803,"uuid":"433452603","full_name":"pboymt/py-dimit","owner":"pboymt","description":"Dimension of a quantity in Python language.","archived":false,"fork":false,"pushed_at":"2022-01-04T14:54:49.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T01:51:36.652Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pboymt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-11-30T14:02:03.000Z","updated_at":"2022-01-04T14:53:30.000Z","dependencies_parsed_at":"2023-07-16T03:00:18.752Z","dependency_job_id":null,"html_url":"https://github.com/pboymt/py-dimit","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pboymt/py-dimit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboymt%2Fpy-dimit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboymt%2Fpy-dimit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboymt%2Fpy-dimit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboymt%2Fpy-dimit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pboymt","download_url":"https://codeload.github.com/pboymt/py-dimit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboymt%2Fpy-dimit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34125332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-09T23:25:58.398Z","updated_at":"2026-06-09T20:31:25.418Z","avatar_url":"https://github.com/pboymt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-dimit\n\nDimension of a quantity in Python language.\n\n## Installation\n\n```bash\n$ pip install dimit\n# or\n$ python -m pip install dimit\n```\n\n## Usage\n\n```python\nfrom dimit import Dimension, L, M, T, DIMLESS\n\n# L is a preset dimension for length\nDimension('L') == L\n# Output: True\n\n# Build a dimension of velocity (LT^-1).\nVelocity = L / T # or L * T**-1\n# or\nVelocity = Dimension('LT-1')\n# Output: Dimension(LT-1)\n\n# Only support operator *, / amd **.\nL*L*L == L**3\n# Output: True\n\n# Compare two dimensions\nDimension('LMT-2') == Dimension('MLT-2')\n# Output: True\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboymt%2Fpy-dimit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpboymt%2Fpy-dimit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboymt%2Fpy-dimit/lists"}