Skip to main content

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

reliafy-0.2.0.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reliafy-0.2.0-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

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

Hashes for reliafy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0041a538bd466b37708a70f77aa7207710d1d0d27171b4d7da5b5e6667adf4dd
MD5 c7f7263f6a6bbd8b379ec22e9811629f
BLAKE2b-256 af9e9ae638e86d404d39b9c503447584307152606dd302d320f11dc0887694fd

See more details on using hashes here.

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

Hashes for reliafy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 befd635195924d0de9087eec0218849a4e2f00a9e5a64bca83134c92572ae8e4
MD5 ca636cb5b6f61209522117794145f70d
BLAKE2b-256 c2e6c47685197cc1fcc5dd779b3e808a55a80e1d158e76bc1885b104581fd355

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page