MockupEngineer/readme.md

43 lines
889 B
Markdown
Raw Normal View History

2022-01-22 11:26:39 +03:00
<div align="center">
<h1>MockupEngineer</h1>
<p>An simple library for creating beautiful screenshots.</p>
2022-01-22 11:42:24 +03:00
</div>
## Example
2022-01-22 11:45:08 +03:00
<img align="center" width="350" src="https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12promax/example.png" alt="Apple iPhone 12 Pro Max">
2022-01-22 11:42:24 +03:00
2022-01-22 12:07:17 +03:00
## Install
```
$ python -m pip install MockupEngineer
```
2022-01-22 11:42:24 +03:00
## Usage
In Python console:
```python
from MockupModule import MockupEngineer
mockup = MockupEngineer()
mockup.generate(template=mockup.templates[0],
screenshot_path='/path/to/screenshot',
color=mockup.templates[0].colors[0].color)
```
```
>>> /path/to/mockup
```
As a standalone application:
```
$ python -m MockupModule
```
## Links
* [Author](https://t.me/ulbwa)
* [GitHub](https://github.com/ulbwazhine/MockupEngineer)
2022-01-22 12:07:17 +03:00
* [PyPI](https://pypi.org/project/MockupEngineer/)
2022-01-22 11:42:24 +03:00