Skip to main content

Python scripting API for MASTA.

Project description

SMT
Mastapy


Poetry Code style: black License: MIT

Mastapy is the Python scripting API for MASTA.

Features

  • Powerful integration with MASTA with the ability to run Python scripts from the MASTA interface directly.
  • Ability to use MASTA functionality external to the MASTA software in an independent script.
  • An up-to-date and tight integration with Python. This is not a lightweight wrapper around the C# API. It is specifically designed for Python and works great in tandem with other common scientific Python packages (e.g. SciPy, NumPy, Pandas, Matplotlib, Seaborn, etc.)
  • Extensive backwards compatibility support. Scripts written in older versions of mastapy will still work with new versions of MASTA.
  • Full support for Linux and .NET 6 versions of the MASTA API.

Release Information

Major Changes

  • Python.NET DLLs are now embedded in mastapy and MASTA defaults to loading them. This allows us to update supported Python versions between MASTA releases.
  • Every mastapy class is now implemented as a dataclass. This has various performance and usability benefits (especially if using Python 3.10+.)
  • Adds support for .NET 6 versions of the MASTA API.
  • Adds Linux support.

Minor Changes

  • Autocompletion for mastapy imports has been improved. Members that should be hidden from the user are no longer suggested.
  • mastapy.Examples has been added to simplify loading example designs, e.g. Examples.Automotive.SCOOTER_GEARBOX.load(). More information can be found in the Examples class documentation.
  • Small bug fixes and improvements.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mastapy-14.0.0rc3.tar.gz (5.1 MB view hashes)

Uploaded Source

Built Distribution

mastapy-14.0.0rc3-py3-none-any.whl (15.5 MB view hashes)

Uploaded Python 3

Supported by

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