PETSc for Python# Author: Lisandro Dalcin Contact: dalcinl@gmail.com Web Site: petsc/petsc Date: Nov 21, 2024 Contents PETSc Overview Components Installation Install from PyPI using pip Install from the PETSc source tree Running the testing suite Building the documentation Contributing 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 petsc4py demos Poisson in 2D Documentation standards for petsc4py Docstring standards Type hint standards