PETSc for Python# Author: Lisandro Dalcin Contact: dalcinl@gmail.com Web Site: petsc/petsc Date: Mar 29, 2024 Contents Overview Components Installation Install from PyPI using pip Install from the PETSc source tree Building the documentation Citations Python specifics Reference petsc4py petsc4py.typing petsc4py.PETSc PETSc Python types PETSc Python matrix type PETSc Python preconditioner type PETSc Python linear solver type PETSc Python nonlinear solver type (TODO) PETSc Python ode-integrator type (TODO) PETSc Python optimization solver type (TODO) Working with PETSc options (TODO) petsc4py demos Poisson in 2D Documentation standards for PETSc4py Docstring standards Type hint standards