FindSoftware

Django Compressor

Django app that combines, minifies and caches linked and inline JavaScript and CSS from Django templates into static files.

Django Compressor is a Django app that combines and minifies the linked and inline JavaScript and CSS used in Django templates, and writes the result to cacheable static files. It is a Python package installed with pip. Templates can also use it through Jinja2, which the project supports through an extension.

Compression can run during a request, or offline: offline compression runs the compress management command during deployment, as a build step.

Worth knowing

The pip package is named django_compressor, and the Python module is named compressor.

Identity

Status
Active
Maintainer
Mathieu Pillard4
First release
20109

Rendering and deploy

Runs as
Dev only6
Install with
pip install django-compressor7

Releases

Current major version
49
Last release
2025-11-109

Adoption

GitHub stars
2,8692
Contributors
18310
Dependent repositories
6,52411
Dependent packages
6911

Why these figures do not compare

Sources

  1. 2026-10-28: links, Categories
    django-compressor.readthedocs.io/en/latest/
  2. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/django-compressor/django-compressor
  3. 2026-10-28: Built on
    github.com/django-compressor/django-compressor/blob/4.6/README.rst
  4. 2026-10-28: Runtime, Minimum runtime, Maintainer, License
    github.com/django-compressor/django-compressor/blob/4.6/pyproject.toml
  5. 2026-10-28: Templating
    django-compressor.readthedocs.io/en/latest/jinja2.html
  6. 2026-10-28: Runs as
    django-compressor.readthedocs.io/en/latest/usage.html
  7. 2026-10-28: Install with
    django-compressor.readthedocs.io/en/latest/quickstart.html
  8. 2026-10-28: License model
    raw.githubusercontent.com/django-compressor/django-compressor/4.6/LICENSE
  9. 2026-10-28: First release, Current major version, Last release
    pypi.org/pypi/django-compressor/json
  10. 2026-10-28: Contributors
    api.github.com/repos/django-compressor/django-compressor/contributors?per_page=1
  11. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-compressor

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON