Skip to main content

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

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.0.tar.gz (464.8 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wccls-5.0.0.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

Hashes for wccls-5.0.0.tar.gz
Algorithm Hash digest
SHA256 35f60afab9e73ca5d14d978cc68d3896ef13e5cd3d46da9e4463a83efac5aee6
MD5 c56088172a47d4f312a182ddd67346cb
BLAKE2b-256 c7f5adb0da18144a6f31d9e0210745897043a5e92009f65860f4acc13055f5eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wccls-5.0.0-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

Hashes for wccls-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58d6ea417bdce28787b9a4a858697b8ff6b73311007224c6a6809086a0eea1da
MD5 93fcdefb3c1182a6b495086c1bc8dd44
BLAKE2b-256 92fbae374041459d9bd6a5e730496e715616ad8a5cdbf914f921ad08f55f266e

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 Sentry Error logging StatusPage Status page