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.
Quick start
pip install pookiepages
pookiepages init
pookiepages run
Features
- File-based routing:
pages/index.htmlbecomes/,pages/about.htmlbecomes/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.pkbridgeserved as/pkbridge.js - CLI:
pookiepages init,pookiepages run,pookiepages build, and more
Documentation
- Getting started
- Configuration reference
- Routing
- Database
- Auth
- AI and embeddings
- Vector search
- File uploads
- Admin panel
- Asset pipeline
- API reference
License
MIT. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e51594bc1129dd5d33eb78adfe39ff4e35d63769705afd8917d5504ed68a4d1b
|
|
| MD5 |
66187e56d159850d0189e469a3642c57
|
|
| BLAKE2b-256 |
b51fdb240fd943ab4481ec46016082d207c6dfed43add2a1b34fbf954ecd1360
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6538e57014e2e74bb0a75a8cfc2adce3d9556ffa6c14e96a2aa7f0c4149ffe4e
|
|
| MD5 |
185387c60acd516822b6cf8615f3cf75
|
|
| BLAKE2b-256 |
1aa0ceba8f495bd086decbd257023f378266dd71697c1054f03059e342355c3d
|