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-5.0.2.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.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wccls-5.0.2.tar.gz
  • Upload date:
  • Size: 464.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.2.tar.gz
Algorithm Hash digest
SHA256 8b5441fafa4e176c888e28f9b415341ecc04656e126cd220723e6cc7941cd93b
MD5 843e4d16b85fce11c055f56cf291d7d4
BLAKE2b-256 8a52dd8ac1f9d15426b70c42965965797e543e777b2eb1bbdb14fb4c6c9a9e3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wccls-5.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1083f554dedd313ed5ab08c0f87dcf09f4c59c6e6c1265155280b0ddefe2ad
MD5 ae27c43f6e40bca1f61c9b36325f446b
BLAKE2b-256 ee87ff73df5c7bba923581e3f6092f177e8089ef25437ca2dd5de02c3ad09737

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