A python module for scraping the Virginia Tech Timetable of Classes.
Project description
vt-timetable
A python module for scraping the Virginia Tech Timetable of Classes.
This module makes it easy to get data from the Virginia Tech Timetable of
Classes using python. The most important components of the module are the
search_timetable function, which directly searches the timetable with the
provided parameters, and the Course class, which contains data about a
course. Additionally, get_crn makes it easier to search for a specific
course. The two other functions, get_semesters and get_subjects, make it
possible to check which search parameters are valid.
Documentation can be found here.
Getting started
This module can be installed from the Python Package Index.
$ pip install vt-timetable
After installing the module, it can be imported with:
import vtt
Examples
Getting data about CRN 83075 for Fall 2021, and checking if there are any open spots:
course = get_crn('2021', Semester.FALL, '83075')
course.has_open_spots()
Getting a list of all MATH 2114 sections for Fall 2021 that are taking place in person:
search_timetable('2021', Semester.FALL, subject='MATH', code='2114',
modality=Modality.IN_PERSON)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vt-timetable-0.2.6.tar.gz.
File metadata
- Download URL: vt-timetable-0.2.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c8cef09ba9de02293a17f2c7c2ac3463114bc552e907754ee9b9564d30ccec6
|
|
| MD5 |
7bf7c22cb575cb73c7b0b09a5ca491b0
|
|
| BLAKE2b-256 |
47993e6909c98e8b678e9b94467a8570d00401da8d384e8e69f59af6a6451b8b
|
File details
Details for the file vt_timetable-0.2.6-py3-none-any.whl.
File metadata
- Download URL: vt_timetable-0.2.6-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adeafef72855046ab6400fd386fd8dee980cb257efcd86ef476cac3f10469b81
|
|
| MD5 |
0dc5c2d6c5809b7c8b4d9870f8588392
|
|
| BLAKE2b-256 |
a3855c76e30cb245d2de8f567e32c6aa24081c65c99d8c9e71fd15d7667403bd
|