Reusable extras for Django (the gravy).
Project description
Gravy is a set of useful extensions to Django that I found myself reusing.
Requirements
To enable all features of gravy you will need to install the following python packages:
django-betterforms => gravy.forms
django-widget-tweaks => gravy/templates/gravy/form_snippet.html
django-redis => gravy.websocket
gevent-websocket => gravy.websocket
jsonschema => gravy.forms
beautifulsoup4 => gravy.templatetags.gravytags ({% staticonce %} and {% prettyhtml %})
python-magic => gravy.utils
pillow => gravy.images
pytesseract => gravy.images
geoip2 => gravy.geo.geoip2
Additional dependencies (aptitude):
python-pip
redis-server => django-redis
libgeoip1 => django (for django.contrib.gis.geoip used by gravy.geo.geoip)
libjpeg-dev => pillow
libpng12-dev => pillow
tesseract-ocr => pytesseract
liblzo2-2 => gravy.lzo
libmaxminddb0 => geoip2
libmaxminddb-dev => geoip2
mmdb-bin => geoip2
If you are using geoip or geoip2 then you will also databases from maxmind.
Installation
A complete install goes something like this. You’re install might be a bit different (virtualenv etc)
sudo apt-get install python-pip redis-server libgeoip1 libjpeg-dev libpng12-dev tesseract-ocr liblzo2-2 libmaxminddb0 libmaxminddb-dev mmdb-bin sudo pip install django-widget-tweaks django-redis gevent-websocket jsonschema beautifulsoup4 pillow pytesseract geoip2 sudo pip install django-gravy
Features
Many … Until I get time to update this check the source code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-gravy-0.3.3.tar.gz
.
File metadata
- Download URL: django-gravy-0.3.3.tar.gz
- Upload date:
- Size: 573.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f927c94061e6cec8e7781a53be7742daec8d05dd762e7596dcb3bc743937e1ab |
|
MD5 | 1942983c59d2055a5ab9bd388815740d |
|
BLAKE2b-256 | 9fda96d7ec6bdf1cdb6eb64b2ac35de983d0494b51461ba4499b3f18723d68f5 |