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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for redeye-grablib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 41f0fb8057b47da53b88a7188ef30b888dd7e2fa31712578711d92844316a43a
MD5 b6897c7c7d3d2bef353a862dbb662534
BLAKE2b-256 933acbd1d4365f3dbf8891ddee9bd0320b4c601da576ac6a8592cae1c11f399a

See more details on using hashes here.

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

Hashes for redeye_grablib-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b35ea3e8af86891be5ee0f1c74e973afc861b985c50715d4ef3d571135b395
MD5 3635bcbb5d5e76d4df4cde9854f5ecd0
BLAKE2b-256 4362616571e8cbf5ce7a1f2e9620e23f541fccc78216e6f6b6be804d87d65a65

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