A simple library for creating beautiful screenshots.
Go to file
2022-01-25 15:41:02 +05:00
MockupEngineer 2022.01.25.1 2022-01-25 15:41:02 +05:00
.gitignore 2022.22.01.1 2022-01-22 13:00:56 +05:00
LICENSE 2022.22.01.2 2022-01-22 13:26:39 +05:00
MANIFEST.in 2022.23.01.10 2022-01-23 12:55:34 +05:00
pypi.sh 2022.23.01.1 2022-01-23 12:35:05 +05:00
readme.md 2022.01.25.1 2022-01-25 15:41:02 +05:00
requirements.txt 2022.01.25.1 2022-01-25 15:41:02 +05:00
setup.py 2022.01.25.1 2022-01-25 15:41:02 +05:00

MockupEngineer

An simple library for creating beautiful screenshots.

Navigation

Example

Apple iPhone 12 Pro Max Mockup

Apple iPhone 12 Pro Max Mockup

Install

$ python3 -m pip install MockupEngineer

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].color
  • orientation: 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

Tablets

Computers

Wearable devices

  • Apple Watch Series 6 44mm [368 x 448] (2020)
    • Aluminum Case - Blue
    • Aluminum Case - Gold
    • Aluminum Case - PRODUCT RED
    • Aluminum Case - Silver
    • Aluminum Case - Space Gray
    • Stainless Steel Case - Gold
    • Stainless Steel Case - Graphite
    • Stainless Steel Case - Silver
    • Titanium Case - Dark
    • Titanium Case - Light

You can help the project by adding support for new mockups by contributing on GitHub.