{"id":16494732,"url":"https://github.com/adtzlr/trusspy","last_synced_at":"2025-08-24T12:37:32.540Z","repository":{"id":41413168,"uuid":"145743574","full_name":"adtzlr/trusspy","owner":"adtzlr","description":"Nonlinear Truss Solver for Python","archived":false,"fork":false,"pushed_at":"2024-04-16T17:31:09.000Z","size":128732,"stargazers_count":55,"open_issues_count":2,"forks_count":11,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-11T01:11:15.718Z","etag":null,"topics":["fem","mechanics","nonlinear","python","structural-analysis","truss","truss-solver"],"latest_commit_sha":null,"homepage":"http://trusspy.readthedocs.io/","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/adtzlr.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":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-22T17:50:29.000Z","updated_at":"2025-03-10T13:25:52.000Z","dependencies_parsed_at":"2024-10-27T11:20:45.768Z","dependency_job_id":null,"html_url":"https://github.com/adtzlr/trusspy","commit_stats":{"total_commits":163,"total_committers":3,"mean_commits":"54.333333333333336","dds":0.09202453987730064,"last_synced_commit":"df3027f4684aa3dd0e3e8251451c462f85edfff4"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Ftrusspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Ftrusspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Ftrusspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Ftrusspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adtzlr","download_url":"https://codeload.github.com/adtzlr/trusspy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826783,"owners_count":20354220,"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":["fem","mechanics","nonlinear","python","structural-analysis","truss","truss-solver"],"created_at":"2024-10-11T14:15:25.259Z","updated_at":"2025-08-24T12:37:32.528Z","avatar_url":"https://github.com/adtzlr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://trusspy.readthedocs.io\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/adtzlr/trusspy/main/docs/_static/logo.png\" height=\"80px\"/\u003e\u003c/a\u003e\n  \u003cp align=\"center\"\u003eTruss Solver for Python.\u003c/p\u003e\n\u003c/p\u003e\n\n[![PyPI version shields.io](https://img.shields.io/pypi/v/trusspy.svg)](https://pypi.python.org/pypi/trusspy/) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/adtzlr/trusspy/main?labpath=docs%2Fexamples%2Fe101%2Fe101.ipynb) \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/adtzlr/trusspy/blob/main/docs/examples/e101/e101.ipynb\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\u003c/a\u003e [![Documentation Status](https://readthedocs.org/projects/trusspy/badge/?version=latest)](https://trusspy.readthedocs.io/en/latest/?badge=latest) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![Made with love in Graz (Austria)](https://img.shields.io/badge/Made%20with%20%E2%9D%A4%EF%B8%8F%20in-Graz%20(Austria)-0c674a) [![codecov](https://codecov.io/gh/adtzlr/trusspy/branch/main/graph/badge.svg?token=2Z0ZKOUKPW)](https://codecov.io/gh/adtzlr/trusspy) [![DOI](https://zenodo.org/badge/145743574.svg)](https://zenodo.org/badge/latestdoi/145743574) ![Codestyle black](https://img.shields.io/badge/code%20style-black-black)\n\n**TrussPy** is a 3D **Truss**-Solver written in **Py**-thon which is capable of material and geometric nonlinearities. It uses an object-oriented approach to structure the code in meaningful classes, attributes and methods. TrussPy contains both multistep functionality (multiple loadcase analysis with sequenced external forces) and an adaptive method to control incremental stepwidths. A simple post-processing inside TrussPy is directly available via Matplotlib. Model Plots whether in undeformed or deformed configuration with optional contour plots on element forces are easy to show. They may also be generated for a series of increments and saved as a GIF Movie. Last but not least History (a.k.a. x-y) Plots for a series of increments or Path Plots along a given node path may be generated for nodal properties (displacements, forces) or global quantities like the Load-Proportionality-Factor (LPF).\n   \nOfficial Documentation: http://trusspy.readthedocs.io/\n\n# Installation\nUse `pip` to install TrussPy\n\n```\npip install trusspy\n```\n\n# Example\n```python\nimport trusspy as tp\n\nM = tp.Model()\n\n# create nodes\nwith M.Nodes as MN:\n    MN.add_node(1, (0, 0, 0))\n    MN.add_node(2, (1, 0, 0))\n\n# create element\nwith M.Elements as ME:\n    ME.add_element(1, [1, 2])\n    ME.assign_material(\"all\", [1])\n    ME.assign_geometry(\"all\", [1])\n\n# create displacement (U) boundary conditions\nwith M.Boundaries as MB:\n    MB.add_bound_U(1, (0, 0, 0))\n    MB.add_bound_U(2, (1, 0, 0))\n\n# create external forces\nwith M.ExtForces as MF:\n    MF.add_force(2, (1, 0, 0))\n\n# build model, run, show results\nM.build()\nM.run()\n\n# plot results of last increment\nM.plot_model(inc=-1, contour=\"force\")\n```\n\t\n# Online Notebook\nTry TrussPy without installation in an [Interactive Online Notebook](\nhttps://colab.research.google.com/github/adtzlr/trusspy/blob/main/docs/examples/e101/e101.ipynb).\n\n# Changelog\nAll notable changes to this project will be documented in [this file](CHANGELOG.md). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n# License\nTrussPy - Truss Solver for Python (C) 2023 Andreas Dutzler, Graz (Austria).\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtzlr%2Ftrusspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadtzlr%2Ftrusspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtzlr%2Ftrusspy/lists"}