2022.22.01.3

This commit is contained in:
ульба 2022-01-22 13:42:24 +05:00
parent da324ab229
commit f31ce4470f
3 changed files with 33 additions and 4 deletions

View File

@ -6,8 +6,6 @@ from MockupModule import MockupEngineer
def main():
mockup = MockupEngineer()
mockup.__create_examples__('/Users/ulbwa/Documents/MockupEngineer/MockupModule/templates/example.jpg')
i = 0
for template in mockup.templates:
print('[{}] {} {} [{}] ({})'.format(i, template.manufacturer, template.name, template.resolution, template.year))

View File

@ -1,4 +1,35 @@
<div align="center">
<h1>MockupEngineer</h1>
<p>An simple library for creating beautiful screenshots.</p>
</div>
</div>
## Example
<img align="center" src="https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12promax/example.png" alt="Apple iPhone 12 Pro Max">
## 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)

View File

@ -9,7 +9,7 @@ except ImportError:
setup(
name='MockupEngineer',
version='2022.22.01.2',
version='2022.22.01.3',
packages=['MockupModule', 'MockupModule.templates'],
url='https://github.com/ulbwazhine/MockupEngineer',
license='MIT',