Skip to main content

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.

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.4.1.tar.gz (7.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hgapi-1.4.1.tar.gz
Algorithm Hash digest
SHA256 e3b72492dcca99f2a857c8abbc0b9ef2a363cb969575022ef1b17d2b5166081c
MD5 9dcb4fb880ca7fd90ba52d94327b1851
BLAKE2b-256 9afd55d947624692df5545f7c09c0700858d86596dd0cc98c3f21b40204e8f0f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.7.4

1 file

1.7.2

1 file

1.7.1

1 file

1.6.0

1 file

1.5.1

1 file

1.5.0

1 file

1.4.2

1 file

This release

1.4.1 This release

1 file

1.4.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

2 files

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page