python-hglib is a library with a fast, convenient interface to Mercurial.
It uses Mercurial's command server for communication with hg.

Homepage:
https://www.mercurial-scm.org/wiki/PythonHglib
