Skip to content

Django Quotes

A simple reusable Django app that allows you to collect quotes from arbitrary groups of characters, and then serve random quotes or Markov-chain generated sentences based upon them. Includes a Bootstrap compatible set of templates an optional REST API.

PyPI Black code style Pre-commit License Rye Ruff Security: bandit Checked with pyright Semantic Versions Test results Coverage Status Documentation

Features

  • Documentation and a full test suite.
  • Support for abstract grouping of quote sources.
  • Convenience methods for fetching a random quote.
  • Object-level permissions via django-rules.
  • Generate sentences based off of a Markov-chain for individual sources and groups using natural language processing. (via django-markov)
  • Bootstrap-compatible templates.
  • A simple REST API for fetching data via JSON with CORS support.

Check out the documentation for installation and quickstart instructions.