Skip to content
A quick and dirty project to figure out how much an Apple product would be worth in Apple stock today
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
apple-specs-with-current.json
apple-specs.json
apple_stock_data.csv
generate_table.py
ipod_or_stock.py
requirements.txt
scrape_everymac.py

README.md

Apple Stock or Apple Product?

A simple exploration into the world of missed opportunities.

Installation

pip install -r requirements.txt

Creating the Dataset

python scrape_everymac.py
python ipod_or_stock.py

The output will be apple-specs-with-current.json which includes the original prices for each item as well as how many shares that item was worth on release day.

Thanks

Big thanks to http://www.everymac.com for the data. Also, if you ever need to parse HTML in Python, BeautifulSoup is amazing.

apple-specs.json contains detailed specs for almost every Apple product released in the last thirteen years. I hope someone finds it useful.

Something went wrong with that request. Please try again.