Reliafy CLI for reliability analysis, design optimization, and simulation.
Project description
Reliafy CLI
Reliafy CLI is a Python-based command-line interface for reliability analysis, reliability-based design optimization, and simulation workflows with profile-based configuration.
Core capabilities include First-Order Reliability Method (FORM), Second-Order Reliability Method (SORM), Inverse FORM, Inverse SORM, Monte Carlo simulation, and Importance Sampling for rare-event probability estimation. These workflows cover forward reliability evaluation, reliability-constrained design, and post-design simulation using a consistent problem-module interface. Reliafy supports correlated, non-normal random variables through the Nataf transformation, an isoprobabilistic mapping to standard normal space.
Run outputs are designed for practical engineering decisions and reporting workflows. Depending on options, results include reliability metrics and design points, tabulated summaries (Excel/JSON), plot reports (PDF), and pickled Matplotlib figure objects for post-processing.
Quick Start
# Install from PyPI
pip install reliafy
# Show help
reliafy --help
# Copy packaged example problems
reliafy examples copy
# Run an analysis with the default profile
reliafy analyze default --include-sorm --plot-rfad
Profiles
Profiles are YAML files under profiles/ that control run options.
# Create and edit a custom profile
reliafy profile new custom
reliafy profile nano custom
# or
reliafy profile vim custom
# Validate, list, copy, rename
reliafy profile validate custom
reliafy profile list
reliafy profile copy default mycopy
reliafy profile rename oldname newname
Full Documentation
Read the full documentation at:
Requirements
- Python 3.10+
- Internet connection for API access and authentication
Testing
Unit and integration tests are provided in the tests/ directory.
# Run unit tests
python -m unittest discover tests -p 'test_*.py' -v
# Run integration tests with real API calls
RELIAFY_RUN_API_TESTS=1 python -m unittest tests.test_cli_api_integration -v
See TESTING.md for details on test structure and rate limit behavior.
Notes
- Auth0 device flow uses public values (domain, client ID, audience). No client secret is used in the CLI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reliafy-0.2.0.tar.gz.
File metadata
- Download URL: reliafy-0.2.0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0041a538bd466b37708a70f77aa7207710d1d0d27171b4d7da5b5e6667adf4dd
|
|
| MD5 |
c7f7263f6a6bbd8b379ec22e9811629f
|
|
| BLAKE2b-256 |
af9e9ae638e86d404d39b9c503447584307152606dd302d320f11dc0887694fd
|
File details
Details for the file reliafy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: reliafy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
befd635195924d0de9087eec0218849a4e2f00a9e5a64bca83134c92572ae8e4
|
|
| MD5 |
ca636cb5b6f61209522117794145f70d
|
|
| BLAKE2b-256 |
c2e6c47685197cc1fcc5dd779b3e808a55a80e1d158e76bc1885b104581fd355
|