This release is a pre-release and may not be stable for production use.
OpenSees CLI Documentation
Command-line interface for authentication and simulation runs.
Install
pip install opensees-cli
For local development from this repo:
pip install -e cli/
Quick Start
# 1) Create account
ops auth signup --email you@example.com
# 2) Confirm account
ops auth confirm --email you@example.com --code 123456
# 3) Log in
ops auth login --email you@example.com
# 4) Submit a simulation
ops run submit ./model.py --timeout 300 --wait
Top-Level Commands
ops version
ops status
ops quota
ops help
version: print CLI versionstatus: show current login state and local config pathquota: show your current run quota
Auth Commands
ops auth signup --email you@example.com
ops auth confirm --email you@example.com --code 123456
ops auth resend-code --email you@example.com
ops auth login --email you@example.com
ops auth logout
ops auth status
ops auth whoami
ops auth forgot-password --email you@example.com
ops auth reset-password --email you@example.com --code 123456
ops auth change-password
ops auth help
Run Commands
ops run submit ./model.py --timeout 120 --wait
ops run status <run_id>
ops run output <run_id>
ops run result <run_id>
ops run cancel <run_id>
ops run list --limit 20
ops run help
run submit options
file(required positional): path to a.pysimulation script--timeout,-t: max runtime in seconds (default120, backend max900)--wait/--no-wait: stream output until completion (default--wait)
Validation enforced by CLI:
- file must exist
- file extension must be
.py - file size must be <= 200 KB
Common Workflows
Check account + quota
ops auth whoami
ops quota
Submit and monitor a run later
ops run submit ./model.py --no-wait
ops run status <run_id>
ops run output <run_id>
ops run result <run_id>
Reset password
ops auth forgot-password --email you@example.com
ops auth reset-password --email you@example.com --code 123456
Metadata
Release files for opensees-cli 0.1.0a2
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 | Actions |
|---|---|---|---|---|
| opensees_cli-0.1.0a2.tar.gz | 31.1 kB | Without provenance | Details for opensees_cli-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opensees_cli-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for opensees_cli-0.1.0a2-py3-none-any.whl |
Total release size: 65.0 kB
Release files / opensees_cli-0.1.0a2.tar.gz
| Download URL | opensees_cli-0.1.0a2.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
956008e05741c79c4d261e105e5bc95316bc42fcaaf6e32dd591a0d7ae647c69
|
|
BLAKE2b-256 checksum How to use checksums |
23a31446c2e86766d9d089140cd6d130fe2a10b0f4f3b0f301088a8bd5438162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / opensees_cli-0.1.0a2-py3-none-any.whl
| Download URL | opensees_cli-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 33.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1ee873976de2074dbd7e6c9615d1ff7092b4571282185dd4616f2a911adcc5a
|
|
BLAKE2b-256 checksum How to use checksums |
49629889b69895edce3e127fc9d406f46c861abf99a05da376207e33f2d20cba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for opensees-cli 0.1.0a2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.