Skip to main content

Classutil scraper for UNSW.

Project description

classutil scraper

My attempt at a classutil. It downloads the current UNSW class allocations into a JSON file.

Installation

# optional: use virtualenv
virtualenv -p python3 venv
. venv/bin/activate

pip3 install -r requirements.txt

Run

python -m classutil output.json

The options are configurable, run with --help for more options.

Library Usage

from classutil import scrape

# Scrape data
# Arguments don't need to be specified as these are the defaults.
data = scrape(
	root="https://classutil.unsw.edu.au",
	concurrency=1,
	logging=False)

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

classutil-2.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

classutil-2.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file classutil-2.0.2.tar.gz.

File metadata

  • Download URL: classutil-2.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for classutil-2.0.2.tar.gz
Algorithm Hash digest
SHA256 52964c4f938941799d224d8012b2351aa0fa27baa0d30a3462323c1ff54b4769
MD5 c3ca2d47c32f70ff00755b2970031af3
BLAKE2b-256 af6d2003d3b4729254aaf03fe741b4f2ea167a2dda292e4cc2a82c2cd6521f2b

See more details on using hashes here.

File details

Details for the file classutil-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: classutil-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for classutil-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a36d2f5c88a337d9bda0e2439c521b3c3e30707b8d0b7b98b48db6c6019132
MD5 4a9f9ca4e36a84e4f7f45fa6dae57789
BLAKE2b-256 68486633bd3d9c3a14e86ddb13be541c9a60149db6cfd028c8d9f1b53a5e702a

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