Skip to main content

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

image codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wccls-3.1.6.tar.gz (453.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wccls-3.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file wccls-3.1.6.tar.gz.

File metadata

  • Download URL: wccls-3.1.6.tar.gz
  • Upload date:
  • Size: 453.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for wccls-3.1.6.tar.gz
Algorithm Hash digest
SHA256 07029d74c9e0911334ae050193d75410d79374b9753c6082182a1e3ea8cbcefc
MD5 362ca86de38ac93f940e0acd80ffe7bb
BLAKE2b-256 9dfbc67acb287cd6703c2f99500bcbc8c98979e0029d2d2a0aa4ef64a03c634c

See more details on using hashes here.

File details

Details for the file wccls-3.1.6-py3-none-any.whl.

File metadata

  • Download URL: wccls-3.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for wccls-3.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8b8c6267ffd1addde24d5d8f59d5b7a04701eb1178c4e8a92490a4fe3e31fc49
MD5 2f349a250a6a4cd6a3c0a335a2bd9b96
BLAKE2b-256 4e466838ad8a21611fbfde8dea25f46b278d92fcec654b7494ec9fb73fce1aea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page