Skip to main content

Python API to Mercurial using the command-line interface

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hgapi-1.7.4.tar.gz (13.7 kB view details)

Uploaded Source

File details

Details for the file hgapi-1.7.4.tar.gz.

File metadata

  • Download URL: hgapi-1.7.4.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hgapi-1.7.4.tar.gz
Algorithm Hash digest
SHA256 0b1f20a6a8cefe9e9f72b14a0823b7abdbc88d19cdf815211849067d9ac27ebc
MD5 45d1cd67cb55761b872c519709e0c6d8
BLAKE2b-256 36db6ad72214343e361c3fae732230e64bb7a5e4580002027782a4406748aee6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page