How anamelesswolf/python-labs works
Python Labs is a collection of independent command-line media tools, not one integrated application. Users run each lab separately: scrape, inspect, convert, analyze, or synchronize media, then receive files, reports, or updated local libraries. The graph preserves the README’s major capabilities and shows the sampled Spotify analysis and scraper flows where source evidence supports them. Other links reflect README-level workflows; unsampled implementation details and integrations are not inferred.
Main entry points: setlistfm_app/cli.py Setlist commands · tmdb_app/cli.py TMDB commands · nyaa_app/cli.py NYAA commands · pbay_app/cli.py PBAY commands
Components 34
Library tools
- TMDB commands
tmdb-updates/tmdb_app/cli.py - Library scanner
tmdb-updates/tmdb_app/scanner.py - Movie data
tmdb-updates/tmdb_app/movie.py - TMDB client
tmdb-updates/tmdb_app/tmdb_client.py - Library store
tmdb-updates/tmdb_app/store.py - Status reports
tmdb-updates/tmdb_app/report.py
Web scrapers
- NYAA commands
nyaa-scrapper/nyaa_app/cli.py - NYAA scraper
nyaa-scrapper/nyaa_app/scraper.py - Search and selection
nyaa-scrapper/nyaa_app/search.py - Search report
nyaa-scrapper/nyaa_app/report.py - JSON export
nyaa-scrapper/nyaa_app/export.py - PBAY commands
pbay-scrapper/pbay_app/cli.py - PBAY scraper
pbay-scrapper/pbay_app/scraper.py - Search and selection
pbay-scrapper/pbay_app/search.py - Search report
pbay-scrapper/pbay_app/report.py - JSON export
pbay-scrapper/pbay_app/export.py
Music tools
- Setlist commands
setlist-fm-scrapper/setlistfm_app/cli.py - Setlist API client
setlist-fm-scrapper/setlistfm_app/api.py - Song search
setlist-fm-scrapper/setlistfm_app/songs.py - Album lookup
setlist-fm-scrapper/setlistfm_app/albums.py - Setlist cache
setlist-fm-scrapper/setlistfm_app/cache.py - Setlist reports
setlist-fm-scrapper/setlistfm_app/report.py - Playlist JSON
setlist-fm-scrapper/setlistfm_app/export.py - YouTube Music sync
yt-music-playlist/yt_music_playlist.py - Analysis entry point
spotify-analysis/main.py - Spotify authentication
spotify-analysis/core/auth_helper.py - Library analysis
spotify-analysis/core/services/user_library_analysis_service.py - Listening history
spotify-analysis/core/services/listening_history_service.py - Library aggregation
spotify-analysis/core/helpers/library_helper.py - Track aggregation
spotify-analysis/core/helpers/track_helper.py
Other components
- CLI user
- TMDB API
- setlist.fm API
- iTunes API
Connections 35
- CLI user → TMDB commands: runs commands
- TMDB commands → Library scanner: scans library
tmdb-updates/tmdb_app/cli.py - TMDB commands → Movie data: processes titles
tmdb-updates/tmdb_app/cli.py - TMDB commands → Library store: updates library
tmdb-updates/tmdb_app/cli.py - TMDB commands → Status reports: renders status
tmdb-updates/tmdb_app/cli.py - Movie data → TMDB client: queries metadata
- TMDB client → TMDB API: requests metadata
tmdb-updates/tmdb_app/tmdb_client.py - CLI user → NYAA commands: runs searches
- NYAA commands → Search and selection: dispatches searches
nyaa-scrapper/nyaa_app/cli.py - Search and selection → NYAA scraper: fetches results
nyaa-scrapper/nyaa_app/search.py - Search and selection → Search report: prompts selection
nyaa-scrapper/nyaa_app/search.py - NYAA commands → Search report: prints report
nyaa-scrapper/nyaa_app/cli.py - NYAA commands → JSON export: exports JSON
nyaa-scrapper/nyaa_app/cli.py - CLI user → PBAY commands: runs searches
- PBAY commands → Search and selection: dispatches searches
pbay-scrapper/pbay_app/cli.py - Search and selection → PBAY scraper: fetches results
pbay-scrapper/pbay_app/search.py - Search and selection → Search report: prompts selection
pbay-scrapper/pbay_app/search.py - PBAY commands → Search report: prints report
pbay-scrapper/pbay_app/cli.py - PBAY commands → JSON export: exports JSON
pbay-scrapper/pbay_app/cli.py - CLI user → Setlist commands: searches concerts
- Setlist commands → Setlist API client: fetches setlists
setlist-fm-scrapper/setlistfm_app/cli.py - Setlist API client → setlist.fm API: requests setlists
setlist-fm-scrapper/setlistfm_app/api.py - Setlist commands → Setlist cache: reads and updates
setlist-fm-scrapper/setlistfm_app/cli.py - Setlist commands → Song search: searches songs
setlist-fm-scrapper/setlistfm_app/cli.py - Setlist commands → Album lookup: looks up albums
setlist-fm-scrapper/setlistfm_app/cli.py - Album lookup → iTunes API: finds albums
- Setlist commands → Setlist reports: renders results
setlist-fm-scrapper/setlistfm_app/cli.py - Setlist commands → Playlist JSON: exports playlist
setlist-fm-scrapper/setlistfm_app/cli.py - CLI user → YouTube Music sync: syncs playlists
- CLI user → Analysis entry point: runs analysis
- Analysis entry point → Spotify authentication: authenticates
spotify-analysis/main.py - Analysis entry point → Library analysis: generates library report
spotify-analysis/main.py - Analysis entry point → Listening history: generates history report
spotify-analysis/main.py - Library analysis → Library aggregation: fetches and groups
spotify-analysis/core/services/user_library_analysis_service.py - Listening history → Track aggregation: groups tracks
spotify-analysis/core/services/listening_history_service.py