ansys-api-additive gRPC Interface Package
This package contains the gRPC interface files for the Additive service. It is published both as a python and nuget package.
Python Installation
Provided that these wheels have been published to public PyPI, they can be installed with:
pip install ansys-api-additive
Python 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.
Python 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.
Nuget Installation
The nuget package is called Ansys.Api.Additive and is published
to a repository on GitHub. To access the repository, you will
need to create a nuget source with your GitHub user credentials.
dotnet nuget add source --username USERNAME --password GITHUB_TOKEN --store-password-in-clear-text --name ansys "https://nuget.pkg.github.com/ansys/index.json"
For more information, see GitHub Working with the NuGet registry.
Nuget Build
To build the nuget package, run:
dotnet pack csharp/Ansys.Api.Additive.csproj -o package
Nuget Manual Deployment
Once the nuget package is built, manually deploy it with the following command. Note that this uses the same nuget source created in the Installation step.
dotnet nuget push ./**/*.nupkg --source ansys
Note that this is automatically done through CI/CD.
Automatic Deployment
This repository contains GitHub CI/CD that enables the automatic building of source, wheel, and nuget packages for these gRPC 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 the packages, 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
Google protobuf files
The Google third-party protobuf files were obtained from googleapis.
Metadata
Release files for ansys-api-additive 5.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ansys_api_additive-5.1.6.tar.gz | 28.6 kB | Without provenance | Details for ansys_api_additive-5.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ansys_api_additive-5.1.6-py3-none-any.whl | Python 3 | none | any | Details for ansys_api_additive-5.1.6-py3-none-any.whl |
Total release size: 140.3 kB
Release files / ansys_api_additive-5.1.6.tar.gz
| Download URL | ansys_api_additive-5.1.6.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc8beb5d16f3c04526796ed22f80024a348c83b2fda0d3f5912b393d6107e458
|
|
BLAKE2b-256 checksum How to use checksums |
4cdf8fd476de44d8baadb66dccd5104f29fdfce1337796c6d5613d3ecfa88419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / ansys_api_additive-5.1.6-py3-none-any.whl
| Download URL | ansys_api_additive-5.1.6-py3-none-any.whl |
|---|---|
| Size | 111.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9479d592074c3fce2aad1191f7412cc4b30742438af4bd31c17edd9ff58c0710
|
|
BLAKE2b-256 checksum How to use checksums |
68ee11edf5c89e3035f81f598bc6877eb985bfa16dc23b4f1486e142c42a8b4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for ansys-api-additive 5.1.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.