Package: ucsdasiga
UCSD Associated Students (AS) Instructor Grade Archive (IGA)A simple API wrapper and web scraper for the UCSD Associated Students (AS)instructor grade archive.QuickstartPython UsageStart by importing theGradeArchiveclassfrom theucsdasigapackage:>>>fromasigaimportGradeArchiveGradeArchiveclass accepts 5 optional arguments:ParameterTypeDescriptionquarterstrFilter results to the fall ("FA"), winter ("WI"), or spring ("SP").yearintFilter results to a specific year (r"^\d\d$").instructorstrFilter results to classes taught by a specific instructor (f"{last_name}, {first_name}").[1]subjectstrFilter results to classes in a specific department (r"^[A-Z]{3,4}$") (e.g.,"CSE","MCWP").[2]codestrFilter results to a specific course number (r"^[0-9]{1,3}[A-Z]{0,2}$") (e.g.,"11","20").[1]: See theUCSD websitefor the faculty directory.[2]: See theUCSD websitefor a comprehensive list of active department subject codes.The following Python call generates the grade archive of allCSE 11classes (regardless of quarter and the instructor who taught the class) that occurred during the 2021 academic year:>>>archive=GradeArchive(year=21,subject="CSE",code="11")>>>archive.data()SubjectCourseYearQuarterTitleInstructorGPAABCDFWPNP0CSE1121WIAccel.IntrotoProgrammingCao,Yingjun3.28437.922.804.671.922.196.0414.506.311CSE1121SPAccel.IntrotoProgrammingMiranda,GregoryJoseph3.48551.39.334.280.384.287.3912.4010.102CSE1121FAAccel.IntrotoProgrammingPolitz,JosephGibbs3.48468.418.202.613.394.431.560.780.523CSE1121FAAccel.IntrotoProgrammingMiranda,GregoryJoseph3.33164.515.603.646.255.722.080.521.56Command Line Usage$python-masiga-husage: asiga [-h] [-v] [-q QUARTER] [-y YEAR] [-i INSTRUCTOR] [-s SUBJECT] [-c CODE]The following command generates the grade archive of allCSE 11classes (regardless of quarter and the instructor who taught the class) that occurred during the 2021 academic year:$python-masiga-y21-sCSE-c11Subject  Course  Year Quarter                        Title               Instructor    GPA     A      B     C     D     F     W      P     NP0     CSE      11    21      WI  Accel. Intro to Programming             Cao, Yingjun  3.284  37.9  22.80  4.67  1.92  2.19  6.04  14.50   6.311     CSE      11    21      SP  Accel. Intro to Programming  Miranda, Gregory Joseph  3.485  51.3   9.33  4.28  0.38  4.28  7.39  12.40  10.102     CSE      11    21      FA  Accel. Intro to Programming     Politz, Joseph Gibbs  3.484  68.4  18.20  2.61  3.39  4.43  1.56   0.78   0.523     CSE      11    21      FA  Accel. Intro to Programming  Miranda, Gregory Joseph  3.331  64.5  15.60  3.64  6.25  5.72  2.08   0.52   1.56RequirementsRequiresPython 3.5+.Dependencies:beautifulsoup4html5liblxmlpandasrequestsSee the projectPipfilefor a full list of dependencies, including development dependencies.InstallationInstalling from PyPI$python-mpipinstallucsdasigaInstalling from GitHubFirst, clone the repository:$gitclonegit://github.com/JacobLee23/UCSD-AS-IGA.gitAfter obtaining a copy of the source code, it can be embedded in a Python package. Or, it can be installed intosite-package:$cducsdasiga$python-mpipinstall.Refer to thePython documentationfor additional help installing Python modules.Notices of Non-Affiliation and DisclaimerThis project is not endorsed by, directly affiliated with, maintained, authorized, or sponsored by the University of California, San Diego. All product and company names are the registered trademarks of their original owners. The official University of California, San Diego website can be found athttps://ucsd.edu/.This project is not endorsed by, directly affiliated with, maintained, authorized, or sponsored by Associated Students, UC San Diego. All product and company names are the registered trademarks of their original owners. The official Associated Students, UC San Diego website can be found athttps://as.ucsd.edu/.