{ "info": { "author": "Wes Turner", "author_email": "wes@wrd.nu", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "===============================\nweb.sh\n===============================\n.. image:: https://img.shields.io/travis/westurner/web.sh.svg\n :target: https://travis-ci.org/westurner/web.sh\n\n.. image:: https://img.shields.io/pypi/v/web.sh.svg\n :target: https://pypi.python.org/pypi/web.sh\n\n\nweb.sh is a cross-platform script (web) and API for launching a browser\n(with ``x-www-browser`` (Linux, Unix), ``open`` (OSX), ``start`` (Windows),\nor ``python -m webbrowser``)\n\n* Free software: BSD license\n* PyPI: https://pypi.python.org/pypi/web.sh\n* Warehouse: https://warehouse.python.org/project/web.sh\n* Source: https://github.com/westurner/web.sh\n\n\n.. contents::\n\n\nFeatures\n--------\n\n* Open the configured default system web browser with one or more\n paths or URIs\n* Open to a relative path\n* Open to an absolute path\n\n\nInstallation\n--------------\nInstall the ``web`` (and ``x-www-browser-``) scripts:\n\n.. code:: bash\n\n pip install web.sh\n pip install -e https://github.com/westurner/web.sh\n\n\nUsage\n-------\n\nThe ``web`` script commandline interface:\n\n.. code:: bash\n\n web .\n web ./index.html\n web $WORKON_HOME/dotfiles/src/dotfiles/docs/_build/html/index.html\n web localhost:8082 # pgs docs/_build/html # pypi:pgs\n web https://westurner.org/dotfiles/\n web westurner.org/dotfiles github.com/westurner/dotfiles # !HTTPS!\n x-www-browser- .\n\n``web --help`` commandline help::\n\n Usage: websh.py [-b|-x|-o|-s] [-v|-q] []\n\n Open paths or URIS as tabs in the configured system default webbrowser\n\n Options:\n -h, --help show this help message and exit\n -b, --webbrowser Open with `python -m webbrowser`\n -x, --x-www-browser Open with `x-www-browser` (Linux, X)\n -o, --open Open with `open` (OSX)\n -s, --start Open with `start` (Windows)\n -v, --verbose \n -q, --quiet \n -t, --test \n\n\nAPI\n----\n* Instances of ``websh.websh.WebBrowser`` implement ``open_new_tab()``\n* ``websh.websh.WebBrowser.x_www_browser`` calls ``open_new_tab()``\n with a list of paths and/or URIs\n* ``web `` calls ``websh.websh.WebBrowser.x_www_browser``\n to open new tabs for each path or URI:\n\n .. code:: python\n\n urls = ([\"https://westurner.org/dotfiles/\",\n \"https://github.com/westurner/dotfiles\",\n \"https://waffle.io/westurner/dotfiles\"])\n output = list(WebBrowser.x_www_browser(urls))\n print(output)\n\n\nPlatform Notes\n---------------\n* OSX: ``web -o ./README.rst`` and ``web -b ./README.rst``\n open ``README.rst`` in the configured editor\n (not the configured system browser).\n\n Workarounds:\n\n * Specify the full path to a specific browser application followed\n by a quoted URI, for each URI in a newline-delimited list\n\n\n\n\n\n========\nHistory\n========\n\n0.1.1 (2015-06-21)\n---------------------\n\n* DOC: README.rst: links, Features, Usage, API\n* BLD: setup.py console_script entrypoint ``web = websh.web:main``\n* BLD: setup.py console_script entrypoint ``x-www-browser- = websh.web:main``\n* BUG,REF: websh.py: logging, logging config [07f9a0f]\n* BUG,CLN,DOC,REF,TST: websh.py: match_domain, :PymodeLintAuto, argv, logging config [4b33395]\n* ENH: websh.py: https://github.com/westurner/dotfiles/blob/master/scripts/web [29c0ca7]\n* BLD,RLS: \\*, setup.py, __init__.py: ``cookiecutter gh:audreyr/cookiecutter-pypackage`` [e288536]\n\n0.1.2 (2015-06-21)\n-------------------\n* DOC: README.rst: API docs\n* RLS: setup.py, __init__.py: ``__version__ = 0.1.2``\n* First release on PyPI\n\n0.1.3 (2015-06-21)\n-------------------\n* DOC: README.rst, HISTORY.rst: formatting, links, release notes\n\n0.1.4 (2015-06-21)\n-------------------\n* RLS: setup.py, __init__.py: __version = '0.1.4' [8e33773]\n* BUG: websh.py: py26, py34 compat [a6ed31a]\n* BLD: tox.ini, .travis.yml: commands = python websh/websh.py -v -t [295abab]\n* DOC: websh.py, README.rst: usage docstrings [d054b43]\n* DOC: README.rst: links [bc1d06c]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/westurner/web.sh", "keywords": "websh browser webbrowser x-www-browser", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "web.sh", "package_url": "https://pypi.org/project/web.sh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/web.sh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/westurner/web.sh" }, "release_url": "https://pypi.org/project/web.sh/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "web.sh is a cross-platform script (web) and API for launching a browser(with x-www-browser (Linux, Unix), open (OSX), start (Windows),or python -m webbrowser)", "version": "0.1.4" }, "last_serial": 1601744, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "024e3450eb38690657cbef46b602d5a7", "sha256": "dbcc869c03a2df61213f67a30fabedcd1c9b21cfa5627a606766bd18a224c6e6" }, "downloads": -1, "filename": "web.sh-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "024e3450eb38690657cbef46b602d5a7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9181, "upload_time": "2015-06-22T05:31:36", "url": "https://files.pythonhosted.org/packages/6d/56/c3519946cc90cca83645ad1739c883cf743534635c8f945edb4a1877f3b8/web.sh-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0eea685f92f88c632470f86bd0ceba41", "sha256": "f815203fd5d3e6fa3eaf5179335900e13055d89d232a0fa5329fc04928f0d45e" }, "downloads": -1, "filename": "web.sh-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0eea685f92f88c632470f86bd0ceba41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15317, "upload_time": "2015-06-22T05:31:31", "url": "https://files.pythonhosted.org/packages/a1/b3/7d70acfa490f6b788ae82f14f02c8ea0970a54b00b69e3e63c7af4e85660/web.sh-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "750aa2ac6a20fdb90b5f2faf691d7ad4", "sha256": "ec69d2c718ab5df66706335597c1365c641bab1ae9d0c4d4b5193adc949c6264" }, "downloads": -1, "filename": "web.sh-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "750aa2ac6a20fdb90b5f2faf691d7ad4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9235, "upload_time": "2015-06-22T05:45:44", "url": "https://files.pythonhosted.org/packages/1c/09/4f31a49328642d0e0232743e2b57e522343ee8760896d3b439c8326e3de9/web.sh-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39d9ec6d7c3959b96c89395959a3802f", "sha256": "98d97a127af83dd59b19d2a0d55329d19dcd0eb41ecefa9d643e058691e16d01" }, "downloads": -1, "filename": "web.sh-0.1.3.tar.gz", "has_sig": false, "md5_digest": "39d9ec6d7c3959b96c89395959a3802f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15350, "upload_time": "2015-06-22T05:45:39", "url": "https://files.pythonhosted.org/packages/f5/21/2393755b9ccba57240cc4a609fdb95f1cc02c0a7b122711a2e31545db3f3/web.sh-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "3742735de25ccbecb01c9b6cdb613dd0", "sha256": "22f5c1ee2f45c4cc87d6e6f56301b6bb7b87c5f4cb0ac84f0fdbd5c121e89276" }, "downloads": -1, "filename": "web.sh-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3742735de25ccbecb01c9b6cdb613dd0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9645, "upload_time": "2015-06-22T11:12:41", "url": "https://files.pythonhosted.org/packages/9b/33/6cbfe52d3e98ff717fb9da24562b19b110cb1130302317611d23c1264663/web.sh-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e4043399563d0c9c42db3419f89a1424", "sha256": "ea5c326d4f3f00979964f2a3edc97ac7d2e5ff86062af4ea32daa90bfef4f8e8" }, "downloads": -1, "filename": "web.sh-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e4043399563d0c9c42db3419f89a1424", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15586, "upload_time": "2015-06-22T11:12:36", "url": "https://files.pythonhosted.org/packages/af/ee/27213b8a40979c620e896c5ae02ad8eed76b4f1b34a882fd90b093109e08/web.sh-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3742735de25ccbecb01c9b6cdb613dd0", "sha256": "22f5c1ee2f45c4cc87d6e6f56301b6bb7b87c5f4cb0ac84f0fdbd5c121e89276" }, "downloads": -1, "filename": "web.sh-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3742735de25ccbecb01c9b6cdb613dd0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9645, "upload_time": "2015-06-22T11:12:41", "url": "https://files.pythonhosted.org/packages/9b/33/6cbfe52d3e98ff717fb9da24562b19b110cb1130302317611d23c1264663/web.sh-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e4043399563d0c9c42db3419f89a1424", "sha256": "ea5c326d4f3f00979964f2a3edc97ac7d2e5ff86062af4ea32daa90bfef4f8e8" }, "downloads": -1, "filename": "web.sh-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e4043399563d0c9c42db3419f89a1424", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15586, "upload_time": "2015-06-22T11:12:36", "url": "https://files.pythonhosted.org/packages/af/ee/27213b8a40979c620e896c5ae02ad8eed76b4f1b34a882fd90b093109e08/web.sh-0.1.4.tar.gz" } ] }