Skip to main content

A python wrapper for Ansys Sherlock

Project description

PySherlock

PyAnsys Python PyPI GH-CI Codecov MIT Black

PySherlock is a Python client library for the Ansys Sherlock product.

Overview

Ansys Sherlock is a reliability physics-based electronics design tool that provides fast and accurate life predictions for electronic hardware at the component, board, and system levels in early stage design.

PySherlock provides Pythonic access to Sherlock’s functions, enabling users to automate and customize their specific workflows.

With PySherlock, you can perform many tasks, including these:

  • Launch a Sherlock gRPC server and a Sherlock client.

  • Import ECAD files and generate project reports.

  • Define life cycle events and profiles.

  • Generate a stackup and update a stackup layer.

  • Update a project parts list.

  • Perform layer view operations such as updating a mount point’s location.

  • Export a trace or trace reinforcement model for integration with Ansys Workbench.

  • Execute one or more analyses.

Dependencies

You must have a licensed copy of Ansys Sherlock installed either on your local machine or a remote machine. To use a remote session, a connection to the remote machine must be available from your Python program.

Getting Started

PySherlock uses an environment variable called AWP_ROOT<ver>, where <ver> is the Sherlock release number, such as 242 for release 2024 R2. Each release version should have its own environment variable. This variable is how PySherlock finds a Sherlock installation for a specific version. If there are multiple versions, PySherlock will pick the latest.

On a Windows System, the environment variable AWP_ROOT<ver> is configured by the Ansys installer.

On a Linux system, the AWP_ROOT<ver> environment variable must be configured by the user. It must point to the absolute path of an Ansys installation directory. For example, if Sherlock 24R2 is installed in the following location /opt/ansys_inc/v242/sherlock/ , then an environment variable named AWP_ROOT242 must be created and set to /opt/ansys_inc/v242/. If there are multiple versions of Ansys tools installed, similar environment variables must be created for those versions.

For the rest of the setup please refer to the tutorial videos below.

Documentation and issues

For comprehensive information on PySherlock, see the latest release documentation.

On the PySherlock Issues page, you can create issues to submit questions, report bugs, and request new features. This is the best place to post questions and code.

Contributing

If you would like to test or contribute to the development of PySherlock, see Contribute in the PySherlock documentation.

License

PySherlock is licensed under the MIT license.

PySherlock makes no commercial claim over Ansys whatsoever. This library extends the functionality of Ansys Sherlock by adding a Python interface to Sherlock without changing the core behavior or license of the original software. The use of the interactive control of PySherlock requires a legally licensed copy of Sherlock.

For more information on Sherlock, see the Ansys Sherlock page on the Ansys website.

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

ansys_sherlock_core-1.0.2.tar.gz (98.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansys_sherlock_core-1.0.2-py3-none-any.whl (116.5 kB view details)

Uploaded Python 3

File details

Details for the file ansys_sherlock_core-1.0.2.tar.gz.

File metadata

  • Download URL: ansys_sherlock_core-1.0.2.tar.gz
  • Upload date:
  • Size: 98.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ansys_sherlock_core-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ad111a3043bf6399d5768a89eea96d0d822d847236d14403de02be9745720c43
MD5 7d877075c00ef7d07cacbee6ab46c35b
BLAKE2b-256 9180a0abb391929544d6dbaa88b0d6deea48e85906b2964853042bfd4faca522

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_sherlock_core-1.0.2.tar.gz:

Publisher: ci_cd.yml on ansys/pysherlock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ansys_sherlock_core-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_sherlock_core-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6302c90adad5fb11623e8e5539741f11706d4dc7e4a4f75ef057c4d41a2ed08d
MD5 8e9073e34a8450f7f963a89226071bd4
BLAKE2b-256 c35a4b337cfb812914fdb681c143725fcbb2e96c35cb978c58b837e780e26c1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_sherlock_core-1.0.2-py3-none-any.whl:

Publisher: ci_cd.yml on ansys/pysherlock

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