classeviva-client
classeviva-client is a Python library and a CLI tool to access the https://web.spaggiari.eu, probably the most used portal for schools, students and families.
Getting Started
Set your credentials as environment variables:
export CLASSEVIVA_USERNAME="you@domain.com"
export CLASSEVIVA_PASSWORD="secret!"
As a Python library
$ python
>>>
>>> from classeviva.client import Client
>>> from classeviva.credentials import EnvCredentialsProvider
>>>
>>>
>>> with Client(EnvCredentialsProvider()) as client:
... print(client.grades()[:1])
...
[Grade(value=7.25, display_value='7+', subject='ITALIANO', date='2021-10-11', color='green', comment='')]
As a CLI tool
List your grades:
$ classeviva list-grades
2022-03-30
- MUSICA, 7
2022-03-28
- MATEMATICA, 7½
2022-02-22
- MUSICA, 9½
- RELIGIONE, 8½
List your agenda entries for homework assignments:
$ classeviva list-agenda
2022-04-07
- TEACHER A, Geometria: pagina 42 n.90-91-96-100.
- TEACHER B, leggere e tradurre oralmente i dialogo di p. 130 e copiare una volta sul quaderno.
Refs
Special thanks to @michelangelomo for providing good API docs at michelangelomo/Classeviva-Official-Endpoints.
Metadata
Release files for classeviva-client 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| classeviva-client-0.0.7.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| classeviva_client-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / classeviva-client-0.0.7.tar.gz
| Download URL | classeviva-client-0.0.7.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3a7259824ac66e5b9895d5fca2aba5a63a21c37c34b72e02827d072a7ac2ed1
|
|
BLAKE2b-256 checksum How to use checksums |
a625770172321e88a44b6d0b030c9ceb037b7df48060dae535a55a527d30764c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / classeviva_client-0.0.7-py3-none-any.whl
| Download URL | classeviva_client-0.0.7-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91f77ea8992356e39a4e2409d4b9970f4eb04462d221c82007344581831ab183
|
|
BLAKE2b-256 checksum How to use checksums |
2518f00c9a746cf6c110e6fd4f882d95c2ac787b60cd6328d2196779030bed22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|