Metadata-Version: 2.1
Name: mastapy
Version: 14.0.0rc3
Summary: Python scripting API for MASTA.
Home-page: https://www.smartmt.com/
License: MIT
Keywords: mastapy,smt,masta
Author: George Baron
Author-email: george.baron@smartmt.com
Requires-Python: >=3.7,<3.13
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: lazy-imports (>=0.3.1)
Requires-Dist: numpy (<1.22.0) ; python_version < "3.8"
Requires-Dist: numpy (>=1.22.0) ; python_version >= "3.8" and python_version < "3.12"
Requires-Dist: numpy (>=1.26.0) ; python_version >= "3.12"
Requires-Dist: packaging (>=20.0)
Requires-Dist: pillow (>=8.4.0,<9.0.0) ; python_version < "3.11"
Requires-Dist: pillow (>=9.5) ; python_version >= "3.11"
Requires-Dist: ptvsd (>=4.2)
Requires-Dist: pythonnet (<3.0.0) ; python_version < "3.9"
Requires-Dist: pythonnet (>=3.0.0,<4.0.0) ; python_version >= "3.9"
Requires-Dist: typeguard (>=4.1.2) ; python_full_version >= "3.7.4"
Project-URL: Documentation, https://documentation.smartmt.com/MastaAPI/14.0/
Description-Content-Type: text/markdown

<h1 align="center">
<img src="https://documentation.smartmt.com/MastaAPI/14.0/images/smt_logo.png" width="150" alt="SMT"><br>
<img src="https://documentation.smartmt.com/MastaAPI/14.0/images/MASTA_14_logo.png" width="400" alt="Mastapy">
</h1><br>

[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Mastapy is the Python scripting API for MASTA.

- **Website**: https://www.smartmt.com/
- **Support**: https://support.smartmt.com/
- **Documentation**: https://documentation.smartmt.com/MastaAPI/14.0/


### 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.
