Skip to main content

MYSTRAN finite element analysis solver, pre-built for Python

Project description

mystran

Pre-built MYSTRAN finite element analysis solver, packaged for easy installation via pip/uv.

MYSTRAN is an open-source structural analysis program compatible with NASTRAN input files. This package bundles the pre-built executable so you don't need a Fortran compiler.

This repo and its issues are only for the Python package, for everything else see the upstream repo: https://github.com/MystranSolver/MYSTRANSolver/

Installation

uv add mystran
# or
pip install mystran

Usage

import mystran

# Get the path to the mystran executable
exe = mystran.get_mystran_binary()
print(exe)  # e.g. /path/to/.venv/lib/python3.13/site-packages/mystran/_data/bin/mystran

Then use the executable path to run MYSTRAN:

import subprocess
result = subprocess.run([str(exe), "model.dat"], capture_output=True, text=True)

Or from the command line, you can find the binary location:

python -c "import mystran; print(mystran.get_mystran_binary())"

Supported Platforms

  • Linux x86_64 (manylinux)
  • Windows x86_64

License

MYSTRAN is licensed under the MIT License.

This packaging project is also MIT licensed.

About MYSTRAN

MYSTRAN is developed by Dr. Bill Case and contributors. See the MYSTRAN website and GitHub repository for more information.

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

mystran-18.0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

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

mystran-18.0.0.1-py3-none-win_amd64.whl (3.3 MB view details)

Uploaded Python 3Windows x86-64

mystran-18.0.0.1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file mystran-18.0.0.1.tar.gz.

File metadata

  • Download URL: mystran-18.0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mystran-18.0.0.1.tar.gz
Algorithm Hash digest
SHA256 f4258275ce8d923f8515e4f21d51cfc597ee5e6fa7cab606dbee1702ab09f1b8
MD5 5f572adba6209ad5c2ab00350e7c479d
BLAKE2b-256 cb567ff199364234a46b5d510020a819cf4e06be136d2e9d4ec6b85ae25ac0dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mystran-18.0.0.1.tar.gz:

Publisher: release.yml on spookylukey/mystran-package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mystran-18.0.0.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: mystran-18.0.0.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mystran-18.0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 be51d1cd78f45c6fcf758b39e18fa3ca9c3506d29e8051939acd939b44071199
MD5 aa05403bc8630c92b34e4908818379ed
BLAKE2b-256 4652a68ed0d64c5b203dfa803ff11be6c6d613ec542f616bee70a7361920d188

See more details on using hashes here.

Provenance

The following attestation bundles were made for mystran-18.0.0.1-py3-none-win_amd64.whl:

Publisher: release.yml on spookylukey/mystran-package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mystran-18.0.0.1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mystran-18.0.0.1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d68bea539102f9292d544d3d5650b04d3788672fc9ac7076c761d8852ea75368
MD5 4bdb1460cb0a01cc4c5fad6af0496dd6
BLAKE2b-256 5dc58685d7a2f9d64dd15751935f15c5176cde33aff2335464bd890de901ca4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mystran-18.0.0.1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on spookylukey/mystran-package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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