A library for retrieving files from HTTP servers.
Project description
GrabLib
A library for retrieving files from HTTP servers.
Installation
pip install redeye-grablib
Usage
>>> import grablib
>>> import asyncio
>>>
>>> grabber = grablib.GrabLib()
>>> asyncio.run(grabber.get("https://picsum.photos/20/30"))
{
'url': 'https://picsum.photos/20/30',
'sha256': '91aa5c45c2d5709e46631caa743bec9461a4e97df87d60038c126078876add02',
'data': b'[image binary]'
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redeye-grablib-0.0.2.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redeye-grablib-0.0.2.tar.gz.
File metadata
- Download URL: redeye-grablib-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41f0fb8057b47da53b88a7188ef30b888dd7e2fa31712578711d92844316a43a
|
|
| MD5 |
b6897c7c7d3d2bef353a862dbb662534
|
|
| BLAKE2b-256 |
933acbd1d4365f3dbf8891ddee9bd0320b4c601da576ac6a8592cae1c11f399a
|
File details
Details for the file redeye_grablib-0.0.2-py3-none-any.whl.
File metadata
- Download URL: redeye_grablib-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2b35ea3e8af86891be5ee0f1c74e973afc861b985c50715d4ef3d571135b395
|
|
| MD5 |
3635bcbb5d5e76d4df4cde9854f5ecd0
|
|
| BLAKE2b-256 |
4362616571e8cbf5ce7a1f2e9620e23f541fccc78216e6f6b6be804d87d65a65
|