Metadata-Version: 2.1
Name: wccls
Version: 2.2.0
Summary: Scraper for the WCCLS account page
Home-page: https://github.com/rkhwaja/wccls
License: MIT
Author: Rehan Khwaja
Author-email: rehan@khwaja.name
Requires-Python: >=3.9
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: beautifulsoup4 (>=4.9.3)
Requires-Dist: requests (>=2.25.1)
Requires-Dist: urllib3 (>=1.26); python_version >= "3.10" and python_version < "4"
Description-Content-Type: text/markdown

# Overview

This is a read-only scraper for the [WCCLS](https://wccls.bibliocommons.com) account page. It also works for the [Multnomah County Bibliocommons site](https://multcolib.bibliocommons.com)

# Usage

![image](https://github.com/rkhwaja/wccls/workflows/ci/badge.svg) [![codecov](https://codecov.io/gh/rkhwaja/wccls/branch/master/graph/badge.svg)](https://codecov.io/gh/rkhwaja/wccls)

``` python
wccls = WcclsBiblioCommons(login=card_number_or_username, password=password)
for item in wccls.items:
    print(item)
```

# Running tests

## Run against the live website

- Set the environment variables to show what the expected counts are for the various categories

- Run
```bash
pytest
```

## To record new cassettes
``` python
pytest --vcr-record=all
```

## To replay existing cassettes
``` python
pytest --vcr-record=none
```

