skillfed

Collectfast

A Faster Collectstatic

collectfast v2.2.0 370.9K downloads/30d#7,172 on PyPI414
Permissive license MIT License Abandoned released

What it is and what it does

Collectfast is a drop-in replacement for Django's built-in collectstatic command that speeds up the process of gathering and uploading static files to remote storage. It works by caching file checksums to avoid re-uploading unchanged files, and optionally parallelizing uploads across multiple threads. The package integrates with django-storages to support S3, Google Cloud Storage, and local filesystem backends.

You install it, add it to INSTALLED_APPS before django.contrib.staticfiles, configure a storage backend and strategy, then run collectstatic as normal. Collectfast intercepts the command and applies its optimizations transparently. It requires Django and django-storages as runtime dependencies, plus typing-extensions for type hints.

Use it for:

  • Speed up CI/CD deployment pipelines that repeatedly run collectstatic with large static file sets
  • Reduce S3 API calls and transfer time when deploying Django projects with hundreds of static files
  • Enable parallel uploads to Google Cloud Storage to cut deployment time on projects with many assets
  • Cache file metadata locally to avoid redundant remote storage lookups during frequent deployments

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Collectfast accelerates Django's collectstatic command by using cached checksums to avoid redundant uploads and enabling parallel file transfers to cloud storage backends.

No. While Collectfast solves a real problem and has low install friction, the package is abandoned since 2022-04-21 with no maintenance. Django, django-storages, and cloud storage APIs have evolved significantly since then, creating a high risk of incompatibility or silent failures. For active projects, investigate current alternatives or file-upload optimization in modern django-storages versions before committing to this package.

Install

collectfast on PyPI

pip

pip install collectfast

uv

uv add collectfast

poetry

poetry add collectfast

Installing Collectfast

Before you install

Low install friction with a pure-Python wheel. However, the package is abandoned as of 2022-04-21 with no recent maintenance, so it may not be compatible with current Django or storage backend versions.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.

Quickstart

pip install Collectfast

# In Django settings.py:
INSTALLED_APPS = (
    'collectfast',
    'django.contrib.staticfiles',
)
STATICFILES_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
COLLECTFAST_STRATEGY = "collectfast.strategies.boto3.Boto3Strategy"

# Then run:
python manage.py collectstatic

Requires Django and django-storages to be installed and configured with a supported backend (S3Boto3Storage, GoogleCloudStorage, or FileSystemStorage)

Verify before relying

  • Compatibility with Django versions released after 2020-06-05
  • Whether parallel uploads work reliably with modern Python concurrent.futures
  • Current status of S3Boto3Storage and GoogleCloudStorage APIs relative to expectations

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 3 — Django, django-storages, typing-extensions
Maintenance abandoned — 2,261 days since the last release
Last repo commit (repository archived)
First released
Downloads 370,943/month — #7,172 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: Collectfast-2.2.0-py2.py3-none-any.whl

Environment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Tags

django collectstatic optimizationparallel static file uploaddjango s3 faster deploymentcached checksum file syncdjango storage performancebatch static files uploaddjango gcloud storage speed
django-deployments3-optimizationstatic-files

More Dynamic Content packages