Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

testudo

testudo.py collects class information from the publicly available University of Maryland Schedule of Classes. It includes information such as the title of the class, the size of the class, enrollment, the time and location of the class, and the name of the instructor. This repository only makes the code for assembling the data available. Please email edsu@umd.edu with any questions.

git clone https://github.com/edsu/testudo.git
cd testudo
pipenv install
./testudo.py

After it finishes you should find a populated directory structure like this:

data/{term}/{dept}/{class}.json

For convenience the included json2csv.py program will read in all the JSON files and write out one long CSV file, which is saved in data/courses.csv. Each course JSON file will look something like this:

{
  "id": "ANTH222",
  "title": "Introduction to Ecological and Evolutionary Anthropology",
  "credits": "4",
  "description": "Credit only granted for: ANTH220 or ANTH222.",
  "grading-method": [
    "Reg",
    "P-F",
    "Aud"
  ],
  "sections": [
    {
      "id": "0101",
      "instructor": "Barnet Pavao-Zuckerman",
      "seats": "20,",
      "open-seats": "0,",
      "waitlist": "0",
      "days": "TuTh",
      "start": "9:30am",
      "end": "10:45am",
      "building": "ATL",
      "room": "2324"
    },
    {
      "id": "0102",
      "instructor": "Barnet Pavao-Zuckerman",
      "seats": "20,",
      "open-seats": "0,",
      "waitlist": "0",
      "days": "TuTh",
      "start": "9:30am",
      "end": "10:45am",
      "building": "ATL",
      "room": "2324"
    }
  ],
  "term": "201801",
  "department": "Anthropology"
}

Tests

There are a few tests, but there should be more.

pytest 

About

Collect public information about the classes at the University of Maryland

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.