{"id":42569400,"url":"https://github.com/tianyikillua/tensorconvert","last_synced_at":"2026-01-28T21:04:40.849Z","repository":{"id":185700847,"uuid":"672275609","full_name":"tianyikillua/tensorconvert","owner":"tianyikillua","description":"Easy-to-use Python package for the conversion between various matrix representations of second-order and fourth-order tensors","archived":false,"fork":false,"pushed_at":"2025-08-22T13:26:28.000Z","size":947,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T15:36:02.336Z","etag":null,"topics":["mandel","matrix","numerical-methods","scientific-computing","sympy","tensor","voigt"],"latest_commit_sha":null,"homepage":"https://tensorconvert.readthedocs.io","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/tianyikillua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-29T14:14:23.000Z","updated_at":"2025-08-22T13:26:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c8380b0-c92a-4be6-ab78-c31cd35d0a88","html_url":"https://github.com/tianyikillua/tensorconvert","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"1f8037429d281d38bc20a5e4e7e009f9ff646cc8"},"previous_names":["tianyikillua/tensorconvert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tianyikillua/tensorconvert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tianyikillua%2Ftensorconvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tianyikillua%2Ftensorconvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tianyikillua%2Ftensorconvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tianyikillua%2Ftensorconvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tianyikillua","download_url":"https://codeload.github.com/tianyikillua/tensorconvert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tianyikillua%2Ftensorconvert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28851838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["mandel","matrix","numerical-methods","scientific-computing","sympy","tensor","voigt"],"created_at":"2026-01-28T21:04:40.065Z","updated_at":"2026-01-28T21:04:40.845Z","avatar_url":"https://github.com/tianyikillua.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conversion between tensor representations\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![GitHub](https://img.shields.io/github/license/tianyikillua/tensorconvert)](https://github.com/tianyikillua/tensorconvert/blob/master/LICENSE.txt)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Documentation](https://readthedocs.org/projects/tensorconvert/badge/?version=latest)](https://tensorconvert.readthedocs.io/en/latest/)\n\nThis package provides an easy-to-use API to represent **symbolic** second-order and fourth-order tensors. Various representations frequently used in physics are provided and conversion between them can be obtained.\n\nCompared to [mechkit](https://github.com/JulianKarlBauer/mechkit), the scope of this package is not limited to continuum mechanics since these representations can be used for other domains.\n\nThe API is inspired from [scipy.spatial.transform.Rotation](https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Rotation.html):\n\n- Representing an existing tensor is performed by `as_...` methods.\n- Initializing from a representation uses `from_...` methods.\n\nThanks to the [Fluent API](https://en.wikipedia.org/wiki/Fluent_interface#Python), `as_...` methods can be applied directly after `from_...` methods. For example, to convert a fourth-order tensor represented by Mandel notation to Voigt notation, we can do\n```python\nFourthOrderTensor(...).from_mandel(...).to_voigt()\n```\n\n## Installation\n\n[sympy](https://www.sympy.org/) is a strong dependency of this package since all tensor representations are `sympy` objects.\n\nThe package is still being developed. You can use `pip` to install the current `main` version.\n```sh\npip install -U git+https://github.com/tianyikillua/tensorconvert.git@main\n```\n\n## Documentation\n\nRefer to the [documentation](https://tensorconvert.readthedocs.io/en/latest/) for the API and the examples using `tensorconvert`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianyikillua%2Ftensorconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftianyikillua%2Ftensorconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianyikillua%2Ftensorconvert/lists"}