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.
Metadata
Release files for hgapi 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hgapi-1.5.0.tar.gz | 9.5 kB | Details |
Release files / hgapi-1.5.0.tar.gz
| Download URL | hgapi-1.5.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ab11b08c5b1deb4b42bea0e534ae7bbdfc9542f14722a78508c57b4d4515298
|
|
BLAKE2b-256 checksum How to use checksums |
d8f5bd5374f43f7267e96d0ad0e4f80ce236ff141dcc1e28dd9fff01646bad17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |