Skip to main content

A reusable Django app to collect quotes for use in random retrieval or generation of sentences using Markov Chains.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_quotes-0.4.2.tar.gz (35.5 kB view hashes)

Uploaded Source

Built Distribution

django_quotes-0.4.2-py2.py3-none-any.whl (43.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page