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.9 through Python 3.12 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.7.0.tar.gz (25.3 MB view details)

Uploaded Source

Built Distribution

pytwin-0.7.0-py3-none-any.whl (25.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytwin-0.7.0.tar.gz
  • Upload date:
  • Size: 25.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for pytwin-0.7.0.tar.gz
Algorithm Hash digest
SHA256 b5d9e5bfba404f82dc826abf2e78338ba65033211b2e34874587bf00a1848924
MD5 2614dc098d9c2043360d040d92ba2018
BLAKE2b-256 9402a6cb086d74a8cf6e2a8460087d64a37b842e39e5fca0bd47fc07be292e02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytwin-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for pytwin-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf70a1ff2546c75b886299b920704aed54a1234f176a8d9177acb328e3d34f5
MD5 d0addd1b28685f1d040d52e9f51bd8cc
BLAKE2b-256 10a8346075483a4d58f26bed88be0efd5c80e48ece2ad4d1bcdad384d7abd88c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page