How chorockuin/find-books works
Main Components
a. User Interface Layer:
• Streamlit Frontend (app.py)
• This as the top-level component that users interact with
b. Core Processing Components:
• Book Management System (book.py)
• Publication Handler (publication.py)
• Web Scraping Engine (webdriver.py)
c. Data Storage:
• CSV Storage (book.csv, paper.csv)
• State Management (state.py, publication_scrap_state.py)
d. Utility Components:
Component Relationships
[User] → [Streamlit Interface (app.py)]
• ↓
[Core Processing Layer]
• → [Book Manager (book.py)]
• → [Publication Handler (publication.py)]
• → [Web Scraper (webdriver.py)]
• ↓
[Data Layer]
• → [CSV Storage]
• → [State Management]
Specific Elements
a. Main Process Flow:
Results display back to user
b. Key Interactions:
• How webdriver.py interfaces with external websites
• How state management maintains application state
• Demonstrate data flow between CSV storage and processing components
Technical Notes
Technical aspects:
• Streamlit framework as the primary UI technology
• Web scraping capabilities
• CSV-based data persistence
• State management approach