RPICoursesA data scraping library to read course data from RPI | |
Download |
RPICourses Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Jeff Hui
- Publisher web site:
- http://jeffhui.net
RPICourses Tags
RPICourses Description
RPICourses is a simple Python library for reading and using RPI's course schedule. This has been extracted from YACS.It can parse the XML files provided on RPI's SIS system and provides a primitive object-oriented API layer to access the course information.Also, it provides rudimentary method to computing schedules using constraints.UsageTo install: pip install rpi_coursesThen you can import it to your python scripts:: from rpi_courses import CourseCatalog, list_xml_fileslist_xml_files accepts an optional URL argument, the default url is assumed to be "http://sis.rpi.edu/reg/rocs/". This function expects to read an apache-style file listing page. It scrapes all the files listed there that end with a xml file extension and returns the full URLs to those files: >>> files = list_xml_files() >>> files Product's homepage
RPICourses Related Software