Skip to content

Dependencies

Sunil Anandatheertha edited this page May 22, 2026 · 1 revision

Dependencies

Core Dependencies

These are installed automatically with pip install upxo:

Package Version Purpose
numpy >=2.2.6 Array operations
scipy >=1.16.2 Scientific computing, interpolation
matplotlib >=3.10.6 2D plotting
pandas >=2.3.3 Data tables and property management
numba >=0.62.1 JIT acceleration of MC algorithms
networkx >=3.5 Grain network graph operations
pyvista[jupyter] >=0.46.3 3D visualisation and mesh I/O
scikit-image >=0.25.2 Image processing, connected components
scikit-learn >=1.7.2 PCA, statistical learning
shapely >=2.1.1 2D geometry operations
tqdm >=4.67.1 Progress bars
seaborn >=0.13.2 Statistical visualisation
colorama >=0.4.6 Coloured terminal output
termcolor >=2.4.0 Coloured terminal messages
connected-components-3d >=3.26.1 Fast 3D connected component labelling
xlrd >=2.0.1 Read .xls Excel dashboards
openpyxl >=3.1.0 Read/write .xlsx Excel files
ipywidgets >=8.0.0 Interactive Jupyter notebook widgets

Optional Extras

Install only what you need:

Extra Packages Install command
[viz] plotly>=5.0.0 pip install upxo[viz]
[mesh] pyvoro>=1.3.2, tetgen>=0.8.2 pip install upxo[mesh]
[io] rasterio>=1.4.3 pip install upxo[io]
[ebsd] defdap==0.93.6 pip install upxo[ebsd]
[all] All of the above pip install upxo[all]

Python Version

UPXO requires Python >= 3.13.

Clone this wiki locally