PySTRA - Python Structural Reliability Analysis
PySTRA provides a carefully validated implementation of established and selected modern structural reliability methods, coupled with practical tools for code calibration and structural assessment. It integrates with NumPy, SciPy and pandas, and supports reliability models defined by Python functions.
Installation
Install PySTRA from PyPI:
python -m pip install pystra
Use python -m pip install "pystra[al]" for the optional active-learning methods. The installation guide covers environments, notebooks and installing from source.
PySTRA 2.0 is not compatible with 1.x. What’s new summarizes the release, and the migration guide shows how to update 1.x code; python -m pystra.migrate makes the unambiguous changes for you. To stay on 1.x, install "pystra<2" and use the 1.x documentation.
Features
FORM and SORM, direct and importance sampling, line sampling and subset simulation.
Explicit copulas and probability transformations, component and system reliability.
Code calibration with normalized reliability, load combinations and FBC processes.
Structural decision studies, target reliability and consequence/cost models.
Optional surrogate-assisted reliability with independent benchmark checks.
Result records, tables and reusable plotting helpers for engineering studies.
Limit states are Python functions. Each algorithm has response-smoothness, transformation and convergence requirements; use the method-selection guide to choose a starting point and plan validation.
Getting started
The first analysis checks FORM against an exact resistance-minus-load probability. Follow the example categories for more advanced methods and the benchmark catalogue for published problems. For problems with very small failure probabilities, see the high-reliability guide.
Contributing
See the contributor guide for coding conventions, numerical validation, building the documentation and pull-request guidance.
Credits
PySTRA is built on PyRe by Jürgen Hackl; FERUM4.1 by Jean-Marc Bourinet; FERUM by Terje Haukaas and Armen Der Kiureghian.
Copyright 2021 The Pystra Developers.
List of references
[Bourinet2009] J.-M. Bourinet, C. Mattrand, and V Dubourg. A review of recent features and improvements added to FERUM software. In Proc. of the 10th International Conference on Structural Safety and Reliability (ICOSSAR’09), Osaka, Japan, 2009.
[Bourinet2010] J.-M. Bourinet. FERUM 4.1 User’s Guide, 2010.
[DerKiureghian2006] A. Der Kiureghian, T. Haukaas, and K. Fujimura. Structural reliability software at the University of California, Berkeley. Structural Safety, 28(1-2):44–67, 2006.
[Hackl2013] J. Hackl. Generic Framework for Stochastic Modeling of Reinforced Concrete Deterioration Caused by Corrosion. Master’s thesis, Norwegian University of Science and Technology, Trondheim, Norway, 2013.
License
PySTRA is distributed under the GNU General Public License, version 3 or later (GPL-3.0-or-later). See LICENSE for the terms and retained PyRe notice.
Metadata
Release files for Pystra 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pystra-2.0.0.tar.gz | 492.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pystra-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 748.2 kB
Release files / pystra-2.0.0.tar.gz
| Download URL | pystra-2.0.0.tar.gz |
|---|---|
| Size | 492.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0762290f97c6c34f6ddc26013cf9e451cbfec8438ac566d59bfe1492c3263835
|
|
BLAKE2b-256 checksum How to use checksums |
7e66372e9362507a929c3c1006d45b94544ded57970607a3de039e1e8c0e938d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / pystra-2.0.0-py3-none-any.whl
| Download URL | pystra-2.0.0-py3-none-any.whl |
|---|---|
| Size | 256.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7919947323f98d0d27c4a34a3ce6806ba9d989c53dce709bfe94b7030d57784
|
|
BLAKE2b-256 checksum How to use checksums |
343a37ac6921e318b1937af6002c993dc3a9bb511798d49a40a20b8827d9ae18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for Pystra 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pystra-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.