{"id":16672212,"url":"https://github.com/echo724/srelativity-py","last_synced_at":"2025-03-13T01:12:23.643Z","repository":{"id":131289051,"uuid":"245338430","full_name":"echo724/srelativity-py","owner":"echo724","description":"Python Module for Calculating Special Relativity using Minkowski Matrix","archived":false,"fork":false,"pushed_at":"2020-04-06T08:15:54.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T17:57:26.921Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/echo724.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":"2020-03-06T05:36:26.000Z","updated_at":"2020-04-06T08:15:56.000Z","dependencies_parsed_at":"2023-07-30T22:15:15.086Z","dependency_job_id":null,"html_url":"https://github.com/echo724/srelativity-py","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/echo724%2Fsrelativity-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fsrelativity-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fsrelativity-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fsrelativity-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echo724","download_url":"https://codeload.github.com/echo724/srelativity-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318758,"owners_count":20272144,"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-12T12:05:37.312Z","updated_at":"2025-03-13T01:12:23.610Z","avatar_url":"https://github.com/echo724.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# srelativity-py\n\nA Python Module for special relativity mathematics. **srelativity-py** is using the symbolic math library **[sympy](https://www.sympy.org/en/index.html)**.\n\nsrelativity-py is made for calculating events by Lorentz Transformations used in Special Relativity. Using srelativity-py will help for getting a value of Lorentz factor, calculating event in moving frame, and dot product with two events in the Minkowski space.\n\n## Dependencies\n\nThe following dependencies are required\n\n- [sympy](https://www.sympy.org/en/index.html)\n\n## Download\n\n    $ git clone https://github.com/eunchan1001/srelativity-py.git\n\n## Example\n\n    from srelativity import *\n    \n    foo = LT(0.6) # makes Lorentz Transformation object with velocity 0.6(c)\n    \n    foo.rest(1,2) # makes event in rest frame (x,ct) coordinate\n    foo.moving() # returns the coordinate of moving frame (x',ct')\n    \n    foo.gamma() # returns Lorentz factor 𝜸\n    \n    event2 = vec(2,1) # makes vector (2,1)\n    foo.dot(event2) # returns dot product with Minkowski metric\n    \n    foo.inv() # returns inverse event coordinate\n    \n    foo.lt() # returns Lorentz Transformation sympy matrix (Map)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecho724%2Fsrelativity-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecho724%2Fsrelativity-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecho724%2Fsrelativity-py/lists"}