Socket
Book a DemoInstallSign in
Socket

hgapi

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hgapi

Python API to Mercurial using the command-line interface

pipPyPI
Version
1.7.4
Maintainers
1

hgapi is a pure-Python API to Mercurial, that uses the command-line interface instead of the internal Mercurial API. The rationale for this is twofold: the internal API is unstable, and it is GPL.

hgapi works for any version of Mercurial, including < 1.9, and will instantly reflect any changes to the repository. It also has a really permissive license (do whatever you want, don't blame me).

For example of code that uses this API, take a look at https://bitbucket.org/haard/autohook which now uses hgapi exclusively.

Keywords

mercurial api

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts