Skip to main content

PyTwin

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.

Metadata

Release files for pytwin 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytwin 0.13.0
File Size Uploaded
pytwin-0.13.0.tar.gz 36.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytwin 0.13.0
File Interpreter ABI Platform
pytwin-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 72.5 MB

Release files / pytwin-0.13.0.tar.gz

Download URL pytwin-0.13.0.tar.gz
Size 36.1 MB
Tags Source
SHA-256 checksum
How to use checksums
69809a3fb400fbbb7babf23dfb0ba749bd0dfdde39abfa760683ddbdf423aa26
BLAKE2b-256 checksum
How to use checksums
06ad10e962464407df4cb8b70d457c178880d69a5df1560c970d2965c165d14a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / pytwin-0.13.0-py3-none-any.whl

Download URL pytwin-0.13.0-py3-none-any.whl
Size 36.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
47430ffbbcde2749ca07860a857ce4cb52f84f034b0455bd05d3b50ad53fc0a5
BLAKE2b-256 checksum
How to use checksums
27703dd777aae60f6605a51e195947febffb7225bfb884f5ba4dd64621192266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page