Scraper for the WCCLS account page
Project description
Overview
This is a read-only scraper for the WCCLS account page. It also works for the Multnomah County Bibliocommons site
Usage
from wccls import Wccls, WcclsAsync
items = Wccls(login=card_number_or_username, password=password)
for item in items:
print(item)
items = await WcclsAsync(login=card_number_or_username, password=password)
for item in items:
print(item)
Running tests
To record new test data (also test against live website)
Set SCRUB_EMAIL, WCCLS_CARD_NUMBER, WCCLS_PASSWORD environment variables
Make a new directory tests/filesets/new_fileset
pytest --collect=save -k new_fileset
And check the new output.json against reality
To test existing test data
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wccls-5.0.1.tar.gz
(464.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wccls-5.0.1-py3-none-any.whl
(6.5 kB
view details)
File details
Details for the file wccls-5.0.1.tar.gz.
File metadata
- Download URL: wccls-5.0.1.tar.gz
- Upload date:
- Size: 464.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d6deee20b4984087db8747fb4e13c063cd714a9fcf0938286c1c2e0c2f8f8f2
|
|
| MD5 |
af33b2cdd5f620b1c25cb7253265fb9b
|
|
| BLAKE2b-256 |
64f0533ef973e77d62c1e10b822e824e8b16b7f6c00f9b74d1fbee825740d0f3
|
File details
Details for the file wccls-5.0.1-py3-none-any.whl.
File metadata
- Download URL: wccls-5.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1665f39afe99341e8b8963a7cc00ed2818c41c9583939ed45ea1ef0eff5ec9cc
|
|
| MD5 |
984e6ebd5928ee865ec83a39d65bf8b5
|
|
| BLAKE2b-256 |
ddee3a4291cbf780b771b4ba471594cefcc0323da786fcf938e15c7ddd476eb7
|