{ "info": { "author": "Pedro Buteri Gonring", "author_email": "pedro@bigode.net", "bugtrack_url": null, "classifiers": [], "description": "|Downloads|\n\naskstack\n========\n\nSearch answers on Stack Overflow. Can use Google, Bing or DuckDuckGo search\nengine.\n\nJust pass some keywords to the script and it will uses a search engine to find\nthe most relevant pages on Stack Overflow.\n\nThen, it will get the first code snippet from the question page or the full\nanswer text.\n\nSimple example::\n\n $ askstack python delete dict key\n ---------------------------------------------------------------------------\n\n Question: How to remove a key from a python dictionary?\n\n my_dict.pop('key', None)\n\n\n Answer from: https://stackoverflow.com/questions/11277432\n\n ---------------------------------------------------------------------------\n\n Question: Delete an item from a dictionary\n\n del d[key]\n\n\n Answer from: https://stackoverflow.com/questions/5844672\n\n ---------------------------------------------------------------------------\n\n\nNotes\n=====\n\n- Works on Python 2.7 and Python 3.4+\n\n\nInstall\n=======\n\nInstall using pip::\n\n pip install askstack\n\n\nUsage\n=====\n\n::\n\n Usage: askstack keywords... [options]\n\n search answers on stackoverflow\n\n Options:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -a ANSWERS number of answers to retrieve (default: 2)\n -e ENGINE search engine to use: 'google', 'bing', 'duckduckgo' or\n 'fallback' - fallback will try google and fallback to bing\n and duckduckgo if a search fails (default: fallback)\n -f, --fulltext get the full answer text (default: disabled)\n -s SLEEP sleep time between requests (default: 0.5)\n -t TIMEOUT timeout in seconds to wait for reply (default: 5)\n\n\nExamples\n========\n\nIf you are feeling lucky, get only the first code snippet::\n\n $ askstack linux gzip directory -a 1\n\nGet full first answer::\n\n $ askstack linux gzip directory -a 1 -f\n\nTry to get three answers using only DuckDuckGo as the search engine::\n\n $ askstack linux gzip directory -a 3 -e duckduckgo\n\n\n.. |Downloads| image:: https://pepy.tech/badge/askstack", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pdrb/askstack", "keywords": "search answer ask stack overflow command line", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "askstack", "package_url": "https://pypi.org/project/askstack/", "platform": "", "project_url": "https://pypi.org/project/askstack/", "project_urls": { "Homepage": "https://github.com/pdrb/askstack" }, "release_url": "https://pypi.org/project/askstack/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Search answers on stackoverflow", "version": "0.1.4" }, "last_serial": 4681730, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "e00b9008b456569f4f6be183a33299bf", "sha256": "8529c59ddb98f8ac9505a503592ae4ecd91296fb5dd9d24d2d61828d616e777e" }, "downloads": -1, "filename": "askstack-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e00b9008b456569f4f6be183a33299bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5003, "upload_time": "2017-12-22T03:11:06", "url": "https://files.pythonhosted.org/packages/85/62/448d490db968b9d2aa7251c2709bdb6c9e0137afa64c03ba1813d8e97241/askstack-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c2be20f33e42d34e65c02c2f670e5958", "sha256": "0da16ad8e6f951d1e64242aeee89d86e52053ed1e9f5f487b2264ca40ec967e2" }, "downloads": -1, "filename": "askstack-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c2be20f33e42d34e65c02c2f670e5958", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5010, "upload_time": "2017-12-24T00:36:41", "url": "https://files.pythonhosted.org/packages/88/83/1a2b75db0983bf906c853e9a6ebb86e730407658d206a80b68d7b6cf4e02/askstack-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b37e1232bcda9ad70fd700ed02604128", "sha256": "45e5745576a1705deda2426b1947835f8d0fa496ebf3c3d8b33297eb93f457b6" }, "downloads": -1, "filename": "askstack-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b37e1232bcda9ad70fd700ed02604128", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5027, "upload_time": "2018-03-27T15:03:44", "url": "https://files.pythonhosted.org/packages/06/82/60d253e9df24a1db73731cf51a05aed5e3692943b4f9187ffc861e6cdd75/askstack-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f29e36f6116df351b4ae3707dc3de672", "sha256": "5f6ffe0f0e6afe632a78db128c13a256a669a42809161a1a95747ec42ab3f2aa" }, "downloads": -1, "filename": "askstack-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f29e36f6116df351b4ae3707dc3de672", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5072, "upload_time": "2019-01-10T15:57:32", "url": "https://files.pythonhosted.org/packages/d2/7f/baf4e1aa27328ec5990cdf50d9e104e2d8c919d452c7f9971557454b4ce6/askstack-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f29e36f6116df351b4ae3707dc3de672", "sha256": "5f6ffe0f0e6afe632a78db128c13a256a669a42809161a1a95747ec42ab3f2aa" }, "downloads": -1, "filename": "askstack-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f29e36f6116df351b4ae3707dc3de672", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5072, "upload_time": "2019-01-10T15:57:32", "url": "https://files.pythonhosted.org/packages/d2/7f/baf4e1aa27328ec5990cdf50d9e104e2d8c919d452c7f9971557454b4ce6/askstack-0.1.4.tar.gz" } ] }