harpies
Helps you to generate link previews on the fly! Use harpies to get the information of a webpage to generate a preview, then you know how you want to style the preview with the information.
Installation
You can install harpies using pip,
pip install harpies
Requires Python 3 or above to run. If you have Python 2 installed too, make sure to use the right pip.
Usage
>>> import harpies
>>> data = harpies.preview_data("iamlizu.com")
>>> print(data)
{"title": "S M Mahmudul Hasan", "description": "WordPress security expert, creates technological contents in spare times, mostly found on tech forums,
part-time gamer, listens to electronic music.", "image": "https://iamlizu.com/wp-content/uploads/2019/10/iamlizu.com-cover.png", "url": "https://iamlizu.com/"}
Please look for logs at ‘~/Documents/harpies.log’
Metadata
Release files for harpies 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| harpies-1.0.0.tar.gz | 2.3 kB | Details |
Release files / harpies-1.0.0.tar.gz
| Download URL | harpies-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee5ebcbe399ce97a21e7f22ae02424416ccf9ac41ea5e392175160679302ca9d
|
|
BLAKE2b-256 checksum How to use checksums |
fd63316281ce991f6aeb1adb73c93a947fc884267c5c219f97c01b9d18f0383a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|