A large collection of device resolution information
Project description
# 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file device_resolutions-0.0.2.tar.gz
.
File metadata
- Download URL: device_resolutions-0.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5585c37c583482955c37d07a3f2541ff09da13e085a2ee900379ab37c779ed |
|
MD5 | 1aa818e9493252d9935f642fb0b4a1a9 |
|
BLAKE2b-256 | cbc6f3eb744ba4b01a6eb7b2c8214c73eb431f2eddc9c65481ef25ddc7b9775d |
File details
Details for the file device_resolutions-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: device_resolutions-0.0.2-py2-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0e666ffc01acb7fcff7793e50ca951baf0b693e8424c2716050ccb7fa020dd |
|
MD5 | 7b1cb60095e92e2d26c919c3d8ca6162 |
|
BLAKE2b-256 | f166cc9f343291cea897894ee4eced0877a03135f79c67876db9683625a1ad62 |