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.0rc1.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file hgapi-1.7.0rc1.tar.gz.

File metadata

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

File hashes

Hashes for hgapi-1.7.0rc1.tar.gz
Algorithm Hash digest
SHA256 0610d13d82e74b7240150c584bd913e03d63164ed32de3d08073e2735ecf7cc5
MD5 c5a745b5e42abcb3600c35adc4c00890
BLAKE2b-256 6eb59d6343ae487328646b3fc0b942d5b21882838987149f1d64d21aae0090a1

See more details on using hashes here.

Supported by

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