Ansys fork of pythonnet providing .NET and Mono integration for Python. Version 3.1.0rc6, targeting Python 3.7-3.13. Active development with release candidate status.
pip install ansys-pythonnetVerified import paths — ran on the pinned version, not inferred.
Basic usage: import clr, add a .NET assembly reference, and import .NET namespaces.
Replace 'pythonnet' with 'ansys-pythonnet' in requirements.txt and environment.
Use assembly name without extension: clr.AddReference('System.Windows.Forms') instead of path.Use Python 3.12 or earlier. Check official repo for updates.