Transonic documentation

Transonic is a pure Python package (requiring Python >= 3.9) to easily accelerate modern Python-Numpy code with different accelerators (currently [Cython], [Pythran], [Numba] and [JAX], but potentially later [Cupy], [PyTorch], [Weld], [Pyccel], etc…).

The accelerators are not hard dependencies of Transonic: Python codes using Transonic run fine without any accelerators installed (of course without speedup)!

API Reference

Here is presented the organization of the package and the documentation of the modules, classes and functions.

transonic.aheadoftime

User runtime API for the ahead-of-time compilation

transonic.analyses

Code analyses

transonic.backends

Backends for different accelerators

transonic.compiler

Use Pythran to create extensions

transonic.config

Configuration

transonic.dist

Utilities for the setup.py files

transonic.justintime

Cached JIT compilation

transonic.log

Logging

transonic.mpi

Minimalist MPI module

transonic.run

Command line transonic

transonic.signatures

Compute function signatures

transonic.typing

Create Pythran signatures from type hints

transonic.util

Internal utilities

Indices and tables