# liftoff/pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.

Repository: https://github.com/liftoff/pyminifier
Canonical: https://ross.abutalabs.com/products/pyminifier
Language: Python
License: GPL-3.0
License Family: copyleft
Last push: 2023-07-13T13:20:18+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": 4484, "days_push": 1147, "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 1553, forks 229 (observed 2026-08-28T04:05:02.914191+00:00)

## What it is
Pyminifier is a command-line tool that minifies, obfuscates, and compresses Python source code. It can produce self-executing compressed scripts and zip archives (.pyz) bundling local modules.

## Use cases
- minify python scripts to reduce file size
- obfuscate python source code identifiers
- compress a python script into a self-executing gzip file
- bundle a script with its local modules into a .pyz archive
- strip comments and docstrings from python code

## When to choose
- you need to shrink or obscure standalone Python scripts for distribution
- you want a simple CLI to minify or obfuscate Python code

## When to avoid
- you need robust protection of intellectual property (obfuscation is easily reversed)
- you need a modern actively developed minifier or bundler like PyInstaller or Nuitka
- your project relies on implicit imports with compression options

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, compression, security
- domain: developer-tools
- platform: cli, python, cross-platform
- tags: minifier, obfuscator, python-code, self-extracting-scripts, command-line, python

## Member repositories
- liftoff/pyminifier (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.914191+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-30T04:30:09.602422+00:00, confidence not recorded.
  - readme: https://github.com/liftoff/pyminifier (fetched 2026-08-28T04:05:02.914191+00:00, sha 10bf6ad9b260)
  - registry_pypi: https://pypi.org/pypi/pyminifier/json (fetched 2026-08-29T11:30:29.527495+00:00, sha 0d4261c921b8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
