Wrote initial API description for Python