{ "info": { "author": "Ben Bass", "author_email": "benbass@codedstructure.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "=========\nurlsearch\n=========\n\nUsage\n-----\n\n::\n\n Usage: URLSEARCH_NAME query\n opens appropriate search query in a browser\n\nurlsearch provides a shortcut to start a web search from the command line.\nIt is designed to be symlinked from command names which refer to the target\nsearch engine; several are already included by default:\n\n* ``google``\n* ``bing``\n* ``ddg`` (DuckDuckGo)\n* ``pylib`` (search Python library reference)\n* ``pypi`` (search the Python Package Index)\n* ``wiki`` (search Wikipedia)\n\nFeatures:\n\n* automatic guessing of top-level domains\n* special casing of query path and naming in a .ini-style config file\n* supports trac ticket searches (e.g. #1234) by omitting the leading '#',\n which would otherwise be interpreted as a comment by the shell and dropped.\n (disabled by default - enable on a per-site basis in ~/.urlsearchrc)\n* supports local domains - if name can be resolved locally it will be used in\n preference to appending a suffix\n\nExamples\n--------\n\n*These assume 'google', 'wiki', and 'trac' are urlsearch commands*::\n\n $ google photon mapping\n $ trac r19201\n $ wiki path tracing\n\n\nDefault installation\n--------------------\n\nNote the default installation adds a number of new commands to your ``PATH``, as\nlisted in the **Usage** overview above.\n\n::\n\n $ pip install urlsearch\n $ google python webbrowser # open web page\n\nManual installation\n-------------------\n\nCloning the repository locally and editing the content of `scripts` by deleting\nor creating symlinks is recommended to get a more custom set of search links.\n\n::\n\n ~$ hg clone https://bitbucket.org/codedstructure/urlsearch\n ~$ cd urlsearch/scripts\n scripts$ rm google\n scripts$ ln -s urlsearch trac\n scripts$ cd ..\n urlsearch$ python3 setup.py install\n\nConfig File\n-----------\n\n``urlsearch`` looks for a config file named ``.urlsearchrc`` in the home\ndirectory. It may be modified to configure the search behaviour of\n``urlsearch`` on a per-site basis, as well as configuring some options.\n\nNote that ``urlsearch`` creates a default ``~/.urlsearchrc.default`` config\nfile if no config file exists, and does check this, but will prefer to use\n``~/.urlsearchrc`` if available. This prevents package upgrade installs\noverriding any config changes made by the user. Rather than modify this file\ndirectly, it should first be copied or moved to ``.urlsearchrc``.\n\nThe default installation instance is fully commented. Two example entries\nare shown below - note that this still requires appropriate symlinks with\nthe same name as the section heading to be created to launch ``urlsearch``::\n\n [wiki]\n site = wikipedia.org\n query = w/index.php?search={terms}\n\n [pypi]\n site = pypi.python.org\n query = pypi?:action=search&term={terms}&submit=search\n\nThe two key fields are ``site``, giving the domain name (either full or\nminus the TLD, causing a list of TLDs to be searched) of the site, and\n``query`` which is a format string of the path used to request a search.\nThe seach terms are substituted into the ``{terms}`` field with appropriate\nquoting. See the installed config file for more options.\n\n\nCHANGES\n-------\n\n0.3.3:\n * prefer reliability to speed; use gethostbyname rather than getaddrinfo\n and check response against 127.0.53.53 (see icann.org/namecollision)\n\n0.3.2:\n * create ~/.urlsearchrc.default on use rather than at install-time\n\n0.3.1:\n * installer fixes\n * install config file to .urlsearchrc.default\n\n0.3:\n * support for .urlsearchrc config file\n\n0.2:\n * change to use setuptools\n * add pypi search\n\n0.1:\n * first release\n\nTODO\n----\n\nImprove documentation of the config file structure\n\n*Ben Bass 2012-2014 @codedstructure*", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/codedstructure/urlsearch", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "urlsearch", "package_url": "https://pypi.org/project/urlsearch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/urlsearch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/codedstructure/urlsearch" }, "release_url": "https://pypi.org/project/urlsearch/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "perform web searches from the command line", "version": "0.3.3" }, "last_serial": 1273082, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "d27c557e2ad86747b2f4e0a03829e18e", "sha256": "b1200fc8a9b048518d125ec28167a853eb7d743d6f453950ed00335db911d7e1" }, "downloads": -1, "filename": "urlsearch-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d27c557e2ad86747b2f4e0a03829e18e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6738, "upload_time": "2014-10-05T20:39:28", "url": "https://files.pythonhosted.org/packages/24/a2/859fe4497c3f3ff930b8ace74a2d4e2f5114bb8aa3d4dba1a1d46e475d2d/urlsearch-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e35a01d5f9337a07d4a6e845737e54f5", "sha256": "c5017c3f7e150138939fbc3f06a8d98655b78920a8d8c8707450d7cfdfee08b6" }, "downloads": -1, "filename": "urlsearch-0.2.tar.gz", "has_sig": false, "md5_digest": "e35a01d5f9337a07d4a6e845737e54f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3632, "upload_time": "2014-10-05T20:39:25", "url": "https://files.pythonhosted.org/packages/ac/17/66b86a436def3c939038d34a528bbd9764a85e86ba78a99b07a2e1b7b6e7/urlsearch-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "1fb770d3aa5deb5b2bf6ad01ed3e9e91", "sha256": "744218b9d1cb1e95d269578283415473032bda44a01af64402ca05125a8033ca" }, "downloads": -1, "filename": "urlsearch-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1fb770d3aa5deb5b2bf6ad01ed3e9e91", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8449, "upload_time": "2014-10-14T22:46:46", "url": "https://files.pythonhosted.org/packages/13/e4/affc57ca2129d90d1980f8d18008f46114d222eed5a962277da135844ad6/urlsearch-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8265283bc7e2bd4389efefa4ac8a2f2e", "sha256": "f9a0018c51d79f320e41e18bddc5d73caae0603376429ccaab78b5045aec3e34" }, "downloads": -1, "filename": "urlsearch-0.3.tar.gz", "has_sig": false, "md5_digest": "8265283bc7e2bd4389efefa4ac8a2f2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4055, "upload_time": "2014-10-14T22:46:43", "url": "https://files.pythonhosted.org/packages/f5/10/0ea1e295841d003aea2bd1346f7e527096a36cfe04e916113d97160f125a/urlsearch-0.3.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "79c82a43692dc52ae70a795e1fc8a93d", "sha256": "5652dd7f740219d130722dda64f5b69c8c7c7053c05588a8cddde14827f69042" }, "downloads": -1, "filename": "urlsearch-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "79c82a43692dc52ae70a795e1fc8a93d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9722, "upload_time": "2014-10-15T22:01:19", "url": "https://files.pythonhosted.org/packages/3a/88/8e0f80a9ebcf58415c9886de4f7f2955dbd9a9b07d9f3a2e137307341b38/urlsearch-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ddcd31e18ae1a75143eb7f6d1b269e", "sha256": "cb9257ebf615b8314c44bb15c054d1a9773ec4f36c0e26f88f290f434af8d828" }, "downloads": -1, "filename": "urlsearch-0.3.2.tar.gz", "has_sig": false, "md5_digest": "91ddcd31e18ae1a75143eb7f6d1b269e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5760, "upload_time": "2014-10-15T22:01:15", "url": "https://files.pythonhosted.org/packages/e9/6f/2022e2aea115fa007d98a8f9b882f4d952f6ef947b66978b92f7e014b5c0/urlsearch-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "b18305a84750388fa84e1f0bc6735e19", "sha256": "f3251769c12706fbd420720fe960c77082d8923ac8796dcd116218a45bec560a" }, "downloads": -1, "filename": "urlsearch-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b18305a84750388fa84e1f0bc6735e19", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9982, "upload_time": "2014-10-16T21:01:03", "url": "https://files.pythonhosted.org/packages/62/c3/3e24e61476077d2c5503f2ea218478cb7eab21cfad9aab2dcd12855c824f/urlsearch-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd7568d53af58045fad2b9b80dfe54d9", "sha256": "81d95040d79aaf01b9acc610d9a68b0b4bdb5c19397c0e8b4b1d1f52c5e2b956" }, "downloads": -1, "filename": "urlsearch-0.3.3.tar.gz", "has_sig": false, "md5_digest": "fd7568d53af58045fad2b9b80dfe54d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5914, "upload_time": "2014-10-16T21:01:00", "url": "https://files.pythonhosted.org/packages/90/bd/2c550957bb82adae651f47562b3fa14a6e58975bbdfab0b693e01ee30ee4/urlsearch-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b18305a84750388fa84e1f0bc6735e19", "sha256": "f3251769c12706fbd420720fe960c77082d8923ac8796dcd116218a45bec560a" }, "downloads": -1, "filename": "urlsearch-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b18305a84750388fa84e1f0bc6735e19", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9982, "upload_time": "2014-10-16T21:01:03", "url": "https://files.pythonhosted.org/packages/62/c3/3e24e61476077d2c5503f2ea218478cb7eab21cfad9aab2dcd12855c824f/urlsearch-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd7568d53af58045fad2b9b80dfe54d9", "sha256": "81d95040d79aaf01b9acc610d9a68b0b4bdb5c19397c0e8b4b1d1f52c5e2b956" }, "downloads": -1, "filename": "urlsearch-0.3.3.tar.gz", "has_sig": false, "md5_digest": "fd7568d53af58045fad2b9b80dfe54d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5914, "upload_time": "2014-10-16T21:01:00", "url": "https://files.pythonhosted.org/packages/90/bd/2c550957bb82adae651f47562b3fa14a6e58975bbdfab0b693e01ee30ee4/urlsearch-0.3.3.tar.gz" } ] }