Skip to main content

A python wrapper for Ansys Digital Twin components

Project description

PyAnsys Python PyPI Codecov GH-CI MIT Black pre-commit.ci status

Overview

PyTwin is a Python package for consuming a digital twin model that has been exported from Ansys Twin Builder as a TWIN file. Each TWIN file is a self-contained app (twin runtime) that consists of two parts:

  • The twin model, which is the simulation model created and compiled in Twin Builder

  • The runtime SDK, which is the shared library for consuming the twin model within the deployment workflow.

Because PyTwin wraps a twin runtime in a Python interface, you do not need a Twin Builder installation to deploy it.

For more information on digital twins and Ansys Twin Builder, see Digital Twins and Ansys Twin Builder on the Ansys website.

Documentation

For comprehensive information on PyTwin, see the latest release Documentation and its sections:

Installation

The pytwin package supports Python 3.10 through Python 3.13 on Windows and Linux.

Install the latest release from PyPI with this command:

pip install pytwin

If you plan on doing local development of PyTwin with Git, install the latest release with this code:

git clone https://github.com/ansys/pytwin.git
cd pytwin
pip install pip -U
pip install -e .

Dependencies

The pytwin package requires access to an Ansys License Server with the twin_builder_deployer feature available. For more information, see Getting started.

License and acknowledgments

PyTwin is licensed under the MIT license.

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

pytwin-0.12.0.tar.gz (40.1 MB view details)

Uploaded Source

Built Distribution

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

pytwin-0.12.0-py3-none-any.whl (40.4 MB view details)

Uploaded Python 3

File details

Details for the file pytwin-0.12.0.tar.gz.

File metadata

  • Download URL: pytwin-0.12.0.tar.gz
  • Upload date:
  • Size: 40.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pytwin-0.12.0.tar.gz
Algorithm Hash digest
SHA256 5816c970cb5e57ce024ae0d02f157435df92d451beb43c789c64db969b6be966
MD5 1a6d2117f46b4fd2cb3a6af2ae6b4a88
BLAKE2b-256 af833a64a926c097b0161896e44cd4af151a4d42b5b13d2a3ef04d23d36ecb5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytwin-0.12.0.tar.gz:

Publisher: ci.yml on ansys/pytwin

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

File details

Details for the file pytwin-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: pytwin-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pytwin-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48711fbeececee65440545a3c7fa3443dda044035bd0c7d26334c40dc3c0ce11
MD5 6c1e4c2d44cf6243e8bd4f75383b4db6
BLAKE2b-256 03c4997164904d137bdbeb0742d8aaa7f1c3d3dc1876e1c99f342ed0ca8f50b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytwin-0.12.0-py3-none-any.whl:

Publisher: ci.yml on ansys/pytwin

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