--- id: collectfasta version: "3.3.3" license: MIT License license_treatment: permissive maintenance: aging --- # Collectfasta — A Faster Collectstatic License: permissive · Maintenance: aging · Downloads: 1.0M/mo ## What it is and what it does Collectfasta is a drop-in replacement for Django's built-in collectstatic command that accelerates the process of uploading static files to cloud storage. It works by caching file checksums to detect which files have actually changed, avoiding unnecessary re-uploads, and by supporting parallel uploads via Python's concurrent.futures module. The package is a maintained fork of the archived collectfast project and integrates with django-storages to support multiple backends: S3 (Boto3), Google Cloud Storage, Azure Blob Storage, and local filesystem. The package includes strategy-specific optimizations—notably a two-pass upload mode for S3 Manifest storage that hashes and post-processes files in memory or on the local filesystem before copying the results, which can significantly reduce upload time for large static file collections. Configuration is straightforward: add collectfasta to INSTALLED_APPS before django.contrib.staticfiles, specify a storage backend, and optionally enable parallel uploads by setting COLLECTFASTA_THREADS and configuring a dedicated cache backend. Use it for: - Reduce deployment time for Django projects with large static file collections (jQuery UI, Bootstrap, etc.) by skipping unchanged files. - Enable parallel uploads to S3 or Google Cloud Storage to maximize network throughput during collectstatic runs. - Optimize manifest-based static file storage on S3 using two-pass hashing to avoid single-pass bottlenecks. - Cache static file checksums across deployments to avoid redundant storage backend lookups. - Speed up CI/CD pipelines that run collectstatic as part of build or deployment steps. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Collectfasta speeds up Django's collectstatic command by using cached checksums to avoid re-uploading unchanged files and enabling parallel uploads to cloud storage backends. Yes, if you deploy Django projects with large static file collections to cloud storage and want to reduce collectstatic runtime. The low install friction, permissive license, and active (though aging) maintenance make it a practical choice. However, verify that the 232-day gap since the last release does not introduce compatibility issues with your specific Django and Python versions, and confirm that the performance gains justify the additional dependency in your deployment workflow. ## Install pip install collectfasta uv add collectfasta poetry add collectfasta ## Installing Collectfasta Before you install: Low install friction with a pure-Python wheel and only three runtime dependencies (Django, django-storages, typing-extensions). Maintenance status is aging—last release was 232 days ago—but the repository is active and not archived, with recent commits and modest community engagement (76 stars). License in practice: Licensed under the MIT License (permissive), so you can use, modify, and distribute it freely with minimal restrictions. Quickstart: pip install Collectfasta # In Django settings.py: INSTALLED_APPS = ( 'collectfasta', # Must come before django.contrib.staticfiles 'django.contrib.staticfiles', ) STORAGES = { 'staticfiles': { 'BACKEND': 'storages.backends.s3boto3.S3Boto3Storage', }, } COLLECTFASTA_STRATEGY = 'collectfasta.strategies.boto3.Boto3Strategy' # Then run: python manage.py collectstatic Requires Django 4.2, 5.2, or 6.0 and Python 3.10 or later. Must configure a supported storage backend (S3, Google Cloud, Azure, or filesystem) before running collectstatic. Verify before relying: - Whether the aging maintenance status (232 days since last release) affects compatibility with the latest Django/Python versions despite classifier claims. - Performance gains and throughput improvements compared to standard collectstatic under typical project sizes. - Thread-safety guarantees for the parallel upload feature with different cache backends. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 1.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags django collectstatic optimization, faster static file uploads, django s3 storage performance, parallel file upload django, django static files caching, collectstatic speedup, django cloud storage optimization, django-deployment, static-files, cloud-storage [View on SkillFed](https://skillfed.io/packages/collectfasta) · [View on PyPI](https://pypi.org/project/collectfasta/)