Skip to main content

A Python web framework built on Flask and PookieDB

Project description

pookiepages

A Python web framework built on Flask and PookieDB. File-based routing, typed APIs, built-in auth, admin panel, AI providers, vector search, and transactional email out of the box.

Python Version License: MIT Documentation Status PyPI version

Quick start

pip install pookiepages
pookiepages init
pookiepages run

Features

  • File-based routing: pages/index.html becomes /, pages/about.html becomes /about
  • Typed API routes with automatic Pydantic v2 validation
  • Built-in local auth and OAuth (Google, GitHub) via Authlib
  • Auto-discovered admin panel with Bootstrap 5 (no CDN)
  • AES-256-GCM database encryption, ChaCha20-Poly1305, or AES-256-CBC
  • Transactional email via SMTP or REST providers (Brevo, Mailgun, Resend, Postmark, SendGrid)
  • AI completions and embeddings via any OpenAI-compatible API
  • Vector search via zvec
  • Cloud file storage: S3, Cloudflare R2, or local disk
  • CSS and JS minification pipeline
  • Frontend bridge: window.pkbridge served as /pkbridge.js
  • CLI: pookiepages init, pookiepages run, pookiepages build, and more

Documentation

License

MIT. See LICENSE for details.

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

pookiepages-0.1.1.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

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

pookiepages-0.1.1-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file pookiepages-0.1.1.tar.gz.

File metadata

  • Download URL: pookiepages-0.1.1.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pookiepages-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e51594bc1129dd5d33eb78adfe39ff4e35d63769705afd8917d5504ed68a4d1b
MD5 66187e56d159850d0189e469a3642c57
BLAKE2b-256 b51fdb240fd943ab4481ec46016082d207c6dfed43add2a1b34fbf954ecd1360

See more details on using hashes here.

File details

Details for the file pookiepages-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pookiepages-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pookiepages-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6538e57014e2e74bb0a75a8cfc2adce3d9556ffa6c14e96a2aa7f0c4149ffe4e
MD5 185387c60acd516822b6cf8615f3cf75
BLAKE2b-256 1aa0ceba8f495bd086decbd257023f378266dd71697c1054f03059e342355c3d

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