googlesearch.py


Namegooglesearch.py JSON
Version 1.6.1 PyPI version JSON
download
home_pagehttps://github.com/cj-praveen/googlesearch.py
SummaryThe Google search scraper for the Python programming language.
upload_time2023-01-05 14:13:26
maintainer
docs_urlNone
authorCJ Praveen
requires_python
license
keywords googlesearch.py python google search google search pypi google api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # googlesearch.py
The Google search scraper for the Python programming language.

## Installation instruction
- Python 3.6 or later is required.
- make sure the latest pip version is installed in your working environment.

**If you meet the above requirements, run the following command given below to install the latest version of googlesearch.py:**
```
pip install -U googlesearch.py
```

## Get Started
Here is an example program.
```py
import googlesearch_py

query = "what is programming language"

results = googlesearch_py.search(query)

print(results)
```

Program output:

If results are available for your search query, it will return a list containing dict objects; otherwise, it will return an empty list.
```json
[
    {
        "url": "https://en.wikipedia.org/wiki/Programming_language",
        "title": "Programming language - Wikipedia",
        "description": "A programming language is a system of notation for writing computer programs. ... Most programming languages are text-based formal languages, but they may also be..."
    }
]
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cj-praveen/googlesearch.py",
    "name": "googlesearch.py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "googlesearch.py,python google search,google search pypi,google api",
    "author": "CJ Praveen",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/dc/84/dde9dc7c8f56135f331cb947cea66a4c1d26c7875730b38cfaea8ebae2f4/googlesearch.py-1.6.1.tar.gz",
    "platform": null,
    "description": "# googlesearch.py\r\nThe Google search scraper for the Python programming language.\r\n\r\n## Installation instruction\r\n- Python 3.6 or later is required.\r\n- make sure the latest pip version is installed in your working environment.\r\n\r\n**If you meet the above requirements, run the following command given below to install the latest version of googlesearch.py:**\r\n```\r\npip install -U googlesearch.py\r\n```\r\n\r\n## Get Started\r\nHere is an example program.\r\n```py\r\nimport googlesearch_py\r\n\r\nquery = \"what is programming language\"\r\n\r\nresults = googlesearch_py.search(query)\r\n\r\nprint(results)\r\n```\r\n\r\nProgram output:\r\n\r\nIf results are available for your search query, it will return a list containing dict objects; otherwise, it will return an empty list.\r\n```json\r\n[\r\n    {\r\n        \"url\": \"https://en.wikipedia.org/wiki/Programming_language\",\r\n        \"title\": \"Programming language - Wikipedia\",\r\n        \"description\": \"A programming language is a system of notation for writing computer programs. ... Most programming languages are text-based formal languages, but they may also be...\"\r\n    }\r\n]\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "The Google search scraper for the Python programming language.",
    "version": "1.6.1",
    "split_keywords": [
        "googlesearch.py",
        "python google search",
        "google search pypi",
        "google api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8f6b0d3ae20950756b393b5c16a54163fa79e4229ebc258bc7996cfaefc9fb0",
                "md5": "83899cda47acc34ef9a8d60ef1eab59a",
                "sha256": "3a9165adcc4ba24ba55ab03d8b4eadffd3133c57d8ae7eb596938529fd99b3b0"
            },
            "downloads": -1,
            "filename": "googlesearch.py-1.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "83899cda47acc34ef9a8d60ef1eab59a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2553,
            "upload_time": "2023-01-05T14:13:24",
            "upload_time_iso_8601": "2023-01-05T14:13:24.595894Z",
            "url": "https://files.pythonhosted.org/packages/a8/f6/b0d3ae20950756b393b5c16a54163fa79e4229ebc258bc7996cfaefc9fb0/googlesearch.py-1.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc84dde9dc7c8f56135f331cb947cea66a4c1d26c7875730b38cfaea8ebae2f4",
                "md5": "c6bceadbe54d069ef7b2dbe70b23b2ce",
                "sha256": "63d570766507b16ef16213a10ee7bf3869877e2d19f32f9d0fe2b80d68037603"
            },
            "downloads": -1,
            "filename": "googlesearch.py-1.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c6bceadbe54d069ef7b2dbe70b23b2ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2317,
            "upload_time": "2023-01-05T14:13:26",
            "upload_time_iso_8601": "2023-01-05T14:13:26.435470Z",
            "url": "https://files.pythonhosted.org/packages/dc/84/dde9dc7c8f56135f331cb947cea66a4c1d26c7875730b38cfaea8ebae2f4/googlesearch.py-1.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-05 14:13:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "cj-praveen",
    "github_project": "googlesearch.py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "googlesearch.py"
}
        
Elapsed time: 0.02814s