device-resolutions

A large collection of device resolution information


License
MIT
Install
pip install device-resolutions==0.0.2

Documentation

Device Resolutions

I haven't been able to find a good programmatically accessible list of devices and resolutions, so I'm compiling one. Contributions welcome.

device_resolutions.csv contains entries for device, HW resolution, SW resolution, PPI, primary orientation and can be used to derive screen dimensions and aspect ratio.

Devices Covered

  • iPhone (all)
  • iPad (all)
  • Mac (soon to be all)
  • Popular Samsung and Samsung Galaxy phones
  • Popular Android tablets
  • Google Nexus
  • Google Pixel
  • Kindle Fire Tablet
  • Kindle Fire phone
  • Standard TV broadcast formats (1080p, 720p, etc)