How dilharajay/pulse works
PULSE collects Letterboxd film and review data, analyzes review sentences through cleaning, language filtering, sentiment and emotion classification, and aggregates results into film-level metrics for interactive exploration. The Dagster assets define the orchestrated analysis; notebooks provide a documented sequential research alternative. Both FastAPI and Streamlit dashboards expose the processed summary. The analysis links follow the README’s documented flow where implementation details were not sampled; scraper/database and browser/API links are supported by excerpts.
Main entry points: assets.py Processed film summary · letterboxd.db Film and review database · server.py FastAPI dashboard API · scraper.py Film and review scraper
Components 19
Data collection
- Film and review scraper
src/scraper/scraper.py - Film and review database
data/raw/letterboxd.db - Database schema and upserts
src/database/db.py
Review analysis
- Text cleaning and sentences
src/letterboxed_absa/assets.py - Language classification
src/letterboxed_absa/assets.py - Supported-language filter
src/letterboxed_absa/assets.py - Sentence sentiment
src/letterboxed_absa/assets.py - Sentence emotion
src/letterboxed_absa/assets.py - Film metrics and emotions
src/letterboxed_absa/assets.py - Processed film summary
src/letterboxed_absa/assets.py
Dashboards
- FastAPI dashboard API
server.py - Interactive web dashboard
static/app.js - Streamlit dashboard
app.py - Poster and synopsis providers
Pipeline runtime
- Dagster analysis assets
src/letterboxed_absa/assets.py - Dagster definitions
src/letterboxed_absa/definitions.py - Sequential research notebooks
notebooks
Other components
- Movie explorer
- Letterboxd
Connections 21
- Movie explorer → Interactive web dashboard: explores films
README.md - Movie explorer → Streamlit dashboard: filters and views
README.md - Film and review scraper → Letterboxd: fetches pages
README.md - Film and review scraper → Database schema and upserts: saves film data
src/scraper/scraper.py - Database schema and upserts → Film and review database: writes records
src/database/db.py - Film and review database → Text cleaning and sentences: supplies reviews
README.md - Text cleaning and sentences → Language classification: classifies sentences
README.md - Language classification → Supported-language filter: filters languages
README.md - Supported-language filter → Sentence sentiment: scores sentences
README.md - Sentence sentiment → Sentence emotion: profiles emotions
README.md - Sentence emotion → Film metrics and emotions: aggregates by film
README.md - Film metrics and emotions → Processed film summary: writes summary
README.md - Dagster definitions → Dagster analysis assets: loads assets
src/letterboxed_absa/definitions.py - Dagster analysis assets → Film and review database: reads reviews
README.md - Dagster analysis assets → Processed film summary: materializes summary
README.md - Sequential research notebooks → Film and review database: analyzes data
README.md - Sequential research notebooks → Processed film summary: exports results
README.md - FastAPI dashboard API → Processed film summary: loads summary
README.md - Streamlit dashboard → Processed film summary: reads summary
app.py - Interactive web dashboard → FastAPI dashboard API: requests movie data
static/app.js - FastAPI dashboard API → Poster and synopsis providers: fetches film info
server.py