Skip to main content

PyAnsys Tools Report package.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

[DEPRECATED] PyAnsys Tools Report

This library is deprecated and will no longer be maintained. Please consider using alternatives. For more information check this issue.

PyAnsys Python PyPI codecov GH-CI MIT Ruff pre-commit.ci status

Ansys tool for reporting your Python environment's package versions and hardware resources in a standardized way.

Table of contents

Introduction

The PyAnsys Tools Report is a PyAnsys package to homogenize among all the different repositories the output of system and environment reports related to Ansys products. Its main goals are:

  • Provide an homogeneous output style to system and environment reports.
  • Allows for customization when reporting Ansys variables and libraries.

You are welcome to help contribute to it in any possible way. Please submit an issue with any proposal you may have.

Documentation and issues

See the documentation page for more details.

You are welcome to help contribute to it in any possible way. Please submit here an issue with any proposal you may have. This is the best place to post questions and code.

How does it work?

This repository basically contains a simple Python package which you can import as follows (once installed):

import ansys.tools.report as pyansys_report

Once imported, you can then start playing around with it:

# Instantiate a "default" Report
rep = pyansys_report.Report()

Refer to the online documentation to see the details of the module.

Installation

This package may be installed following two procedures: either the pip package manager installation or the manual installation. The process to be followed for each of them is shown in the upcoming sections.

The pyansys-tools-report package currently supports Python >=3.10 on Windows, Mac OS, and Linux.

Standard installation

Install the latest release from PyPi with:

   pip install pyansys-tools-report

Alternatively, install the latest from GitHub via:

   pip install git+https://github.com/ansys/pyansys-tools-report.git

For a local "development" version, install with (requires pip >= 22.0):

   git clone https://github.com/ansys/pyansys-tools-report.git
   cd pyansys-tools-report
   pip install .

Offline installation

If you lack an internet connection on your install machine, the recommended way of installing PyAnsys Tools Report is downloading the wheelhouse archive from the Releases Page for your corresponding machine architecture.

Each wheelhouse archive contains all the python wheels necessary to install PyAnsys Tools Report from scratch on Windows and Linux for Python >=3.10. You can install this on an isolated system with a fresh python or on a virtual environment.

For example, on Linux with Python 3.10, unzip it and install it with the following:

   unzip pyansys-tools-report-v0.9.dev0-wheelhouse-Linux-3.10.zip wheelhouse
   pip install pyansys-tools-report -f wheelhouse --no-index --upgrade --ignore-installed

If you're on Windows with Python 3.10, unzip to a wheelhouse directory and install using the same command as before.

Consider installing using a virtual environment. More information on general PyAnsys development can be found in the PyAnsys Developer's Guide.

Rendering the docs

In case you were interested in rendering the docs locally, you need to clone the repository and install the docs requirements first:

   git clone https://github.com/ansys/pyansys-tools-report.git
   cd pyansys-tools-report
   pip install -e .[doc]

Once you have the requirements, render the docs by running the following:

   make -C doc html

This generates the HTML version of the docs, which you may find in the following directory:

   cd doc/_build/html

You can also clean the build directory by running the following command:

   make -C doc clean

Running the tests

In case you were interested in running the tests locally, you need to clone the repository and install the test requirements first:

   git clone https://github.com/ansys/pyansys-tools-report.git
   cd pyansys-tools-report
   pip install -e .[test]

Once you have the requirements, run the tests by running the following:

   pytest

The pyproject.toml file already contains some default configuration for running the tests. Please, take a look at it if you may want to run it with your own configuration.

Requirements

This Python package does not contain specific requirements files. Instead, its requirements may be found within the pyproject.toml file which defines the package. Thus, when the package is installed it automatically detects the dependencies needed and installs them.

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

pyansys_tools_report-0.9.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyansys_tools_report-0.9.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pyansys_tools_report-0.9.0.tar.gz.

File metadata

  • Download URL: pyansys_tools_report-0.9.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyansys_tools_report-0.9.0.tar.gz
Algorithm Hash digest
SHA256 720a58857a3b1a20cd4920370706cfca700ba142beba03f1afd259c21a14991e
MD5 b2fe849eba69fe48a1046f7907d71211
BLAKE2b-256 9c4c8df495124897129ab8ffae644c1f6fef9b637cdcc15da72081af935d38b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyansys_tools_report-0.9.0.tar.gz:

Publisher: ci.yml on ansys/pyansys-tools-report

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyansys_tools_report-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyansys_tools_report-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc17222c8992b83d5fc36b67ce52d23fb8afb80190a1d067c472c5d53df050fc
MD5 03c5a2c0d2320b25b4cce370f2877668
BLAKE2b-256 06c6da37cba7fc2d10c4992663527b6b0339610831b5a6d7e52a7afc39353740

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyansys_tools_report-0.9.0-py3-none-any.whl:

Publisher: ci.yml on ansys/pyansys-tools-report

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page