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.5.2.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

django_quotes-0.5.2-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_quotes-0.5.2.tar.gz
Algorithm Hash digest
SHA256 ab3f41688c3e55fc6d206e8bb777e22e887780530c679ce8072d7ce916338dc3
MD5 1ec8508f8e8ac0ee059847ef3b6ac815
BLAKE2b-256 1ad6695f2ede097ea94bfc01cbb38aa429bca2d032a2e61e4e2c8f4939bbf2c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_quotes-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed59fc7975d7b49a253b36f8da7856d318dcc4ff902c18a4dd271056bfda04fd
MD5 cc31c7352cf65ccf802bb20fd851c853
BLAKE2b-256 7962b2f210f30a6047284f678c91f41f98b7fbc1f627aa572e8f64c2b86cee3e

See more details on using hashes here.

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