MockupEngineer | ||
.gitignore | ||
deploy.py | ||
LICENSE | ||
MANIFEST.in | ||
readme-template.md | ||
readme.md | ||
requirements.txt | ||
setup.py |
MockupEngineer
A simple library for creating beautiful screenshots.
Navigation
Example
Apple iPhone 12 Pro Max Mockup
Install
$ python3 -m pip install MockupEngineer
Update
$ python3 -m pip install MockupEngineer --upgrade
Usage
As a standalone application:
$ python3 -m MockupEngineer
In Python console:
from MockupEngineer import MockupEngineerInstance
mockup = MockupEngineerInstance()
mockup.generate(template=mockup.templates[0],
screenshot_path='/path/to/screenshot',
color=mockup.templates[0].colors[0].color)
>>> /path/to/mockup
MockupEngineerInstance.generate
parameters:
template
: Template — Device template model, must be passed from MockupEngineerInstance.templates or MockupEngineerInstance.get_templates().screenshot_path
: str — Absolute path to the image in JPG, PNG format.color
: Optional[str] — Optional parameter, force device color. Must be passed according to Template.colors[n].colororientation
: str — Optional parameter, force device orientation. Must be landscape or portrait.external_storage
: Optional[bool] — Optional parameter, true if you need to upload mockup on TemporaryStorage (0x0.st etc)
List of supported mockups
Full list of all currently supported mockups
Phones
-
Samsung Galaxy S20 (2020) [1440 x 3200]
- Cloud Blue
- Cosmic Grey
- Pink
-
Samsung Galaxy S20 Ultra (2020) [1440 x 3200]
- Cosmic Black
- Cosmic Grey
-
Apple iPhone 12 (2020) [1170 x 2532]
- Black
- Blue
- Green
- Product Red
- White
-
Apple iPhone 12 Mini (2020) [1080 x 2340]
- Black
- Blue
- Green
- Product Red
- White
-
Apple iPhone 12 Pro (2020) [1170 x 2532]
- Gold
- Graphite
- Pacific Blue
- Silver
-
Apple iPhone 12 Pro Max (2020) [1284 x 2778]
- Gold
- Graphite
- Pacific Blue
- Silver
-
Apple iPhone SE (2020) [750 x 1334]
- Black
- Product Red
- White
-
Apple iPhone Xr (2018) [828 x 1792]
- Blue
- Coral
- Product Red
- Silver
- Space Gray
- Yellow
-
Apple iPhone Xs (2019) [1125 x 2436]
- Gold
- Silver
- Space Gray
-
Apple iPhone Xs Max (2019) [1242 x 2688]
- Gold
- Silver
- Space Gray
-
Google Pixel (2016) [1080 x 1920]
- Quite Black
- Really Blue
- Very Silver
-
Google Pixel 4 (2019) [1080 x 2280]
- Just Black
- Clearly White
- Oh So Orange
-
Google Pixel 4 XL (2019) [1440 x 3040]
- Just Black
- Clearly White
- Oh So Orange
-
Google Pixel 5 (2020) [1080 x 2340]
- Just Black
- Sorta Sage
Computers
-
Apple iMac 21" (2015) [4096 x 2304]
- Silver
-
Apple MacBook 12" (2016) [2304 x 1440]
- Space Gray
- Gold
-
Apple MacBook Pro 13" (2015) [2560 x 1600]
- Silver
-
Apple MacBook Pro 15" (2015) [2880 x 1800]
- Silver
-
Apple MacBook Pro 16" (2019) [3072 x 1920]
- Space Gray
-
Apple MacBook Pro 16" (2021) [3456 x 2234]
- Silver
- Space Gray
-
Google Pixelbook Go (2019) [1920 x 1080]
- Just Black
-
Apple Pro Display XDR (2019) [6016 x 3384]
- Silver
Tablets
-
Apple iPad 9 (2021) [2160 x 1620]
- Gold
- Silver
- Space Gray
-
Apple iPad Air 4 (2020) [2360 x 1640]
- Green
- Rose Gold
- Silver
- Sky Blue
- Space Gray
-
Apple iPad Mini 5 (2021) [2048 x 1536]
- Gold
- Silver
- Space Gray
-
Apple iPad Pro 4 11" (2020) [2388 x 1668]
- Silver
- Space Gray
-
Apple iPad Pro 4 12.9" (2020) [2732 x 2048]
- Silver
- Space Gray
Wearable devices
- Apple Watch Series 6 44mm (2020) [368 x 448]
- Aluminum Case - Blue
- Aluminum Case - Gold
- Aluminum Case - Space Gray
- Aluminum Case - Silver
- Aluminum Case - Product Red
- Titanium Case - Light
- Titanium Case - Dark
- Stainless Steel Case - Gold
- Stainless Steel Case - Graphite
- Stainless Steel Case - Silver
You can help the project by adding support for new mockups by contributing on GitHub.