We would like to use the code from @terhorst as an example of using the LWT interface in Cython:
Here is a Cythonized version of one of the C API examples from the docs:
https://github.com/terhorst/tskit_cython_example
Originally posted by @terhorst in #1004 (comment)