Django-Pipeline: Asset Packaging for Django Applications
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
Django-Pipeline is a robust asset packaging library designed for Django projects. It streamlines the process of concatenating and compressing CSS and JavaScript files, enhancing web application performance. This tool also offers built-in JavaScript template support and optional data-URI embedding for images and fonts.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Django-Pipeline is an essential asset packaging library for Django, maintained by the Jazzband community. It provides comprehensive solutions for managing static assets, including CSS and JavaScript concatenation and compression. This library helps optimize your Django applications by reducing file sizes and HTTP requests, leading to faster load times.
Installation
To integrate Django-Pipeline into your project, install it using pip:
pip install django-pipeline
After installation, add 'pipeline' to your INSTALLED_APPS in settings.py.
Examples
Django-Pipeline compiles and compresses your asset files from STATICFILES_DIRS to STATIC_ROOT when you run Django's collectstatic command. Here's a quick example to set up basic CSS and JavaScript compilation and compression:
# settings.py
INSTALLED_APPS = [
# ...
'pipeline',
]
STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage'
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'pipeline.finders.PipelineFinder',
)
PIPELINE = {
'STYLESHEETS': {
'css_files': {
'source_filenames': (
'css/main.css',
'css/normalize.css',
),
'output_filename': 'css/styles.css',
'extra_context': {
'media': 'screen,projection',
},
},
},
'JAVASCRIPT': {
'js_files': {
'source_filenames': (
'js/app.js',
'js/script.js',
),
'output_filename': 'js/main.js',
}
}
}
Remember that Pipeline typically operates when DEBUG is False. You may also need to install compilers and compressors, for example, using NPM:
# Example for yuglify
PIPELINE.update({
'YUGLIFY_BINARY': path.join(BASE_DIR, 'node_modules/.bin/yuglify'),
})
Finally, load your static files in your Django templates:
{% load pipeline %}
{% stylesheet 'css_files' %}
{% javascript 'js_files' %}
Why Use
Using Django-Pipeline significantly improves the performance of your Django applications by optimizing frontend assets. It automates the process of combining multiple CSS and JavaScript files into single, compressed bundles, reducing the number of HTTP requests and the overall data transfer size. This leads to faster page load times, a better user experience, and simplifies asset management within your project.
Links
For more detailed information, usage guides, and to contribute, please visit the official resources:
Related repositories
Similar repositories that may be relevant next.

oh-my-hermes: Enhance Hermes Agent with Advanced AI Workflow and Memory
September 17, 2026
oh-my-hermes is an all-in-one plugin designed to significantly enhance the Hermes Agent. It provides advanced coding intelligence, a robust long-term memory system, and optimized workflow packages, transforming standard Hermes requests into structured, actionable tasks with clear operational layers.
ASC: A Super Fast Android Decompiler for Mobile Reverse Engineering
September 17, 2026
ASC is an innovative and exceptionally fast Android decompiler front-end, specifically designed for mobile researchers and agents. It redefines traditional decompilation by directly querying compiled artifacts, offering on-demand code extraction and analysis without heavy preprocessing. This approach results in significantly reduced memory usage and lightning-fast performance, even on large APKs.

Open Index: A Deterministic Memory Layer for Your AI Agents
September 16, 2026
Open Index is a powerful tool for building domain-specific, accurate, and structured data that AI agents can effectively operate on. It enables the creation of a "brain," a searchable and continuously improving context graph tailored to any domain. This system ensures agents have access to reliable, up-to-date information, enhancing their capabilities and decision-making processes.
tooltrim: Drastically Reduce LLM Agent Tool Output Tokens, Improve Accuracy
September 16, 2026
tooltrim provides drop-in compression for LLM agent tool outputs, drastically cutting tokens while often improving answer accuracy. This provider-agnostic solution offers content-aware compression, faithfulness benchmarks, and seamless integration with popular frameworks or as an OpenAI-compatible proxy.
Source repository
Open the original repository on GitHub.
14 counted GitHub visits