Skip to main content

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.

Metadata

Release files for django-gravy 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-gravy 0.3.3
File Size Uploaded Provenance Actions
django-gravy-0.3.3.tar.gz 573.6 kB Without provenance Details for django-gravy-0.3.3.tar.gz

Release files / django-gravy-0.3.3.tar.gz

Download URL django-gravy-0.3.3.tar.gz
Size 573.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f927c94061e6cec8e7781a53be7742daec8d05dd762e7596dcb3bc743937e1ab
BLAKE2b-256 checksum
How to use checksums
9fda96d7ec6bdf1cdb6eb64b2ac35de983d0494b51461ba4499b3f18723d68f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for django-gravy 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page