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.
Release files for pytwin 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytwin-0.12.0.tar.gz | 40.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytwin-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.5 MB
Release files / pytwin-0.12.0.tar.gz
| Download URL | pytwin-0.12.0.tar.gz |
|---|---|
| Size | 40.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5816c970cb5e57ce024ae0d02f157435df92d451beb43c789c64db969b6be966
|
|
BLAKE2b-256 checksum How to use checksums |
af833a64a926c097b0161896e44cd4af151a4d42b5b13d2a3ef04d23d36ecb5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jun 4, 2026.
Transparency logRelease files / pytwin-0.12.0-py3-none-any.whl
| Download URL | pytwin-0.12.0-py3-none-any.whl |
|---|---|
| Size | 40.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48711fbeececee65440545a3c7fa3443dda044035bd0c7d26334c40dc3c0ce11
|
|
BLAKE2b-256 checksum How to use checksums |
03c4997164904d137bdbeb0742d8aaa7f1c3d3dc1876e1c99f342ed0ca8f50b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jun 4, 2026.
Transparency log