Autogenerated python gRPC interface package for ansys-api-additive, built on 21:59:45 on 23 July 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansys_api_additive-2.0.0.tar.gz
.
File metadata
- Download URL: ansys_api_additive-2.0.0.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10a7a5206531f8f7a6274fe403a3242937a88eecb080f66c9bcee34c06587c0 |
|
MD5 | c59dc8a564eac8ca5eb70616969f29ee |
|
BLAKE2b-256 | a5fdf7a82ca0d1e5217559fe1bdc189c420d7b9af7945211c81be9968a7c8fa5 |
File details
Details for the file ansys_api_additive-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: ansys_api_additive-2.0.0-py3-none-any.whl
- Upload date:
- Size: 97.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6172205069ccf10f5062e5b858ce45c61ac36fd20ecd431cdb22fba3cdcff74 |
|
MD5 | aae7f4deca9d856717db2a6f1b1fcdb6 |
|
BLAKE2b-256 | 86cc68df8e48a4f38a2206252d3e1c5882eed04d2dc946eddee966cb55e35370 |