Giter Site home page Giter Site logo

ansys / ansys-templates Goto Github PK

View Code? Open in Web Editor NEW
10.0 27.0 3.0 17.75 MB

A tool for creating new projects according to Ansys guidelines

Home Page: https://templates.ansys.com

License: MIT License

Python 94.87% Makefile 1.00% Batchfile 1.05% HTML 0.24% Dockerfile 1.88% CSS 0.42% Jinja 0.53%

ansys-templates's Introduction

Ansys templates

PyAnsys Python PyPI CH-CI Codecov MIT Black

The ansys-templates repository holds a collection of useful templates compliant with PyAnsys guidelines. It also provides the ansys-templates command line tool for interactively generating new projects based on previous templates.

The main advantages of using this tool are:

  • Building process is fully interactive. There is no need to manually modify files.
  • Output of the project can easily be customized during the rendering process.
  • Generated projects are compliant with PyAnsys Developer's Guidelines.

For information on using this tool, see the Ansys Templates Documentation.

image

How to install

Users can install ansys-templates by running:

python -m pip install ansys-templates

The usage of pipx is encouraged too. See installing ansys-templates using pipx.

Basic commands

The following commands are provided with ansys-templates:

  • ansys-templates --help: lists information about the tool.
  • ansys-templates list: lists all available templates.
  • ansys-templates new <template name>: creates a new project from template.

Available templates

Available templates in ansys-templates are:

  • doc-project: Create a documentation project using Sphinx.
  • pybasic: Create a basic Python Package.
  • pyansys: Create a PyAnsys Python Package project.
  • pyansys-advanced: Create an advanced PyAnsys Python Package project.
  • pyansys-openapi-client: Create an OpenAPI Client Package project.
  • pyace: Create a Python project for any method developers.
  • pyace-flask: Create a Flask project initialized for any developer.
  • pyace-grpc: Create gRPC project initialized for any developer.
  • pyace-fast: Create a FastAPI project initialized for any developer.
  • solution: Create a Solution based on the Solution Application Framework. For Ansys Internal Use Only

Template features

The following table summarizes the main properties for each of the templates available in ansys-templates:

Template setup.py pyproject.toml Actions tox.ini requirements/ Docker
doc-project

X

X

X

pybasic X
pyansys

X

X

X

pyansys-advanced

X

X

X

X

X

pyansys-openapi-client
pyace

X

X

X

X

X

X

pyace-fast

X

X

X

X

X

X

pyace-flask

X

X

X

X

X

X

pyace-grpc

X

X

X

X

X

X

solution "*"

X

X

X

X

Warning

"" This template is forAnsys Internal Use Only*.

Demo branches

To have a better idea on how each template will look once it gets rendered, see its corresponding demonstration branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.