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.10.1.tar.gz (30.8 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.10.1-py3-none-any.whl (31.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytwin-0.10.1.tar.gz
Algorithm Hash digest
SHA256 470ab8b15d16f55bf74594ad823a0440b6e3b85a18815416ba8683d5c443cec8
MD5 ed17b67067aa077aae2bdb01f3cdd0aa
BLAKE2b-256 2b29fe43acded4370a4d152c4376804bee6cd5f4d348a5c2f5e0955626899e4e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pytwin-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 31.0 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.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 390868eb09cf7a99f31deed65ac8a1c1f2c522dae62a2d2ad3e91d02f984d1b1
MD5 8da191ad605bd556db133d4609b0c781
BLAKE2b-256 4167b78fa3aaa32b566ba82d06b5a340a5c9cee6ffef4a12f9e6c2b3595b2452

See more details on using hashes here.

Provenance

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