Skip to main content

# 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.

## device_resolutions.csv

Devices Covered:

  • [x] iPhone (all)

  • [x] iPad (all)

  • [ ] Mac (soon to be all)

  • [ ] Popular Samsung and Samsung Galaxy phones

  • [ ] Popular Android tablets

  • [ ] Google Nexus

  • [ ] Google Pixel

  • [x] Kindle Fire Tablet

  • [ ] Kindle Fire Phone

  • [ ] Standard TV broadcast formats (1080p, 720p, etc)

CSV includes information on device dp (software pixels), px (hardware pixels), and screen measurements.

Using this information, you can derive:

  • Aspect ratio

  • ppi/screen size

  • pixel density

  • primary orientation (portrait/landscape)

## aspect_ratios.csv

Aspect ratios covered:

  • [x] Common TV

  • [x] IMAX

  • [x] Cinema

  • [x] Common device aspect ratios (16:9, etc)

## More

  • [x] Python conversion functions for deriving screen information from CSV

  • [ ] Single-page web app visualizing overlayed screen sizes with D3.js

## Contributing

Contributions are welcome.

  • All contributions should come in the form of pull requests.

  • Please include a link to the source/reference for device specifications if possible.

  • Be sure to take into consideration the primary orientation of the device (portrait/landscape) and enter width and height accordingly. Width should be the length of the “bottom” of the screen when the device is held in its primary orientation. Height should be the length of the “side” of the screen when the device is held in its primary orientation. This convention allows primary orientation to be derived from width/height information.

Release files for device-resolutions 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for device-resolutions 0.0.2
File Size Uploaded
device_resolutions-0.0.2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for device-resolutions 0.0.2
File Interpreter ABI Platform
device_resolutions-0.0.2-py2-none-any.whl Python 2 none any Details

Total release size: 8.9 kB

Release files / device_resolutions-0.0.2.tar.gz

Download URL device_resolutions-0.0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d5585c37c583482955c37d07a3f2541ff09da13e085a2ee900379ab37c779ed
BLAKE2b-256 checksum
How to use checksums
cbc6f3eb744ba4b01a6eb7b2c8214c73eb431f2eddc9c65481ef25ddc7b9775d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / device_resolutions-0.0.2-py2-none-any.whl

Download URL device_resolutions-0.0.2-py2-none-any.whl
Size 5.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
cf0e666ffc01acb7fcff7793e50ca951baf0b693e8424c2716050ccb7fa020dd
BLAKE2b-256 checksum
How to use checksums
f166cc9f343291cea897894ee4eced0877a03135f79c67876db9683625a1ad62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page