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.1.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.1-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_quotes-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a6d48acc1e3be2a8e24e2490c6015de63a2e4b9a9272b43f8d7af9c0f993ce14
MD5 94294513af842591b60ac1ea11f67d55
BLAKE2b-256 08c4195600902042728f32f30c06a244fd87c6d0c487f92e6317fc9c648f3f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_quotes-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15b9c6d04898670c8ae20fcf4427e7401787ad015365954ace8a5a02701fa649
MD5 faf0802283371e3a0469a020601bbe09
BLAKE2b-256 5e81aa512a9ee8f96fbb2ef1bb095d68057ab466f385e1357b5d55f9a023724b

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