# Python Web开发项目教程_Flask版_智能租房系统 **Repository Path**: IT_xiaocao/Python_Web_Flask ## Basic Information - **Project Name**: Python Web开发项目教程_Flask版_智能租房系统 - **Description**: Python Web开发项目教程_Flask版_智能租房系统 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-29 - **Last Updated**: 2025-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python_Web_Flask This is a house information display website built using the Flask framework, integrated with Bootstrap and ECharts to achieve data visualization and an excellent user interface. ## Features - Homepage displays a list of properties - Detailed page shows property information - Charts display house price distribution (bar chart, pie chart, scatter plot, line chart) - Supports keyword search - Supports pagination ## Directory Structure - `app.py`: Application startup file - `settings.py`: Contains application configurations - `models.py`: Data model definitions - `index_page.py`: Homepage routing - `list_page.py`: List page routing - `detail_page.py`: Detail page routing - `static/`: Static file directory, containing styles and scripts ## Installation 1. Install dependencies ```bash pip install -r requirements.txt ``` 2. Initialize the database Please ensure the correct database URI is configured in `settings.py`, and initialize the database within the Flask application. 3. Run the application ```bash python app.py ``` ## Usage - Access the homepage: http://127.0.0.1:5000/ - Search properties: Enter keywords on the homepage to search - Browse list: Click the navigation bar to access the property list - View details: Click on a property image or link on the homepage or list page - Data charts: View house price distribution charts on the detail page ## Contribution Code contributions are welcome, please submit issues or pull requests. ## License MIT License. For details, please check the `static/LICENSE` file.