litestar-pydotorg¶
Python.org rebuilt with Litestar - A modern, high-performance rewrite featuring Jinja2 templates and Tailwind CSS/DaisyUI.
Install, configure, and run your first local instance in minutes.
Development workflows, testing, deployment, and best practices.
Complete SDK documentation for all modules, classes, and functions.
System design, domain models, database schema, and ADRs.
Real-world recipes and patterns for common development tasks.
Key Features¶
Modern, high-performance ASGI framework with first-class OpenAPI support.
Async ORM with Advanced-Alchemy integration, migrations, and repositories.
Users, downloads, events, jobs, sponsors, blogs, and more - all implemented.
Modern utility-first CSS with pre-built components and Vite HMR.
31 async tasks and 7 cron jobs for cache, email, search, and more.
JWT tokens, session auth, OAuth2 (GitHub/Google), and API keys.
Quick Start¶
# Clone and setup
git clone https://github.com/JacobCoffee/litestar-pydotorg.git
cd litestar-pydotorg
make install
# Start infrastructure and run
make infra-up
make litestar-db-upgrade
make serve
The application will be available at:
API Docs: http://127.0.0.1:8000/api/
Admin: http://127.0.0.1:8000/admin/
Development¶
# Run all CI checks (lint + type-check + test)
make ci
# Individual commands
make lint # Ruff linting
make fmt # Ruff formatting
make type-check # ty type checking
make test # pytest with coverage