Skip to main content

Reliafy CLI for reliability analysis, design optimization, and simulation.

Project description

Reliafy CLI

Reliafy CLI is a Python command-line tool for reliability analysis, reliability-based design optimization, and simulation workflows using profile-based configuration.

It supports FORM, SORM, Inverse FORM, Inverse SORM, Monte Carlo simulation, and Importance Sampling for rare-event probability estimation. Workflows cover forward reliability evaluation, reliability-constrained design, and post-design simulation with a consistent problem-module interface and support for correlated non-normal variables via Nataf transformation.

Run outputs are designed for engineering decisions and reporting, including reliability metrics and design points, tabulated summaries (Excel/JSON), plot reports (PDF), and pickled Matplotlib figure objects for post-processing.

What Reliafy CLI Does

  • Reliability analysis with FORM and SORM
  • Reliability-based design with inverse FORM/SORM workflows
  • Monte Carlo and importance sampling simulation
  • Profile-based YAML configuration for repeatable runs

Install and Quick Start

On first use, Reliafy will prompt you to authenticate. If you do not already have an account, you can create one during the sign-in flow.

# 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

Profile Management

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 and Validation

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 the testing guide 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.1.tar.gz (35.6 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.1-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file reliafy-0.2.1.tar.gz.

File metadata

  • Download URL: reliafy-0.2.1.tar.gz
  • Upload date:
  • Size: 35.6 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.1.tar.gz
Algorithm Hash digest
SHA256 29da9cadafc0d6d56e64ea9fb4c58cdc0f354f2ae07b34ddbe4ba2cb8a46985d
MD5 1029a57cf129574c47dcaab265d7037e
BLAKE2b-256 5a5a4e97a32d72a4e41c7c57f2c53c6b99bdee0254eefd5006b85e9681256fc2

See more details on using hashes here.

File details

Details for the file reliafy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: reliafy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 50.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a0bd91807304a3517020e54c3c8527b65d91e95f42375c4863b6d6590062fe
MD5 88d32b473bcfa359fbd3bc172d0c27a2
BLAKE2b-256 22494b55e61475fdf6609a96737b0a6aacb4f6c0911d0af1887359cfa72448b2

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