An incremental process is described for creating a Python interface to a large, hierarchical component object model (COM) library. The approach is illustrated with a real-life case study: a nontrivial scripting support implementation named TED (Tde EDitor).
This paper is very detailed. As the author states: “For a reader who is not familiar with [the] TED application programming interface (API), it is probably quite difficult to evaluate the example.”
TED is a multi-user systems design application created at the Nokia Research Center. The system is a full-fledged design environment, with a graphical user interface, unified modeling language (UML) support, collaboration features, and shared repositories (databases). In addition, TED also provides an API that allows a developer to manipulate a repository directly, making it possible to perform quite complicated tasks, like model analysis, various manipulations and transformations, and perhaps even extending the environment with features like model, report, and code generators.
It would have been helpful to see a brief comparison between the approach described here and alternatives.