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.9.2.tar.gz (30.8 MB view details)

Uploaded Source

Built Distribution

pytwin-0.9.2-py3-none-any.whl (31.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytwin-0.9.2.tar.gz
Algorithm Hash digest
SHA256 6d6ce01bb494960d608c277b23c359d892a5756d9170d8eac4048344d7fae109
MD5 9308f2b49dca182ed3854b9eb0544000
BLAKE2b-256 f5c29f1915123f3db3109e22698f04e4cdb95e28fc4ada40ee25d180414c7c1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytwin-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 31.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pytwin-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21c2d5e18cc31a4b3defbd10583ebb182ff7a924db90576dfe29b9d00c6536dc
MD5 e6687f99ba4a10b292228f405a195dc6
BLAKE2b-256 56c7251bb07c0e3cf184315ad9976ac587fe3c5307d542693fa050dbd9aaa97f

See more details on using hashes here.

Supported by

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