$npx skillfedfor your agent

python-hglib

Mercurial Python library

SkipPyPI Software DevelopmentReleased Nov 202076.9K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — python-hglib-2.6.2.tar.gz · builds from source
v2.6.2 · released 2020-11-17

No, unless you are maintaining legacy code already using this package. The project is abandoned (last release 2020-11-17), classifiers only list Python up to 3.4, and high install friction suggests unresolved system dependencies. For new Mercurial automation, consider alternatives or direct command-line invocation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Mercurial to be installed and the hg command server to be available on the system; high install friction suggests potential compiled dependencies or system-level configuration.
  • Installation friction is high and maintenance is abandoned—the package has not been updated since 2020-11-17.
  • No recent commits or repository activity are available.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you may use, modify, and distribute the package freely with minimal restrictions.

last release 2020-11-17 (2096 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,923 downloads/mo, #14,578 on PyPI

Verify before relying

pip install python-hglib

from hglib.client import hg

repo = hg.open('/path/to/repo')
log = repo.log()
repo.close()
  • Whether the package works reliably with modern Python versions beyond 3.4, given its age and lack of maintenance.
  • Current compatibility with recent Mercurial releases and whether the command server protocol has changed.
  • Whether high install friction is due to compiled dependencies or other system-level requirements.
Same gist for agents: .md · .json

What it is and what it does

python-hglib is a Python library that wraps Mercurial's command server to provide a programmatic interface to hg operations. Instead of shelling out to the hg command-line tool, it communicates directly with Mercurial's server mode, which the library describes as offering a fast and convenient way to interact with repositories from Python code.

The package is designed for developers who need to automate or script Mercurial workflows—for example, querying repository state, running commits, or managing branches programmatically. However, the package has been abandoned since its last release on 2020-11-17 and classifiers only list Python up to 3.4, making it a legacy tool unsuitable for new projects unless you are maintaining existing Mercurial-based infrastructure.

Use it for

  • Automating Mercurial repository operations in build or deployment scripts that cannot use the command-line hg tool directly.
  • Writing tools that need to query Mercurial repository metadata or history programmatically.
  • Integrating Mercurial version control into Python applications that manage or monitor multiple repositories.
  • Legacy system maintenance where existing Python code depends on hglib for Mercurial interaction.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are maintaining legacy code already using this package.

The project is abandoned (last release 2020-11-17), classifiers only list Python up to 3.4, and high install friction suggests unresolved system dependencies. For new Mercurial automation, consider alternatives or direct command-line invocation.

Install

python-hglib on PyPI

Before you install

Installation friction is high and maintenance is abandoned—the package has not been updated since 2020-11-17. No recent commits or repository activity are available. Caution is warranted for new projects.

Requires Mercurial to be installed and the hg command server to be available on the system; high install friction suggests potential compiled dependencies or system-level configuration.

License in practice

Licensed under MIT (permissive), so you may use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install python-hglib

from hglib.client import hg

repo = hg.open('/path/to/repo')
log = repo.log()
repo.close()

Verify before relying

  • Whether the package works reliably with modern Python versions beyond 3.4, given its age and lack of maintenance.
  • Current compatibility with recent Mercurial releases and whether the command server protocol has changed.
  • Whether high install friction is due to compiled dependencies or other system-level requirements.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 2,096 days since the last release
First released
Downloads76,923 / month, #14,578 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: PythonProgramming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4

Evidence: python-hglib-2.6.2.tar.gz

Tags

Capabilities
mercurial python interfacehg command server libraryversion control automationmercurial scriptinghglib python bindings
Topics
mercurialversion-controlabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mercurial python interface”

  • python-hglibpython-hglib provides a Python interface to Mercurial version control…
  • mercurialMercurial is a distributed version control system that tracks and…
  • hatch-vcsA Hatch plugin that automatically determines your project's version…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also mercurial · argparse · scrapinghub · bump2version · bumpversion · versioningit · hid · hjson · setuptools-scm · gnureadline