wccls


Namewccls JSON
Version 3.1.4 PyPI version JSON
download
home_pagehttps://github.com/rkhwaja/wccls
SummaryScraper for the WCCLS account page
upload_time2023-11-20 02:27:03
maintainer
docs_urlNone
authorRehan Khwaja
requires_python>=3.9,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
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
``` python
pytest --collect=save -k new_fileset
```

## To test existing test data
``` python
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rkhwaja/wccls",
    "name": "wccls",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Rehan Khwaja",
    "author_email": "rehan@khwaja.name",
    "download_url": "https://files.pythonhosted.org/packages/01/37/42ea5a74a6b9bacc71318efa48ffb9f38ee5dff56d73169d9c977ec09388/wccls-3.1.4.tar.gz",
    "platform": null,
    "description": "# Overview\n\nThis 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)\n\n# Usage\n\n![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)\n\n``` python\nfrom wccls import Wccls, WcclsAsync\nitems = Wccls(login=card_number_or_username, password=password)\nfor item in items:\n    print(item)\n\nitems = await WcclsAsync(login=card_number_or_username, password=password)\nfor item in items:\n    print(item)\n```\n\n# Running tests\n\n## To record new test data (also test against live website)\nSet SCRUB_EMAIL, WCCLS_CARD_NUMBER, WCCLS_PASSWORD environment variables\n\nMake a new directory tests/filesets/new_fileset\n``` python\npytest --collect=save -k new_fileset\n```\n\n## To test existing test data\n``` python\npytest\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Scraper for the WCCLS account page",
    "version": "3.1.4",
    "project_urls": {
        "Homepage": "https://github.com/rkhwaja/wccls"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c5a6e39afc93c5453f15491508d729a484771a9bea8aec0348ec29920353cc52",
                "md5": "fdb1a421fc6fe8c08dbdccc8b74677da",
                "sha256": "1fbe3cb9e73f1cb79b0992cde53d23aaf59661d0f53ed20d19de7727a92a81d7"
            },
            "downloads": -1,
            "filename": "wccls-3.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fdb1a421fc6fe8c08dbdccc8b74677da",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 6426,
            "upload_time": "2023-11-20T02:27:02",
            "upload_time_iso_8601": "2023-11-20T02:27:02.210125Z",
            "url": "https://files.pythonhosted.org/packages/c5/a6/e39afc93c5453f15491508d729a484771a9bea8aec0348ec29920353cc52/wccls-3.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "013742ea5a74a6b9bacc71318efa48ffb9f38ee5dff56d73169d9c977ec09388",
                "md5": "fa43993829948bad507df85ec1990c7b",
                "sha256": "1614e5435bd83ef2e213338c01c3ef33bbaf1bb0cfc87a577a83295d680d515d"
            },
            "downloads": -1,
            "filename": "wccls-3.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "fa43993829948bad507df85ec1990c7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 5702,
            "upload_time": "2023-11-20T02:27:03",
            "upload_time_iso_8601": "2023-11-20T02:27:03.801895Z",
            "url": "https://files.pythonhosted.org/packages/01/37/42ea5a74a6b9bacc71318efa48ffb9f38ee5dff56d73169d9c977ec09388/wccls-3.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-20 02:27:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rkhwaja",
    "github_project": "wccls",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wccls"
}
        
Elapsed time: 0.15826s