[go: up one dir, main page]

0% found this document useful (0 votes)
4 views1 page

Python Structure

The document outlines the structure of a software project, specifically a Flask/FastAPI application. It includes various directories for frontend assets, API routes, core services, data models, database management, authentication, and utility functions. Each component is designed to handle specific functionalities such as NLP processing, OCR, advising logic, and file validation.

Uploaded by

tarunjoseph17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Python Structure

The document outlines the structure of a software project, specifically a Flask/FastAPI application. It includes various directories for frontend assets, API routes, core services, data models, database management, authentication, and utility functions. Each component is designed to handle specific functionalities such as NLP processing, OCR, advising logic, and file validation.

Uploaded by

tarunjoseph17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

csaac/

├── app.py # Entry point for Flask/FastAPI app


├── config.py # App configuration (e.g., secrets, settings)
├── requirements.txt # Python dependencies
├── /frontend/ # HTML/CSS/JS for the chat UI
│ ├── index.html
│ └── static/
├── /routes/ # API routes
│ ├── chat_routes.py
│ └── admin_routes.py
├── /services/ # Core business logic
│ ├── nlp_service.py # NLP and intent recognition
│ ├── ocr_service.py # Transcript OCR processing
│ ├── advising_logic.py # Advising and recommendation logic
│ └── pdf_export.py # PDF export functionality
├── /models/ # Data models and schemas
│ ├── course.py
│ ├── user.py
│ └── chat_session.py
├── /database/ # DB initialization and queries
│ ├── db.py
│ └── seed_data.py
├── /auth/ # Authentication and role control
│ └── auth.py
└── /utils/ # Helper functions
└── file_validation.py # PDF/image sanitization

You might also like