{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Operating System :: MacOS", "Programming Language :: Unix Shell", "Topic :: Utilities" ], "description": "\n\n[![](https://img.shields.io/badge/OS-macOS-blue.svg?longCache=True)]()\n[![](https://img.shields.io/badge/language-AppleScript-blue.svg?longCache=True)]()\n\n#### Installation\n```bash\n$ [sudo] pip install mac-opera\n```\n\n#### Config\n```bash\n$ export OPERA_TIMEOUT=10 # 5 by default\n```\n\n#### Scripts usage\ncommand|`usage`\n-|-\n`opera` |`usage: opera command [args]`\n[`opera-close`](# \"close tab by url\") |`usage: opera-close url ...`\n[`opera-frontmost`](# \"print 1 if 'Opera.app' is frontmost, else 0\") |`usage: opera-frontmost`\n[`opera-fullscreen-detect`](# \"print 1 if 'Opera.app' is in fullscreen mode, else 0\") |`usage: opera-fullscreen-detect`\n[`opera-fullscreen-enter`](# \"enter fullscreen mode\") |`usage: opera-fullscreen-enter`\n[`opera-fullscreen-exit`](# \"exit fullscreen mode\") |`usage: opera-fullscreen-exit`\n[`opera-isready`](# \"print 1 if Opera is active and ready, else 0\") |`usage: opera-isready timeout`\n[`opera-kill`](# \"list tabs with playing audio\") |`usage: opera-kill`\n[`opera-open`](# \"open url(s)\") |`usage: opera-open url ...`\n[`opera-pid`](# \"print 'Opera.app' pid\") |`usage: opera-pid`\n[`opera-refresh`](# \"refresh url(s)\") |`usage: opera-refresh url ...`\n[`opera-url`](# \"print active url\") |`usage: opera-url`\n[`opera-urls`](# \"print urls\") |`usage: opera-urls`\n\n#### Examples\nurl(s)\n```bash\n$ opera urls\nhttps://github.com/\nhttps://google.com/\n$ opera url\nhttps://github.com/\n```\n\nopen/refresh\n```bash\n$ opera open \"https://github.com/\" \"https://google.com/\"\n$ opera refresh \"https://github.com/\"\n```\n\nfullscreen\n```bash\n$ opera fullscreen-enter\n$ opera fullscreen-detect\n1\n$ opera fullscreen-exit\n```\n\nfrontmost (`1` or `0`)\n```bash\n$ opera frontmost\n0\n```\n\n`Opera.app` process\n```bash\n$ opera pid\n42\n$ opera isready 5 # timeout 5 seconds\n1\n$ opera kill\n```\n\n

\n python-readme-generator\n

", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/looking-for-a-job/mac-opera", "keywords": "opera", "license": "", "maintainer": "", "maintainer_email": "", "name": "mac-opera", "package_url": "https://pypi.org/project/mac-opera/", "platform": "", "project_url": "https://pypi.org/project/mac-opera/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/mac-opera" }, "release_url": "https://pypi.org/project/mac-opera/2019.7.11/", "requires_dist": null, "requires_python": "", "summary": "macOS Opera.app scripts", "version": "2019.7.11" }, "last_serial": 5587248, "releases": { "2019.6.23": [ { "comment_text": "", "digests": { "md5": "fba7e4eaa1f5a5b15fa83f2220efa6f4", "sha256": "490109febc88736191dc0952b3b21e235771cd4ba7c2f3170582d125cb71bd48" }, "downloads": -1, "filename": "mac-opera-2019.6.23.tar.gz", "has_sig": false, "md5_digest": "fba7e4eaa1f5a5b15fa83f2220efa6f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3569, "upload_time": "2019-06-26T08:22:01", "url": "https://files.pythonhosted.org/packages/60/fb/560f4a2abd3224d2df2aea5e3747d8adde53f1a90eaf73ea788c75b902b9/mac-opera-2019.6.23.tar.gz" } ], "2019.7.11": [ { "comment_text": "", "digests": { "md5": "86ce70c00deef923aab03fe9345a52a0", "sha256": "c24817b10e4057208bcb7f538d41d52fc11e07f0bb257733929dc47e8c6af098" }, "downloads": -1, "filename": "mac-opera-2019.7.11.tar.gz", "has_sig": false, "md5_digest": "86ce70c00deef923aab03fe9345a52a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4022, "upload_time": "2019-07-10T16:14:15", "url": "https://files.pythonhosted.org/packages/7c/7f/a1d83403e24471c591dd13579f0b508d302523a2c8d6f12ef8383201f075/mac-opera-2019.7.11.tar.gz" } ], "2019.7.9": [ { "comment_text": "", "digests": { "md5": "66ed448e14b799c5761437c173c66e14", "sha256": "f44330e94b117107b5d505625f19836d9fabd465da461d87785dc3778b429e91" }, "downloads": -1, "filename": "mac-opera-2019.7.9.tar.gz", "has_sig": false, "md5_digest": "66ed448e14b799c5761437c173c66e14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3943, "upload_time": "2019-07-09T07:20:43", "url": "https://files.pythonhosted.org/packages/f9/d2/4d0bfefd6839c96781705a9d0f2b07af46944f1007897f1220718a85ce42/mac-opera-2019.7.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86ce70c00deef923aab03fe9345a52a0", "sha256": "c24817b10e4057208bcb7f538d41d52fc11e07f0bb257733929dc47e8c6af098" }, "downloads": -1, "filename": "mac-opera-2019.7.11.tar.gz", "has_sig": false, "md5_digest": "86ce70c00deef923aab03fe9345a52a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4022, "upload_time": "2019-07-10T16:14:15", "url": "https://files.pythonhosted.org/packages/7c/7f/a1d83403e24471c591dd13579f0b508d302523a2c8d6f12ef8383201f075/mac-opera-2019.7.11.tar.gz" } ] }