pywebinfo


Namepywebinfo JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/kaustubhrprabhu/pywebinfo
SummaryA Python module to simply extract metadata (title, description, image, favicon) of a webpage
upload_time2024-08-26 16:33:03
maintainerNone
docs_urlNone
authorKaustubh Prabhu
requires_pythonNone
licenseNone
keywords python webpage website metadata
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyWebInfo

![Static Badge](https://img.shields.io/badge/python-3.10-blue?style=flat-square)
![PyPI - Version](https://img.shields.io/pypi/v/pywebinfo?link=https%3A%2F%2Fpypi.org%2Fproject%2Fpywebinfo%2F)



**pywebinfo** is a simple and easy-to-use Python module to extract metadata from a web page, ideal for the cards/previews of webpages within web applications.


## Installation

Currently pywebinfo supports Python 3.10 and onwards; Python 2 is not supported (not recommended). To install the current release:

```bash
pip install pywebinfo
```


## Usage

Minimal Example:

```python
from pywebinfo import PyWebInfo

pwi = PyWebInfo("https://www.python.org/")

# Title of the webpage | None
print(pwi.title)

# Description of the webpage | None
print(pwi.description)

# URL of webpage image | None
print(pwi.image)

# favicon of the webpage | None
print(pwi.favicon)

# URL
print(pwi.url)
```


## License

[MIT](LICENSE) © [Kaustubh Prabhu](https://github.com/kaustubhrprabhu)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kaustubhrprabhu/pywebinfo",
    "name": "pywebinfo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, webpage, website, metadata",
    "author": "Kaustubh Prabhu",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/29/5d/5580edf6f81e09aaa5495956968eaba3c6be4690aa6ec979026a214c27d1/pywebinfo-1.0.2.tar.gz",
    "platform": null,
    "description": "# PyWebInfo\n\n![Static Badge](https://img.shields.io/badge/python-3.10-blue?style=flat-square)\n![PyPI - Version](https://img.shields.io/pypi/v/pywebinfo?link=https%3A%2F%2Fpypi.org%2Fproject%2Fpywebinfo%2F)\n\n\n\n**pywebinfo** is a simple and easy-to-use Python module to extract metadata from a web page, ideal for the cards/previews of webpages within web applications.\n\n\n## Installation\n\nCurrently pywebinfo supports Python 3.10 and onwards; Python 2 is not supported (not recommended). To install the current release:\n\n```bash\npip install pywebinfo\n```\n\n\n## Usage\n\nMinimal Example:\n\n```python\nfrom pywebinfo import PyWebInfo\n\npwi = PyWebInfo(\"https://www.python.org/\")\n\n# Title of the webpage | None\nprint(pwi.title)\n\n# Description of the webpage | None\nprint(pwi.description)\n\n# URL of webpage image | None\nprint(pwi.image)\n\n# favicon of the webpage | None\nprint(pwi.favicon)\n\n# URL\nprint(pwi.url)\n```\n\n\n## License\n\n[MIT](LICENSE) \u00a9 [Kaustubh Prabhu](https://github.com/kaustubhrprabhu)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python module to simply extract metadata (title, description, image, favicon) of a webpage",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/kaustubhrprabhu/pywebinfo"
    },
    "split_keywords": [
        "python",
        " webpage",
        " website",
        " metadata"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f8b31a41afa5c564b8ea1174fe90a5355c65933b61a083552e1f86c8d38a909",
                "md5": "c63183cad369be0cc65295d180721e04",
                "sha256": "918329157379f6fb85382691d53bab553e130453ae475e9d84991a08a8621225"
            },
            "downloads": -1,
            "filename": "pywebinfo-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c63183cad369be0cc65295d180721e04",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4008,
            "upload_time": "2024-08-26T16:33:02",
            "upload_time_iso_8601": "2024-08-26T16:33:02.346669Z",
            "url": "https://files.pythonhosted.org/packages/9f/8b/31a41afa5c564b8ea1174fe90a5355c65933b61a083552e1f86c8d38a909/pywebinfo-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "295d5580edf6f81e09aaa5495956968eaba3c6be4690aa6ec979026a214c27d1",
                "md5": "44086d85ae5e7b7998d2d8d5a3569097",
                "sha256": "b1e3a780abd332fe103afb8cfa68a90451eacb959bc18b54714f8fbaa0206077"
            },
            "downloads": -1,
            "filename": "pywebinfo-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "44086d85ae5e7b7998d2d8d5a3569097",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3498,
            "upload_time": "2024-08-26T16:33:03",
            "upload_time_iso_8601": "2024-08-26T16:33:03.824745Z",
            "url": "https://files.pythonhosted.org/packages/29/5d/5580edf6f81e09aaa5495956968eaba3c6be4690aa6ec979026a214c27d1/pywebinfo-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-26 16:33:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kaustubhrprabhu",
    "github_project": "pywebinfo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pywebinfo"
}
        
Elapsed time: 2.23435s