USC-Schedule
USC Schedule of Classes API wrapper
Introduction
This library provides a python interface for the USC Schedule of Classes api. It works for Python versions from 3.6 onwards.
Installation
$ pip install usc-schedule
Usage
Setup
from uscschedule import Schedule
schedule = Schedule()
Get department
csci_department = schedule.get_department(department_id="CSCI", semester_id=20201)
# Alternatively: schedule.get_department("CSCI", 20201)
print(csci_department.department)
print(csci_department.abbreviation)
print(csci_department.department_url)
# Prints:
# Computer Science
# CSCI
# http://www.cs.usc.edu/
Get course details
csci_course = schedule.get_course(course_id="CSCI-201", semester_id=20201)
# Alternatively: schedule.get_course("CSCI-201", 20201)
print(csci_course.title)
print(csci_course.units)
print(csci_course.description)
# Prints:
# Principles of Software Development
# 4.0
# Object-oriented paradigm for programming-in-the-large in Java; writing sophisticated concurrent
# applications with animation and graphic user interfaces; using professional tools on team project.
# Prerequisite: CSCI 104L.
Release files for usc-schedule 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| usc-schedule-1.0.1.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| usc_schedule-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / usc-schedule-1.0.1.tar.gz
| Download URL | usc-schedule-1.0.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dff0f62d1a93d8acd5a81916471665641c50a12bae469150200ded52c95c5c6e
|
|
BLAKE2b-256 checksum How to use checksums |
941fa042cf33244c34182123a7412e64641309efdecba78a6764a42e14d20223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / usc_schedule-1.0.1-py3-none-any.whl
| Download URL | usc_schedule-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31968847a51c18fa1926fd486164901942f1a9a28ba65289b4b44a7ac78f24eb
|
|
BLAKE2b-256 checksum How to use checksums |
6d71d31d6a7104a412096ced710d6263d7843d8e6e3024f9aa27c2d69edc5307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|