PyGranta Data Flow Extensions
The PyGranta Data Flow Extensions package provides easy interoperability between Granta MI Data Flow and Python scripts that implement custom business logic. This package streamlines the interaction with Granta MI™ systems using other PyGranta packages and with the Granta MI Scripting Toolkit.
Dependencies
To use the PyGranta Data Flow Extensions package, you need access to a deployment of Granta MI 2023 R2 or later with an MI Data Flow Advanced edition license.
Python must be installed system-wide, as opposed to a per-user installation. This option is available during Python installation, and can only be modified by uninstalling and reinstalling Python.
Installation
System-wide
Install the package system-wide on the Granta MI application server for production use or for integration testing.
To install the latest release as a system-wide package, run this command as an administrator:
python -m pip install ansys-grantami-dataflow-extensions
Virtual environment
Install the package in a virtual environment:
On a local development environment, for script development and debugging
On the Granta MI application server, when it is not possible to install system-wide packages
To install the package in a virtual environment, first create a new virtual environment:
python -m venv C:\path\to\my\venv
Where C:\path\to\my\venv is the path to the location where you would like the venv to be located. This should be a location that all users can access.
Then activate the virtual environment and install the packages:
C:\path\to\my\venv\Scripts\activate pip install ansys-grantami-dataflow-extensions
If installing in a virtual environment on the Granta MI application server, Data Flow must be configured with details of the virtual environment to be used:
Create a backup copy of the web.config file. By default, this file is located at C:\inetpub\wwwroot\mi_dataflow.
Open the web.config file in a text editor, and find the line <add key="PythonPath" value="python.exe" />
Replace the string python.exe with C:\path\to\my\venv\Scripts\python.exe, where C:\path\to\my\venv is the path to the virtual environment specified above.
Save the modified web.config file. If you see a permissions error, you may need to open the text editor with administrator privileges.
Reload the Data Flow worker process in IIS Manager. Warning: This stops any running Workflow processes.
Installing a development version
To install the latest release from the PyGranta Data Flow Extensions repository, run this command:
python -m pip install git+https://github.com/ansys/grantami-dataflow-extensions.git
To install a local development version with Git and Poetry, run these commands:
git clone https://github.com/ansys/grantami-dataflow-extensions cd grantami-dataflow-extensions poetry install
The preceding commands install the package in development mode so that you can modify it locally. Your changes are reflected in your Python setup after restarting the Python kernel. This option should only be used when making changes to this package, and should not be used when developing code based on this package.
Metadata
Release files for ansys-grantami-dataflow-extensions 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ansys_grantami_dataflow_extensions-0.3.1.tar.gz | 197.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansys_grantami_dataflow_extensions-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 213.6 kB
Release files / ansys_grantami_dataflow_extensions-0.3.1.tar.gz
| Download URL | ansys_grantami_dataflow_extensions-0.3.1.tar.gz |
|---|---|
| Size | 197.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40f0792ac0d27d455202f2f90a21b1c7a835f5b2d08066de8f62a3b38c33d539
|
|
BLAKE2b-256 checksum How to use checksums |
a5d7da535f220465fde70df7ff5dd47c9e94090b9078cd5e9795c73ce94085b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / ansys_grantami_dataflow_extensions-0.3.1-py3-none-any.whl
| Download URL | ansys_grantami_dataflow_extensions-0.3.1-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08a7ecab87ef9bed5ddba2bc99d814652f702893128c6e46e668cd083b13898c
|
|
BLAKE2b-256 checksum How to use checksums |
36aeaf7c1ab4f3100aa9ee0f544ad4d5bb8b31a4c92e30808ef55d5d717b021f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logSecurity for ansys-grantami-dataflow-extensions 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ansys_grantami_dataflow_extensions-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.