Skip to main content

A Python wrapper for PyAnsys Math libraries.

Project description

PyAnsys pypi GH-CI codecov MIT black

PyAnsys Math is a Python repository holding Ansys mathematical libraries. To use them, you must have a local installation of Ansys Mechanical APDL.

For information on getting a licensed copy of Ansys Mechanical APDL, visit the Ansys web site.

Installation

For users

The ansys.math.core package currently supports Python 3.8 through Python 3.11 on Windows, Mac OS, and Linux.

Install the latest package for use with this command:

pip install ansys-math-core

Alternatively, install the latest PyAnsys Math GitHub package with this command:

pip install git+https://github.com/ansys/pyansys-math.git

For developers

For a local development version, install the latest package with:

git clone https://github.com/ansys/pyansys-math.git
cd pyansys-math
pip install -e .

Installing the development version allows you to edit the ansys-math-core package locally. The changes that you make are reflected in your setup after restarting the Python kernel.

Verify your installation

Check that you can start PyAnsys Math from Python by running this code:

import ansys.math.core.math as pymath

# Start PyAnsys Math.
mm = pymath.AnsMath()
print(mm)

If you see a response from the server, you can start using PyAnsys Math as a service.

Ansys software requirements

You must have a copy of Ansys 2021 R1 or later installed locally.

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

ansys_math_core-0.1.5.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

ansys_math_core-0.1.5-py3-none-any.whl (18.4 kB 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