Skip to content

Python API

David Jeske edited this page May 17, 2017 · 3 revisions

This section documents the Python interface to Clearsilver. For the most part, these functions exist as an Object Oriented 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.

Examples

API Reference

Clone this wiki locally