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.11.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.11.0-py3-none-any.whl (40.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytwin-0.11.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.7

File hashes

Hashes for pytwin-0.11.0.tar.gz
Algorithm Hash digest
SHA256 06216b1d80832e6dc8819ab8c909430027d102d31e15e28687fe0d46faab316a
MD5 f59b5d484bc7758c85fcd4b8d8e6bc8e
BLAKE2b-256 8d5031d27d92517246289740636679e48a5aae74476d4cf750cb66a16a1799b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytwin-0.11.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.11.0-py3-none-any.whl.

File metadata

  • Download URL: pytwin-0.11.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.7

File hashes

Hashes for pytwin-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3aee0c44b7365243029909797b78a6a7e54060d6eaab35df0f41e5c49a03db4
MD5 d91bf0181d9e91a649a9e4ab3f9059aa
BLAKE2b-256 e1451e1fd31420e5eed05566debab4d38b4665ab451a4a9ed314e0b6774b1f83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytwin-0.11.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