Unofficial API interface to the smartschool system.
Project description
Smartschool parser
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:
- AgendaLessons
- AgendaHours
- AgendaMomentInfos
- TopNavCourses
- Courses
- FutureTasks
- Periods
- Results
- StudentSupportLinks
- MessageHeaders
- Message
- Attachments
- MarkMessageUnread
- AdjustMessageLabel
- MessageMoveToArchive
- MessageMoveToTrash
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartschool-0.5.0.tar.gz.
File metadata
- Download URL: smartschool-0.5.0.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.11.12 Linux/6.1.0-32-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecf2000c85bbbdc46c9f6707903d733092cc73843cae7e5d23961c8e2dec92e2
|
|
| MD5 |
3540cb20f909e7bef0cb75e6d7611f80
|
|
| BLAKE2b-256 |
ad92a46e1e6ee7e9a8b5699439ef5c8012c95e3b1d7fb55b0fb563d0e44a4dba
|
File details
Details for the file smartschool-0.5.0-py3-none-any.whl.
File metadata
- Download URL: smartschool-0.5.0-py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.11.12 Linux/6.1.0-32-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a4a5fdef616b7c435178c2ae7a70bd5b95ce374cac604ed319e5d574a880490
|
|
| MD5 |
8a369db0d3f41451ef8346395ea3070c
|
|
| BLAKE2b-256 |
3451b5d5b88ef46e592967c8eb48f4bcd693794a17e21a678ca2ca3f55038952
|