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 Security: bandit Semantic Versions Test results Codestyle check results Coverage Status Documentation Status

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.
  • 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.2.2.tar.gz (23.0 kB view hashes)

Uploaded Source

Built Distribution

django_quotes-0.2.2-py3-none-any.whl (34.3 kB view hashes)

Uploaded 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