Compressor 4 2
Two Stage Air Compressor superstore. Huge selection of 2 Stage Air Compressors. Buy Two Stage Compressor Direct and save. 120 Gallon Fully Packaged 2 Stage Air Compressor (CE8003FP). 90 Gallon 2 Stage Air Compressor (CE8007) Coming soon.
Released:
Compresses linked and inline JavaScript or CSS into single cached files.
Project description

Django Compressor processes, combines and minifies linked and inlineJavascript or CSS in a Django template into cacheable static files.
It supports compilers such as coffeescript, LESS and SASS and isextensible by custom processing steps.
Django Compressor is compatible with Django 1.11 and newer.
How it works
In your templates, all HTML code between the tags {% compress js/css %} and{% endcompress %} is parsed and searched for CSS or JS. These styles andscripts are subsequently processed with optional, configurable compilers andfilters.
The default filter for CSS rewrites paths to static files to be absolute.Both Javascript and CSS files are by default concatenated and minified.
As the final step the template tag outputs a <script> or <link>tag pointing to the optimized file. Alternatively it can alsoinline the resulting content into the original template directly.
Since the file name is dependent on the content, these files can be givena far future expiration date without worrying about stale browser caches.
For increased performance, the concatenation and compressing processcan also be run once manually outside of the request/response cycle by usingthe Django management command manage.py compress.
Configurability & Extensibility
Django Compressor is highly configurable and extensible. The HTML parsingis done using lxml or if it’s not available Python’s built-in HTMLParser bydefault. As an alternative Django Compressor provides a BeautifulSoup and ahtml5lib based parser, as well as an abstract base class that makes it easy towrite a custom parser.
Django Compressor also comes with built-in support forYUI CSS and JS compressor, yUglify CSS and JS compressor, the Google’sClosure Compiler, a Python port of Douglas Crockford’s JSmin, a Python portof the YUI CSS Compressor csscompressor and a filter to convert (some) images intodata URIs.
If your setup requires a different compressor or other post-processingtool it will be fairly easy to implement a custom filter. Simply extendfrom one of the available base classes.
More documentation about the usage and settings of Django Compressor can befound on django-compressor.readthedocs.org.
The source code for Django Compressor can be found and contributed to ongithub.com/django-compressor/django-compressor. There you can also file tickets.
The in-development version of Django Compressor can be installed withpip install git+https://github.com/django-compressor/django-compressor.git
Release historyRelease notifications RSS feed
2.4
2.3
2.2

2.1.1
4-2 Compressor Verilog Code
2.1
2.0
1.6
1.5
1.4
1.3
1.2
1.1.2
1.1.1
1.1
1.0.1
1.0
0.9.2
0.9.1
0.9
0.8
0.7.1
0.7
0.6.4
0.6.3
0.6.2
0.6.1
0.6
0.5.3
0.5.2
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_compressor-2.4-py2.py3-none-any.whl (126.1 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size django_compressor-2.4.tar.gz (111.9 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for django_compressor-2.4-py2.py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 57ac0a696d061e5fc6fbc55381d2050f353b973fb97eee5593f39247bc0f30af |
MD5 | a992c4632652ef9c31100ca63eb0c8c9 |
BLAKE2-256 | d7072c7524eb05f9eb770b3e39deb0dacf6fb8c5d21107c9d1cbab3ebd300bfe |
4 2 Compressor Operation
CloseHashes for django_compressor-2.4.tar.gz
Makita Mac2400 Best Price
Algorithm | Hash digest |
---|---|
SHA256 | d2ed1c6137ddaac5536233ec0a819e14009553fee0a869bea65d03e5285ba74f |
MD5 | 227849598d79c4de875bb7f82c646335 |
BLAKE2-256 | 7d3f9665c787d60203832ace5c8d5181dd1e03c7bec09f490a8555815bea2429 |