Metadata-Version: 2.1
Name: S3WebCache
Version: 0.1.5
Summary: UNKNOWN
Home-page: UNKNOWN
Author-email: dhking@wharton.upenn.edu
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: boto3

# 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`

### Env variable

These env variables are assumed to be set

* AWS_ACCESS_KEY_ID
* AWS_SECRET_ACCESS_KEY
* AWS_DEFAULT_REGION

### Usage

```
from s3webcache import S3WebCache

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

