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.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hgapi-1.7.2.tar.gz | 13.3 kB | Without provenance | Details |
Release files / hgapi-1.7.2.tar.gz
| Download URL | hgapi-1.7.2.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb6c64968e9a77d66ba12f384b0188b6a589d71296da4ba557f4aa1e213f8d7f
|
|
BLAKE2b-256 checksum How to use checksums |
036e3f8953401fe3c27ac94026761f7fe0162a935b4fcddf13a914800cc2c185
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hgapi 1.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.