diff --git a/MockupModule/__main__.py b/MockupModule/__main__.py index 751ff87..5d59929 100644 --- a/MockupModule/__main__.py +++ b/MockupModule/__main__.py @@ -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)) diff --git a/README.md b/README.md index 5432c2a..0d2a398 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,35 @@

MockupEngineer

An simple library for creating beautiful screenshots.

-
\ No newline at end of file + + +## Example + +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) + diff --git a/setup.py b/setup.py index 3936cd1..cb37da4 100644 --- a/setup.py +++ b/setup.py @@ -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',