Python Scraper for StudentVue Portals
Project description
Student Vue Scraper
THIS LIBRARY IS FOR THE OLD VERSION OF STUDENTVUE. IT IS NOT MAINTAINED. FOR AN API FOR THE CURRENT VERSION GO TO THE MASTER BRANCH.
This repository provides a easy way to access data from StudentVue portals in Python programs.
How to Use
pip install studentvue@old
or clone / download the repository and python setup.py install
.
from studentvue import StudentVue
sv = StudentVue('username', 'password', 'domain name')
Scraper Usage
The current functions of the both StudentVue classes are getSchedule()
, getStudentContactInfo()
, getStudentInfo()
, getSchoolInfo()
, getReportCard()
, getGradeBook()
, getGradesbyGradingPeriod(grading_period)
and getGradingInfobyPeriod()
.
getSchedule()
returns a list of dictionaries with basic class information:
[
{
"Period": "1",
"Course Title": "Computer Programming",
"Room Name": "999",
"Teacher": "Someone"
}, ...]
getStudentContactInfo()
returns a dictionary with contact information on the student:
{
"Name": "Kid, Some",
"User ID": "somekid",
"Home Address": "Some Where Street, Some City, Some State, 99999",
"Mail Address": "Same as Home Address",
"Phone Numbers": "Home: 999-999-999"
}
getStudentInfo()
returns a dictionary with some other information on the student:
{
"Student Name": "Some J. Kid",
"Student No": "32562395",
"Gender": "Male",
"Grade": "9"
}
getSchoolInfo()
returns a dictionary with some information on the school:
{
"Principal": "Someone",
"School Name": "Some HS",
"Address": "Some Where Street, Some City, Some State, 99999",
"Phone": "999-999-999",
"Fax": "999-999-999",
"Website URL": "https://some-school-website/"
}
getReportCard()
returns a list of dictionaries with class information and your grade from the last report card:
[
{
"Period": "1",
"Course Title": "Computer Programming",
"Teacher": "Someone",
"Marks": "A"
}, ...]
getGradeBook()
is similar, but returns numbers out of 100 instead of letters, and returns the latest grades from this grading period, opposed to grades from the last report card. Additionally, it sometimes includes the overall grade for the season/ semester/ trimester:
[
{
"Period": "1",
"Course Title": "Computer Programming",
"Teacher": "Someone",
"P6": 95.54,
"Spring": 96.67
}, ...]
getGradesbyGradingPeriod(grading_period)
takes a grading period as a parameter and returns the final grade for that grading period, out of 100, in the same format as getGradeBook()
:
[
{
"Period": "1",
"Course Title": "Computer Programming",
"Teacher": "Someone",
"P1": 97.42
}, ...]
getGradingInfobyPeriod(period)
takes a period as a parameter and returns a dictionary with a grading overview and individual assignment grades:
{
"Summary": [
{
"Assignment Type": "Classwork",
"Weight": 0.05,
"Points": 566.0,
"Points Possible": 450.0,
"Average": 0.0629
}, ...
],
"Assignments": [
{
"Date": "05/22/2018",
"Assignment": "Chapter 14 Test",
"Assignment Type": "Tests and Quizzes",
"Score Type": "Raw Score",
"Points": "3.50/5.00",
"Notes": " "
}, ...
]
}
TODO
- Write tests
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
File details
Details for the file studentvue@old-1.0.tar.gz
.
File metadata
- Download URL: studentvue@old-1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0c327a849f38ad2c79399039e7966cdbddfd9ae7f8e46458ae0f7505796e75 |
|
MD5 | 50935c6f6ce83d1e493b81d11193b4f5 |
|
BLAKE2b-256 | 0261d9b73f455c55b5cdde9bf8dfe4031f174aad36023d81b907bff8e8c24f6c |
File details
Details for the file studentvue_old-1.0-py3-none-any.whl
.
File metadata
- Download URL: studentvue_old-1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b90b07569f27137df890a9e7718ba99c47e46c99d5cddb3ded2669fa30bc7c4a |
|
MD5 | 0859b5edc875ab9c0b81e202320168f6 |
|
BLAKE2b-256 | 3b0e875481e4a40e93a18e8db4be4186c50ac31f96260de4ab7d1c13307f93d4 |