Skip to main content

No project description provided

Project description

S3 Web Cache

This is a simple package for archiving web pages (HTML) to S3. It acts as a cache serving the S3 version of the page if it exists. If not it writes a version to s3.

Quickstart

Install

pip install s3webcache

usage

from s3webcache import S3WebCache
s3wc  = S3WebCache(bucket_name='myBucket')   
html = s3wc.get("https://en.wikipedia.org/wiki/Whole_Earth_Catalog")

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

S3WebCache-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

S3WebCache-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file S3WebCache-0.1.1.tar.gz.

File metadata

  • Download URL: S3WebCache-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for S3WebCache-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3f44d561c90fba8716e68131c65e7246ceb2b331453dfe7e7cd099a47d130dba
MD5 c6d914fc8bae9471f356ba694b789635
BLAKE2b-256 1862ceccc373181260c0080f9ee83d286f94e3dbc3ccd0f1e57c1d038521041c

See more details on using hashes here.

File details

Details for the file S3WebCache-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: S3WebCache-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for S3WebCache-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b96b24d0ee5f2c4556d654262e89608e7daa595ad724718cd5984f432b665a18
MD5 3558cada74c9821ac5cc9f02f57b4374
BLAKE2b-256 25ccaf17d1ce925eb267e2fff094221aa25a2be8dcd1d488d6c09c733ac2d244

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