Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ansys-api-additive

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansys-api-additive

Autogenerated python gRPC interface package for ansys-api-additive, built on 18:54:52 on 11 November 2024

  • 2.2.2
  • Source
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc