Skip to content

SIYAKS-ARES/readers-radar-project

Repository files navigation

ReadersRadarProject

Python Book Recomandation Project

It contains some Data Analyses and a Web aplication for book recommendation from the used DataFrame.

Sure, I'll create a README file for your project after examining all the files. Here's the README:

Book Recommendation Web App This is a Flask web application that recommends books based on user-selected tags. The application uses a dataset of books, tags, and book-tag mappings to filter and recommend books.

Prerequisites Before running the application, make sure you have the following installed:

Python 3.x Flask Pandas NumPy You can install the required Python packages using pip:

pip install flask pandas numpy

Project Structure book-recommendation-app/ ├── app.py ├── static/ │ ├── css/ │ │ └── bootstrap.min.css │ └── js/ │ └── app.js ├── templates/ │ ├── base.html │ ├── index.html │ ├── recommend_form.html │ └── result.html └── data/ ├── tags.csv ├── book_tags.csv └── books.csv

app.py: The main Flask application file containing the routes and logic for book recommendation. static/: Directory for static files (CSS and JavaScript). templates/: Directory for HTML templates. data/: Directory containing the CSV data files (tags, book_tags, and books). Running the Application Clone or download the project repository. Navigate to the project directory. Make sure the CSV data files (tags.csv, book_tags.csv, and books.csv) are present in the data/ directory. Update the file paths in app.py to match the locations of the CSV data files on your system. Run the Flask application: python app.py

Open your web browser and visit (Local Host URL Example) to access the Book Recommendation Web App. Usage On the initial page, click the "Get Recommendation" button to navigate to the recommendation form. Select a tag from the dropdown list. Click the "Submit" button to get a book recommendation based on the selected tag. The recommended book title will be displayed on the result page. File Descriptions app.py: This file contains the Flask application code, including the routes, data loading, and helper functions for filtering books and recommending books based on tags. static/css/bootstrap.min.css: This file contains the Bootstrap CSS styles used for styling the web application. static/js/app.js: This file contains JavaScript code for client-side form validation. templates/base.html: This is the base HTML template that other templates inherit from. templates/index.html: This template displays the initial page with a button to navigate to the recommendation form. templates/recommend_form.html: This template displays the form for selecting a tag and submitting the recommendation request. templates/result.html: This template displays the recommended book title and any success or error messages. Dependencies Flask: A lightweight Python web framework. Pandas: A data manipulation and analysis library for Python. NumPy: A library for numerical computing in Python. Contributing Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

Python Book Recomandation Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published