Overview of pyNastran core features and requirements
mainpyNastran is a Python-based library for handling Nastran files. Core features include support for Python 3.9-3.12 and the ability to be imported from within MATLAB. The library has limited package requirements for basic BDF, OP2, and F06 file handling, but additional functionality is available through optional dependencies:
- BDF/OP2 Support:
h5py: Enables HDF5 input/output support.PyQt5/PyQt6/PySide2/PySide6/tk/wxpython: Provides file loading pop-up interfaces.QScintilla&pygments: Enables a scripting code editor.
- OP2 Support:
pandas: Used for handling results and matrices, specifically for use in Jupyter Notebooks.
- F06 Support:
matplotlib: Enables plotting capabilities.
- GUI Support:
- Supports
PyQt5,PySide2, andVTK 9.
- Supports
- Logging:
- Uses
cpylogfor logging. colorama: Enables colorized console logging.- Supports HTML logging for Jupyter Notebooks.
- Automatically removes markup when piping output to a file.
- Allows users to overwrite the logger object with their own user-defined logger.
- Uses