Skip to content

"Python project that scrapes book titles, prices, stock availability, and ratings from an online bookstore, exports the data to Excel, and generates visualizations for analysis"

License

Notifications You must be signed in to change notification settings

Piyush082003/BookPriceTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Book Price Tracker

A Python project to scrape book titles, prices, stock availability, and ratings from an online bookstore, export data to Excel, and generate visualizations.


๐Ÿ”น Features

  • Scrapes book titles, prices, stock, and ratings
  • Exports data to Excel (data/books_data.xlsx)
  • Generates visualizations (images/ folder)

Folder Structure

BookPriceTracker/ โ”œโ”€ data/ # Excel outputs โ”œโ”€ images/ # Visualizations โ”œโ”€ scripts/ # Python scripts โ”œโ”€ README.md โ”œโ”€ LICENSE โ”œโ”€ requirements.txt โ””โ”€ .gitignore


๐Ÿ“Š Sample Output

Hereโ€™s an example of the data scraped from Books to Scrape:

|| Title | Price | Stock | Rating | |--------|--------|----------|--------| | It's Only the Himalayas | ยฃ45.17 | In stock | 2 | | Full Moon over Noahโ€™s Ark | ยฃ49.43 | In stock | 4 | | The Requiem Red | ยฃ22.65 | Out of stock | 1 | | The Dirty Little Secrets of Getting Your Dream Job | ยฃ33.34 | In stock | 3 | | The Coming Woman: A Novel | ยฃ17.93 | In stock | 5 |

You can also download the full Excel file here: โžก๏ธ books_data.xlsx


๐Ÿ“Š Demo

Price Trend Rating Distribution Stock Availability


โšก How to Run

pip install -r requirements.txt
python scripts/scrape_books.py
python scripts/visualize.py

---

## ๐Ÿ’ป Tech Stack
- Python
- BeautifulSoup
- Requests
- Pandas
- Matplotlib
- Openpyxl
- Excel

---

## License
This project is licensed under the MIT License - see LICENSE file for details.





About

"Python project that scrapes book titles, prices, stock availability, and ratings from an online bookstore, exports the data to Excel, and generates visualizations for analysis"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages