{"id":24449076,"url":"https://github.com/petrkryslucsd/pystran","last_synced_at":"2025-06-26T16:09:50.319Z","repository":{"id":274211113,"uuid":"890107465","full_name":"PetrKryslUCSD/pystran","owner":"PetrKryslUCSD","description":"Python package for structural analysis with trusses and beams","archived":false,"fork":false,"pushed_at":"2025-06-08T15:31:09.000Z","size":4179,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T16:09:28.665Z","etag":null,"topics":["analysis","beam","python","rigid","rigid-body","spring","structural","structural-analysis","structure","truss"],"latest_commit_sha":null,"homepage":"","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/PetrKryslUCSD.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,"zenodo":null}},"created_at":"2024-11-18T02:01:17.000Z","updated_at":"2025-06-08T15:31:12.000Z","dependencies_parsed_at":"2025-02-10T17:34:26.461Z","dependency_job_id":"46c21229-36f8-4d0f-9835-9b5ba43b2ae3","html_url":"https://github.com/PetrKryslUCSD/pystran","commit_stats":null,"previous_names":["petrkryslucsd/pystran"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PetrKryslUCSD/pystran","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2Fpystran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2Fpystran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2Fpystran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2Fpystran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PetrKryslUCSD","download_url":"https://codeload.github.com/PetrKryslUCSD/pystran/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2Fpystran/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262099728,"owners_count":23258670,"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":["analysis","beam","python","rigid","rigid-body","spring","structural","structural-analysis","structure","truss"],"created_at":"2025-01-21T00:36:53.779Z","updated_at":"2025-06-26T16:09:50.293Z","avatar_url":"https://github.com/PetrKryslUCSD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![Documentation pages](https://img.shields.io/badge/documentation-blue)](https://petrkryslucsd.github.io/pystran)\n \n# pystran: Python for Structural Analysis\n\nA simple structural analysis tool in Python, for structures consisting of truss\nand beam members, springs, and rigid bodies, both in two dimensions and in three dimensions.\n\n\n![Alt pystran capabilities in graphic abstract](docs/splash.png)\n\n## News\n\n- 03/13/2025: Update documentation for the sphinx system.\n- 03/10/2025: Add rigid links and general springs.\n\n\n[Past news](#past-news)\n\n## Features \u0026 Limitations\n\n\n- The package analyzes two-dimensional and three-dimensional structures made up\n  of truss (axial) members and beams (possibly in combination), rigid links, and\n  general springs. Concentrated masses can be added at joints.\n- Linear statics and dynamics (free vibration) solvers are included.\n- Only elastic models can be solved.\n- For beams, only the Bernoulli-Euler model is implemented, so no shear\n  deformation is taken into account.\n- Only straight members are treated.\n- It is assumed that the cross sections are doubly symmetric, and there is no coupling between the bending actions in the\n  two orthogonal principal planes.\n- Coupling of axial and bending action is not implemented. This means that the\n  neutral axis must pass through the centroid.\n- Warping of the cross sections is not modelled, hence only free torsion\n  effects are included.\n- Member loading is not considered. All member loading needs to be converted to\n  nodal forces by the user.\n- Member end releases (hinges)\n  are not implemented. Internal hinges can be modelled with linked joints. \n- Degrees of freedom are only along the global Cartesian axes. Skew supports\n  are not included (except with a penalty method based on springs)\n- Offsets of the beams from the joints are currently not implemented.\n- Rigid links between pairs of joints can be modeled with a penalty approach.\n\n\n## Requirements\n\n`pystran` depends on the following Python packages: \n- NumPy\n- SciPy\n- Matplotlib\n\nThese requirements can be easily satisfied by running the examples in the [Spyder IDE](docs/spyder/spyder.md).\n\n## Documentation\n\nDocumentation of the package is provided in these [HTML pages](https://petrkryslucsd.github.io/pystran).\n\nMore details about the generation of the documentation are [here](docs/make_docs.md).\n\n## Running\n\nThis package is not distributed through the official Python channels.\nIt needs to be downloaded from GitHub as a zip file, and expanded in some convenient location. \n\nThe __`pystran` folder__ can be located by looking for this README.md file.\n\nThe easiest way to run a pystran example is to download and install Spyder 6.\n[Detailed instructions](docs/spyder/spyder.md) are provided. \n\nIt is also possible to run simulations using a [plain Python in a terminal](docs/terminal/terminal.md).\n\n\n## Tutorials\n\nStep-by-step tutorials are available in the [`tutorials`](./tutorials) folder. \nFor example, run tutorials in the `pystran/tutorials` in the terminal  as \n```\npy tutorials/01_three_bars_tut.py\n```\n\nOr, [use Spyder](docs/spyder/spyder.md), which makes the whole process a lot easier to set up.\n\n\n## Testing\n\nIn the `pystran/tests` folder, run \n```\npy unittests_planar_truss.py \n```\nand analogously for the other unit test files.\n\n## \u003ca name=\"past-news\"\u003e\u003c/a\u003ePast news\n\n- 03/05/2025: Describe the operation of the scripts.\n- 02/12/2025: Make it possible to use general joint and member identifiers.\n- 02/05/2025: Add general springs to ground.\n- 01/30/2025: Add tutorials.\n- 01/22/2025: Implement initial functionality. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrkryslucsd%2Fpystran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetrkryslucsd%2Fpystran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrkryslucsd%2Fpystran/lists"}