# spotify/dh-virtualenv

Python virtualenvs in Debian packages

Repository: https://github.com/spotify/dh-virtualenv
Canonical: https://ross.abutalabs.com/products/dh-virtualenv
Homepage: http://dh-virtualenv.readthedocs.io/en/latest/
Language: Python
License: GPL-2.0
License Family: copyleft
Topics: dh-virtualenv, python, debian, debian-packages, omnibus-packages
Last push: 2024-04-27T01:41:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4711, "days_push": 859, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1629, forks 188 (observed 2026-08-28T04:05:13.859888+00:00)

## What it is
dh-virtualenv is a tool that combines Debian packaging with self-contained virtualenv-based Python deployments. It lets you build .deb packages that bundle Python applications with their pip-installed dependencies inside a virtualenv.

## Use cases
- package a python application as a debian package
- deploy python apps with virtualenv inside deb packages
- install python dependencies from pypi in a debian package
- build self-contained python deployments for ubuntu servers
- replace omnibus packaging with debian-native python packaging

## When to choose
- you deploy to Debian/Ubuntu servers and want versioned, self-contained Python artifacts
- you want pip-managed dependencies instead of system Python packages
- your infrastructure already relies on apt and .deb packages

## When to avoid
- you deploy with containers or wheels instead of system packages
- you need a Python version different from the OS interpreter
- you target non-Debian Linux distributions

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: build-tool, package-manager, deployment, developer-tools
- domain: developer-tools
- platform: linux, python, cli
- tags: debian-packaging, virtualenv, python-deployment, deb-packages, packaging, devops, automation, linux

## Member repositories
- spotify/dh-virtualenv (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:13.859888+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:18.164605+00:00, confidence not recorded.
  - readme: https://github.com/spotify/dh-virtualenv (fetched 2026-08-28T04:05:13.859888+00:00, sha 9eb43a39a040)
- Data as of 2026-08-30T08:39:29.467469+00:00.
