Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

hg_version dynamically determines the version of your project by examining your project’s mercurial repository.

To use, just copy hgvers.py into your project. Your projects version is then available from hgvers.version after importing hgvers

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