Skip to main content

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


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.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

redeye_grablib-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file redeye-grablib-0.0.1.tar.gz.

File metadata

  • Download URL: redeye-grablib-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 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

Hashes for redeye-grablib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3687b25e2ee79ff28a0f2166aed5f29ad18505f9a143b6d706a709a7b5e31cc0
MD5 dc7a9db78cd612b6edb5c4ffb10d6feb
BLAKE2b-256 8ac83b5528da3080aa3a5b204df32b525c072d13ef4ed8d3daede0b35dde3fdf

See more details on using hashes here.

File details

Details for the file redeye_grablib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: redeye_grablib-0.0.1-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

Hashes for redeye_grablib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5604632197ff56a253129a342161ebd1e8601185145b6586c653e7217a06c414
MD5 aa4b36254897e945677aac893dd1f879
BLAKE2b-256 f86965c2a3980cd627822b95dd9f8a7b60bf08cb27c677d76266b65f86642e8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page