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.3.1a3.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file hgapi-1.3.1a3.tar.gz.

File metadata

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

File hashes

Hashes for hgapi-1.3.1a3.tar.gz
Algorithm Hash digest
SHA256 0af495f623002baa3435292d854762735e7c281211c1b4bf129c4a621b2f7a91
MD5 4e7845ea0e73e41a98b7bfc27b7ff615
BLAKE2b-256 5e5d5794e6f8d13afe94a8dddc1fe9b560aa21af19e50279dd3100956c0373a3

See more details on using hashes here.

Supported by

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