Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewpetrochenkov/mac-app-generator.py
:apple: Mac app generator
https://github.com/andrewpetrochenkov/mac-app-generator.py
cli generator macos python
Last synced: 4 days ago
JSON representation
:apple: Mac app generator
- Host: GitHub
- URL: https://github.com/andrewpetrochenkov/mac-app-generator.py
- Owner: andrewpetrochenkov
- License: unlicense
- Created: 2019-03-13T06:43:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T21:05:20.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T11:43:38.476Z (8 days ago)
- Topics: cli, generator, macos, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![](https://img.shields.io/badge/OS-macOS-blue.svg?longCache=True)]()
[![](https://img.shields.io/pypi/v/mac-app-generator.svg?maxAge=3600)](https://pypi.org/project/mac-app-generator/)
[![](https://img.shields.io/npm/v/mac-app-generator.svg?maxAge=3600)](https://www.npmjs.com/package/mac-app-generator)[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
[![](https://github.com/andrewp-as-is/mac-app-generator.py/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/mac-app-generator.py/actions)### Installation
```bash
$ [sudo] pip install mac-app-generator
``````bash
$ [sudo] npm i -g mac-app-generator
```#### Features
shell (mini) and python (full) versions#### Examples
create app from shell script
```bash
$ mac-app-generator script.sh name.app
$ mac-app-generator script.sh name.app Icon.png
```create app from python script
```python
>>> mac_app.App(app_script="file.py", app_path="name.app").create_app()
```create app from a python class
```python
import mac_app_generator
class MyApp(mac_app_generator.App):
def run(self):
passif __name__ == "__main__":
MyApp().run()
``````python
>>> MyApp().create_app()
```#### Related
+ [`commands-generator` - shell commands generator](https://pypi.org/project/commands-generator/)
+ [`launchd-generator` - launchd.plist generator](https://pypi.org/project/launchd-generator/)
+ [`readme-generator` - `README.md` generator](https://pypi.org/project/readme-generator/)
+ [`setupcfg-generator` - `setup.cfg` generator](https://pypi.org/project/setupcfg-generator/)
+ [`travis-generator` - `.travis.yml` generator](https://pypi.org/project/travis-generator/)