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
Metadata
Release files for studentvue-old 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| studentvue@old-1.0.tar.gz | 4.1 kB | Without provenance | Details for studentvue@old-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| studentvue_old-1.0-py3-none-any.whl | Python 3 | none | any | Details for studentvue_old-1.0-py3-none-any.whl |
Total release size: 14.1 kB
Release files / studentvue@old-1.0.tar.gz
| Download URL | studentvue@old-1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd0c327a849f38ad2c79399039e7966cdbddfd9ae7f8e46458ae0f7505796e75
|
|
BLAKE2b-256 checksum How to use checksums |
0261d9b73f455c55b5cdde9bf8dfe4031f174aad36023d81b907bff8e8c24f6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / studentvue_old-1.0-py3-none-any.whl
| Download URL | studentvue_old-1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b90b07569f27137df890a9e7718ba99c47e46c99d5cddb3ded2669fa30bc7c4a
|
|
BLAKE2b-256 checksum How to use checksums |
3b0e875481e4a40e93a18e8db4be4186c50ac31f96260de4ab7d1c13307f93d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for studentvue-old 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.