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 PyPI - Python Version PyPI - Versions from Framework Classifiers Black code style Pre-commit License uv 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.6.0.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_quotes-0.6.0-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file django_quotes-0.6.0.tar.gz.

File metadata

  • Download URL: django_quotes-0.6.0.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.17

File hashes

Hashes for django_quotes-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5fc95b1b66a4aea0863e2467668cc463fe5ef57d91e0b621963a83ec117f85e2
MD5 1bee5eef1e4a91a988ef1fa596143130
BLAKE2b-256 0df3213f444e3ac018d421a7adb9b2cd60917fa2415a07e8d375474cac5156cd

See more details on using hashes here.

File details

Details for the file django_quotes-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_quotes-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 602fd8f3c509f3a04943319d4274157b2aad9d3d3a5ee0d133bfcf45799ae639
MD5 cb948905485fee0f5c3d840091175f98
BLAKE2b-256 64673f888db3056b8054f5f6aead0dcd43e946761ecf87db167458dcef62e167

See more details on using hashes here.

Supported by

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