PYTHRAN(1)
πΈ NAME πΈ
okay bestie, so this is the pythran(1) manual page β a User Commands page, no biggie β and it's all about pythran, which is part of pythran: an ahead-of-time compiler for Python. yes that's the same name twice, she contains multitudes. π
β¨ DESCRIPTION β¨
here's the whole vibe of how you call her:
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
and what she is: pythran: a python to C++ compiler. no cap, that's the whole personality. π¦
π positional arguments π
input_fileβ the pythran module you wanna compile. it can be a.pyfile or a.cppfile, so she's flexible like that. π
π options π
-h,--helpβ shows this help message and then dips. classic. β¨-o OUTPUT_FILEβ the path to the generated file. she honors%{ext}, which is giving template energy. π-Pβ only run the high-level optimizer, do not compile. she's just vibing, not finishing the job.-Eβ only run the translator, do not compile. same energy, different stop sign. π-eβ similar to-E, but she does not generate python glue. no glue, just translator.-vβ be more verbose. she will talk. π£οΈ-wβ be less verbose. she will hush. π€«-V,--versionβ show the program's version number and exit. quick flex, then gone. π-p passβ any pythran optimization to apply before code generation. stack 'em, bestie.-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. yes, she can un-define too. iconic.--config configβ config additional params. extra settings, extra slay.-ftime-reportβ reports the time spent in each optimization/transformation. she's timing herself fr fr. β±οΈ
and then, out of nowhere, absolute poetry:
It's a megablast!
π she really said that. and honestly? she's right.
π«Ά AUTHORS π«Ά
pythran was primarily written by Serge Guelton. give that legend their flowers. πΈ
π SEE ALSO π
this script is part of pythran. full documentation for pythran can be consulted at https://pythran.readthedocs.io β go read it, iykyk. πβ¨
okay that's the whole page, bestie! π this is pythran version 0.15.0+ds, dated January 2024, and yes that's the footer, but i'm giving it a whole send-off instead because she deserves one. periodt. ππ¦π
π¦ where this page comes from
- debian trixie: python3-pythran 0.17.0+ds-1 Β· BSD-3-Clause
- ubuntu noble: python3-pythran 0.15.0+ds-2 Β· BSD-3-Clause
- ubuntu questing: python3-pythran 0.17.0+ds-2ubuntu1
- ubuntu resolute: python3-pythran 0.18.1+ds-1 Β· BSD-3-Clause
- ubuntu stonking: python3-pythran 0.18.1+ds-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms