A simple library for creating beautiful screenshots.
Go to file
2022-02-19 22:10:04 +05:00
MockupEngineer 2022.02.19.1 2022-02-19 22:10:04 +05:00
.gitignore 2022.22.01.1 2022-01-22 13:00:56 +05:00
deploy.py 2022.02.19.1 2022-02-19 22:10:04 +05:00
LICENSE 2022.02.02.1 2022-02-02 19:12:05 +05:00
MANIFEST.in 2022.02.03.5 2022-02-03 21:21:10 +05:00
readme-template.md 2022.02.02.3 2022-02-02 19:52:19 +05:00
readme.md 2022.02.19.1 2022-02-19 22:10:04 +05:00
requirements.txt 2022.02.02.1 2022-02-02 19:12:05 +05:00
setup.py 2022.02.19.1 2022-02-19 22:10:04 +05:00

MockupEngineer

A simple library for creating beautiful screenshots.

Navigation

Example

Apple iPhone 12 Pro Max Mockup

Apple iPhone 12 Pro Max Mockup

Notice

The quality of all examples is much worse than real mockups, this is due to the project size limit on PyPI.

Install

$ python3 -m pip install MockupEngineer

Update

$ python3 -m pip install MockupEngineer --upgrade

Usage

As a standalone application:

$ python3 -m MockupEngineer
Usage as a standalone application

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

Computers

Tablets

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.