Skip to main content

Autogenerated python gRPC interface package for ansys-api-additive, built on 16:50:08 on 20 August 2024

Project description

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.

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_additive-2.2.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

ansys_api_additive-2.2.0-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

Details for the file ansys_api_additive-2.2.0.tar.gz.

File metadata

  • Download URL: ansys_api_additive-2.2.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for ansys_api_additive-2.2.0.tar.gz
Algorithm Hash digest
SHA256 7a1143f8f289faaae0f67ae6df00a0bc6201601af9fae1d8f87705fe92b3f9ab
MD5 751e056d5b7c3ee04f5a08dcec70e318
BLAKE2b-256 2e0d1a7e6d31bd47443377ae33ffe0f38dd1a6cf9b37041dfe4800fec5bc097c

See more details on using hashes here.

File details

Details for the file ansys_api_additive-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_api_additive-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 505c076bc7f6b0893cff0184096ede95f283ac7464e985be87c82a8906616e18
MD5 a660117f3b07aee8d90692f4dc109995
BLAKE2b-256 43516388c3aad5948f13daa83c29be87dbf6f15837f44c0560a0538b59ec7366

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