Scroll to navigation

PYSTE(1) User Commands PYSTE(1)


Pyste - Boost.Python code generator


pyste [options] interface-files


Pyste is a Boost.Python code generator. The user specifies the classes and functions to be exported using a simple interface file which, following the Boost.Python's philosophy, is simple Python code. Pyste then uses GCCXML to parse all the headers and extract the necessary information to automatically generate C++ code.

The name of the module that will be generated; defaults to the first interface filename, without the extension.
Add an include path
Define symbol
Create various cpps, instead of only one (useful during development)
Specify output filename (default: <module>.cpp) in --multiple mode, this will be a directory
Do not declare "using namespace boost"; use explicit declarations instead
Set the namespace where new types will be declared; default is the empty namespace
Writes the xml for each file parsed in the current directory
Directory for cache files (speeds up future runs)
Recreates all caches (doesn't generate code).
Generates the _main.cpp file (in multiple mode)
A file with one pyste file per line. Use as a substitute for passing the files in the command line.
Path to gccxml executable (default: gccxml)
Do not use INCLUDE environment variable for include files to pass along gccxml.
Print this help and exit
Print version information


The full documentation for Pyste is maintained in HTML format. If you have the libboost-doc package installed, the manual starts at

March 2008 Pyste version 0.9.30