start of docs in Python interface