Python API

ClearSilver Python Documentation

Here are some preliminary docs for the Python interface to ClearSilver. For the most part, these functions exist as an Object Oriented but direct mapping of the C functions.

There is only one python module actually built with ClearSilver (neo_cgi), but it mimics two other modules (neo_cs & neo_util). We currently use this because we want to share some functionality between the three modules, and doing this with Python is very annoying. It would be nice to be able to get access to the dynamic loading handle so I could just make my own references to the functions I want, but Python recommends this annoying mechanism of #defines and arrays of function pointers hidden in Python objects.