---
name: "pythran"
section: "1"
platform: "linux"
package: "python3-pythran"
version: "0.17.0+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pythran"
---

# pythran(1)

part of pythran: ahead of time compiler for Python

## NAME

pythran - part of pythran: ahead of time compiler for Python

## DESCRIPTION

usage: pythran \[-h\] \[-o OUTPUT\_FILE\] \[-P\] \[-E\] \[-e\] \[-v\] \[-w\] \[-V\] \[-p pass\]

-

  \[-I include\_dir\] \[-L ldflags\] \[-D macro\_definition\] \[-U macro\_definition\] \[--config config\] \[-ftime-report\] input\_file

pythran: a python to C++ compiler

### positional arguments:

- input\_file

  the pythran module to compile, either a .py or a .cpp file

### options:

- **-h**, **--help**

  show this help message and exit

- **-o** OUTPUT\_FILE

  path to generated file. Honors %{ext}.

- **-P**

  only run the high-level optimizer, do not compile

- **-E**

  only run the translator, do not compile

- **-e**

  similar to **-E**, but does not generate python glue

- **-v**

  be more verbose

- **-w**

  be less verbose

- **-V**, **--version**

  show program's version number and exit

- **-p** pass

  any pythran optimization to apply before code generation

- **-I** include\_dir

  any include dir relevant to the underlying C++ compiler

- **-L** ldflags

  any search dir relevant to the linker

- **-D** macro\_definition

  any macro definition relevant to the underlying C++ compiler

- **-U** macro\_definition

  any macro undef relevant to the underlying C++ compiler

- **--config** config

  config additional params

- **-ftime-report**

  report time spent in each optimization/transformation

It's a megablast!

## AUTHORS

 pythran was primarily written by Serge Guelton.

## SEE ALSO

 This script is part of pythran. Full documentation for pythran can be\
  consulted at https://pythran.readthedocs.io .
