You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
+
5
+
## What This Project Is
6
+
7
+
A static site ([pythonframeworks.com](https://pythonframeworks.com/)) listing popular Python frameworks organized by category. The entire site is a single `index.html` file — there is no backend in production. Bottle.py is used only for local development.
8
+
9
+
## Running Locally
10
+
11
+
```bash
12
+
python3 frameworks.py
13
+
```
14
+
15
+
Visit `http://localhost:8080/`. Hot reloading is enabled by default (`reloader=True`).
16
+
17
+
## Architecture
18
+
19
+
-**`frameworks.py`** — Entire backend (16 lines). Two routes: `/` renders `index.html` as a Bottle template, `/static/<path>` serves static files.
20
+
-**`index.html`** — All content lives here (~4,300 lines). Each framework is a Bootstrap card. Categories are `<div class="category" id="CategoryName">` sections containing a Masonry grid of cards.
21
+
-**`bottle.py`** — Vendored single-file WSGI micro-framework for local development only. Do not edit.
22
+
-**`static/`** — CSS/JS libraries (Bootstrap 5, Masonry, ImagesLoaded) and framework logos under `static/image/logos/`.
23
+
24
+
## Adding a Framework
25
+
26
+
Add a Bootstrap card inside the appropriate category's `.row.grids` div in `index.html`:
0 commit comments