Skip to main content

Autogenerated python gRPC interface package for ansys-api-mechanical, built on 13:31:52 on 06 October 2023

Project description

ansys-api-mechanical gRPC Interface Package

This Python package contains the auto-generated gRPC Python interface files for Mechanical.

Installation

Provided that these wheels have been published to public PyPI, they can be installed with:

pip install ansys-api-mechanical

Otherwise, see the

Build

To build the gRPC packages, run:

pip install build
python -m build

This will create both the source distribution containing just the protofiles along with the wheel containing the protofiles and build Python interface files.

Note that the interface files are identical regardless of the version of Python used to generate them, but the last pre-built wheel for grpcio~=1.30 was Python 3.7, so to improve your build time, use Python 3.7 when building the wheel.

Manual Deployment

After building the packages, manually deploy them with:

pip install twine
twine upload dist/*

Note that this is automatically done through CI/CD.

Automatic Deployment

This repository contains GitHub CI/CD that enables the automatic building of source and wheel packages for these gRPC Python interface files. By default, these are built on PRs, the main branch, and on tags when pushing. Artifacts are uploaded for each PR.

To publicly release wheels to PyPI, ensure your branch is up-to-date and then push tags. For example, for the version v0.5.0.

git tag v0.5.0
git push --tags

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-api-mechanical-0.1.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

ansys_api_mechanical-0.1.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

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