How tanouar/moviesdb works
MoviesDB transforms IMDb and Marvel film data into a Neo4j graph, then serves interactive graph exploration and network analysis through Streamlit. The documented data path covers IMDb preparation, MySQL loading and SQL extraction, Neo4j import, and app-driven queries and visualization; a separate wiki scraper supplies Marvel film metadata. Sampled code confirms the Streamlit module calls and loader behavior, while several pipeline stages are described only in the README, so those links cite the documentation rather than implying unsampled implementation details.
Main entry points: app.py Streamlit app · run_pipeline.py IMDb pipeline · tests Marvel import data · mysql IMDb MySQL database
Components 16
Data preparation
- IMDb pipeline
pipeline/run_pipeline.py - Raw data files
data/raw - Marvel wiki scraper
pipeline/read_marvel_wiki.py
IMDb and MySQL
- IMDb MySQL database
mysql - Marvel SQL extraction
mysql - Marvel import data
data/tests
Neo4j graph
- AuraDB loader
pipeline/load_into_auradb.py - Local Neo4j loader
pipeline/load_into_neo4j.py - Neo4j graph
Streamlit exploration
- Streamlit app
Streamlit-App/app.py - Sidebar filters
Streamlit-App/modules/ui_helpers.py - Graph queries
Streamlit-App/modules/neo4j_connector.py - Graph analysis
Streamlit-App/modules/graph_analyzer.py - Interactive visualization
Streamlit-App/modules/graph_builder.py
Other components
- IMDb dataset
- Explorer
Connections 17
- IMDb dataset → IMDb pipeline: downloads and prepares
- IMDb pipeline → Raw data files: writes raw files
pipeline/run_pipeline.py - IMDb pipeline → IMDb MySQL database: loads IMDb data
- IMDb MySQL database → Marvel SQL extraction: queries Marvel films
- Marvel SQL extraction → Marvel import data: exports import data
- Marvel import data → AuraDB loader: loads CSV data
pipeline/load_into_auradb.py - Marvel import data → Local Neo4j loader: loads CSV data
pipeline/load_into_neo4j.py - AuraDB loader → Neo4j graph: creates graph data
pipeline/load_into_auradb.py - Local Neo4j loader → Neo4j graph: creates graph data
pipeline/load_into_neo4j.py - Marvel wiki scraper → Raw data files: writes film metadata
pipeline/read_marvel_wiki.py - Explorer → Streamlit app: explores graph
- Streamlit app → Sidebar filters: renders filters
Streamlit-App/app.py - Streamlit app → Graph queries: queries graph
Streamlit-App/app.py - Graph queries → Neo4j graph: runs Cypher queries
Streamlit-App/modules/neo4j_connector.py - Streamlit app → Graph analysis: analyzes graph
Streamlit-App/app.py - Streamlit app → Interactive visualization: builds visualization
Streamlit-App/app.py - Interactive visualization → Graph analysis: uses community colors
Streamlit-App/modules/graph_builder.py