Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.63 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.63 KB

Smartschool parser

codecov

Unofficial interpreter to interface against smartschool's website.

How to use?

Copy the credentials.yml.example file to credentials.yml and adjust the contents with the username/password and school uri.

from smartschool import SmartSchool, PathCredentials, Courses

SmartSchool.start(PathCredentials())
for course in Courses():
    print(course.name)

Implemented:

Contributing?

To get started (I always use mamba/conda to create an environment)

git clone https://github.com/svaningelgem/smartschool.git
cd smartschool
mamba create -n smartschool python=3.11
mamba activate smartschool
pip install poetry
poetry install

Now you can start contributing.

To run the test suite:

poetry run pytest