How patrapraneet27-collab/jee_mains_pyqs_data_base works
This library gives JEE Main question-bank users a workflow from loading cached chapters and questions, through filtering and semantic clustering, to themed HTML or PDF study materials. The README also describes skim-mode rendering and chapter-by-topic exports; these fit the same rendering path. The GUI is an alternate interface for loading, filtering, clustering, and exporting. Several implementation excerpts are partial or absent, so the graph omits uncertain wiring, including how the database cache is initially populated.
Main entry points: filter.py Chainable filters · pdfy.py HTML rendering · data_base.py Question database · ui3.py Desktop explorer
Components 15
Question data
- Question database
jee_data_base/core/data_base.py - Chapter records
jee_data_base/core/chapter.py - Question records
jee_data_base/core/question.py - Persistent caches
jee_data_base/core/cache.py
Filter and cluster
- Chainable filters
jee_data_base/core/filter.py - Question embeddings
jee_data_base/core/filter.py - Semantic clustering
jee_data_base/core/filter.py
Study materials
- HTML rendering
jee_data_base/core/pdfy.py - HTML helpers
jee_data_base/core/html_helper.py - Question formatting
jee_data_base/core/pdfy_support.py - Theme styles
jee_data_base/core/styles.py - PDF conversion
jee_data_base/core/pdf_engine.py - Study files
User interfaces
- Desktop explorer
jee_data_base/core/ui3.py
Other components
- Library user
Connections 20
- Library user → Question database: initializes
- Question database → Persistent caches: loads data
- Question database → Chapter records: provides chapters
- Chapter records → Question records: contains questions
- Library user → Chainable filters: filters questions
- Question database → Chainable filters: supplies chapters
- Chainable filters → Persistent caches: loads embeddings
- Chainable filters → Semantic clustering: clusters current set
- Chainable filters → HTML rendering: renders selection
- Semantic clustering → HTML rendering: renders clusters
- HTML rendering → Question formatting: formats content
- HTML rendering → HTML helpers: builds markup
- HTML rendering → Theme styles: applies theme
- Chainable filters → PDF conversion: converts HTML
- PDF conversion → Study files: writes PDF
- Chainable filters → Study files: writes HTML
- Library user → Desktop explorer: uses explorer
- Desktop explorer → Question database: loads database
- Desktop explorer → Chainable filters: filters and clusters
- Desktop explorer → HTML rendering: exports HTML