Asset managers for combining/compressing JavaScript/CSS and for versioning your media files.
Feature | Description |
---|---|
JavaScript compression | Whether JavaScript can be compressed |
Auto-regenerates | Automatically regenerates/updates files and bundles when files change (during development) |
Image versioning | Whether image files get versioned, too (or at least, whether it's compatible with Django's ManifestStaticFilesStorage or CachedStaticFilesStorage). |
CSS compression | Whether CSS files can be compressed |
HTML5 manifest | Can it auto-generate an HTML5 offline manifest file? |
Dev mode | Is a development mode available where files aren't combined/compressed (for easier debugging)? |
Sprites | Can it generate sprites? Only data URIs aren't enough because they don't work with all popular browsers. |
Combining | Can concatenate/combine files into so-called bundles |
Compressors | List of supported JS/CSS compressors |
Manual regeneration | Has a command for regenerating all asset bundles. (Used in production.) |
Other languages | Other supported languages (in addition to JavaScript and CSS) |
Other features and notes | Any other extra features |
Cache Busting | Adds version tag to file names for browser cache updates when content changes. |
Gzips | Pre-generates gzipped version of asset |
Filter backends API | Can it be extended via filter backends? This means *at least* being able to add CSS compilers like Sass. |
Source Maps | Does it support sourcemaps in the generated js/css? |
Works in sandbox (e.g. App Engine) | Whether it works in sandboxed environments like Google App Engine |
Caching in dev mode | Are assets properly cached when using runserver? This means there will be no unnecessary HTTP requests (not even "if-modified-since"). This is important for fast reloads with large web apps. |
staticfiles-compatible URL rewriting | In CSS files relative url() expressions stay valid no matter if you combine your CSS files with this particular asset manager or if you use the same files uncombined with django.contrib.staticfiles. This asset manager will correctly rewrite relative URL paths when files are combined, even if the CSS files are located in different subfolders at different depth levels. |
new feature | new feature added |
Package | whitenoise | django-compressor | django-webpack-loader | django-pipeline | webassets | django-sass-processor | django-static-precompiler | lesscpy | python-webpack-boilerplate | django-spa | django-webpacker | Django Bootstrap Customizer | django-node-assets | Django React Tools | Django Front End Validators |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description |
Radically simplified static file serving for Python web apps |
Compresses linked and inline javascript or CSS into a single cached file. |
Transparently use webpack with django |
Pipeline is an asset packaging library for Django. |
Asset management for Python web development. |
SASS processor to compile SCSS files into *.css, while rendering, or offline. |
Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars... |
Python LESS compiler |
Django Webpack boilerplate & Flask Webpack boilerplate |
Simple Django configuration to serve a single-page app |
A django compressor tool that bundles css, js files to a single css, js file with webpack and updates you... |
Build customized Bootstrap CSS using the Django admin |
The Django application allows install and serve assets via Node.js package manager infrastructure. |
Tools for helping integrate ReactJS into a Django project. |
Use model field validator functions for front end JS form validation |
Category | Other | App | App | App | App | App | App | Other | App | Other | App | App | App | App | App |
# Using This |
4
![]() |
114
![]() |
6
![]() |
32
![]() |
13
![]() |
3
![]() |
2
![]() |
1
![]() |
0
![]() |
0
![]() |
1
![]() |
0
![]() |
0
![]() |
0
![]() |
0
![]() |
Python 3? | |||||||||||||||
Development Status | Production/Stable | Production/Stable | Unknown | Production/Stable | Alpha | Production/Stable | Beta | Production/Stable | Unknown | Pre-Alpha | Unknown | Beta | Unknown | Pre-Alpha | Alpha |
Last updated | May 13, 2022, 4:22 a.m. | May 10, 2022, 8:48 a.m. | May 6, 2022, 9:12 a.m. | Jan. 10, 2022, 2:55 p.m. | May 1, 2021, 8:22 a.m. | March 2, 2022, 9:59 a.m. | Jan. 30, 2022, 5:46 a.m. | July 15, 2021, 2:45 a.m. | May 5, 2022, 10:30 p.m. | Dec. 7, 2021, 5:45 a.m. | Jan. 6, 2022, 11:47 p.m. | Jan. 13, 2021, 1:49 p.m. | Feb. 17, 2022, 7:53 a.m. | Feb. 8, 2022, 1:22 p.m. | Jan. 13, 2021, 8:54 p.m. |
Version | 6.1.0 | 4.0 | 1.5.0 | 2.0.8 | 2.0 | 1.1 | 2.1 | 0.15.0 | 1.0.0 | 0.3.6 | 0.1.1 | 0.2.0 | 0.9.11 | 0.2.15 | 0.1.1 |
Repo | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub |
Commits | |||||||||||||||
Stars | 1,990 | 2,570 | 2,370 | 1,436 | 906 | 381 | 211 | 139 | 80 | 87 | 71 | 46 | 16 | 10 | 15 |
Repo Forks | 120 | 579 | 328 | 381 | 260 | 62 | 57 | 47 | 14 | 18 | 16 | 3 | 2 | 6 | 1 |
Participants |
evansd
adamchainz keimlink thedrow pre-commit-ci[bot] timgraham edmorley rsalmaso acdha hanswilw more... |
jezdez
diox karyon mintchaos scop albertyw jaap3 kudlatyamroth ulope alvra more... |
owais
joaopslins fjsj rvlb thejoeejoee matthiask chocoelho joshjo dependabot[bot] karolyi more... |
cyberdelia
pelme TheBuky davidt jwhitlock asfaltboy jezdez estebistec hsiaoyi0504 RDIL more... |
miracle2k
kmike noirbizarre eriktaubeneck JDeuce danc86 msabramo marcellarius mcfletch zakj more... |
jrief
Natureshadow frostbtn rfleschenberg AndreasBackx dorivard eshellman bit terceiro be-ndee more... |
sir-sigurd
andreyfedoseev lehins Drieger pedroseac dotmobo JordanReiter alin23 sepulchered jaheba more... |
robotis
saschpe adiroiban lordi bbenne10 caioariede danc86 lephe cladmi javacruft more... |
michael-yin
adamchainz aclark4life |
metakermit
pyup-bot VBobCat dependabot[bot] |
nikhila05
ashwin31 codetriage-readme-bot timgates42 |
johnfraney | whitespy |
renderbox
dependabot[bot] rhimmelbauer devo-wm |
johnfraney |
Documentation | n/a | n/a | n/a | n/a | n/a | ||||||||||
JavaScript compression | |||||||||||||||
Auto-regenerates | |||||||||||||||
Image versioning | |||||||||||||||
CSS compression | |||||||||||||||
HTML5 manifest | Using manifesto package. |
||||||||||||||
Dev mode | |||||||||||||||
Sprites | |||||||||||||||
Combining | |||||||||||||||
Compressors | Closure Compiler YUICompressor cssmin jsmin (rJSmin) SlimIt csstidy |
csstidy Yui-compressor Closure Compiler UglifyJS Jsmin Any other via "plugin" |
Closure Compiler YUICompressor jsmin cssmin jspacker cssutils |
webpack | |||||||||||
Manual regeneration | |||||||||||||||
Other languages | LESS others via generic precompiler support |
Coffee-script Less Sass Stylus Any other via "plugin". |
CleverCSS LESS Sass/Scss/Compass CoffeeScript |
SASS / SCSS / Compass / Libsass Less Stylus CoffeeScript Babel Handlebars |
less, scss files | ||||||||||
Other features and notes | CSS data URIs | JavaScript templates support. Data-URI support for embedding images and font. HTML compression middleware. |
Has Jinja2 template tags and supports non-Django-based projects. | ||||||||||||
Cache Busting | |||||||||||||||
Gzips | |||||||||||||||
Filter backends API | |||||||||||||||
Source Maps | |||||||||||||||
Works in sandbox (e.g. App Engine) | |||||||||||||||
Caching in dev mode | |||||||||||||||
staticfiles-compatible URL rewriting | |||||||||||||||
new feature |
Search Weight | Package | Description | Last PyPI release: | Repo Forks | Stars | |||
---|---|---|---|---|---|---|---|---|
{{ item.weight / max_weight * 100 | number:0 }}% | {{ item.title }} | Grid: {{ item.description }} | {{ item.last_released | date: 'mediumDate' }} | N/A | {{ item.repo_forks }} | N/A | {{ item.repo_watchers }} | N/A |