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 | Provenance | Actions |
|---|---|---|---|---|
| classeviva-client-0.0.7.tar.gz | 6.4 kB | Without provenance | Details for classeviva-client-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| classeviva_client-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for classeviva_client-0.0.7-py3-none-any.whl |
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
|
Security for classeviva-client 0.0.7
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.