Command line utility to access https://family.axioscloud.it
Project description
axios
Python library and CLI to access the school electronic register from Axios
Command line utility to access https://family.axioscloud.it
Installation
Install this tool using pip
:
pip install axios
Usage
First, set the environment variables:
export AXIOS_CUSTOMER_ID="12345678909"
export AXIOS_USERNAME="1234"
export AXIOS_PASSWORD="a-secret-i-will-not-share"
export AXIOS_STUDENT_ID="4567"
To list latest grades, run:
$ axios grades list
Grades
Data Materia Tipo Voto Obiettivi Commento Docente
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2022-12-06 TECNOLOGIA e INFORMATICA Scritto 7.5 Pavarin Maria Luisa
2022-12-02 MATEMATICA Scritto 7,75 Verifica sugli insiemi Micela Silvia
2022-12-01 ARTE E IMMAGINE Grafico 10 Tav.3 figura e sfondo Pagliarulo Veronica
2022-12-01 ARTE E IMMAGINE Grafico 7/8 Tav.1 Punto e linea Pagliarulo Veronica
2022-11-30 MUSICA Orale 7 Verifica di carattere teorico. Interrogazione su tutto il programma svolto finora. Cataldo Francesco
2022-11-24 ITALIANO Scritto 8.5 Fonologia e ortografia Rapalino Lara
2022-11-23 TECNOLOGIA e INFORMATICA Grafico 6.5 Pavarin Maria Luisa
2022-11-23 MUSICA Orale 7,5 Verifica di carattere teorico. Interrogazione su tutto il programma svolto finora. Cataldo Francesco
2022-11-18 MATEMATICA Grafico 8,5 Verifica sulle equivalenze e le operazioni con le misure del tempo Micela Silvia
2022-11-16 TECNOLOGIA e INFORMATICA Grafico 7 Pavarin Maria Luisa
2022-11-10 ARTE E IMMAGINE Grafico 8 Poster per la pace Pagliarulo Veronica
2022-11-09 LINGUA STRANIERA INGLESE Scritto 8,5 Test units 1 e 2 Barbero Daniela
Defaults to current year and period.
To select a different year or period, run:
# allowed values: FT01 and FT02
axios --period FT02 grades list
# the year classes started
axios --year 2021 grades list
# you can combine them, of course
axios --year 2021 --period FT01
To format the output in JSON or NDJSON, run:
$ axios --output-format json grades list
[
{
"date": "2023-03-23",
"subject": "ARTE E IMMAGINE",
"kind": "Grafico",
"value": "9",
"teacher": "Pagliarulo Veronica",
"comment": "Concorso LAV"
},
{
"date": "2023-03-20",
"subject": "STORIA",
"kind": "Orale",
"value": "10",
"teacher": "Novelli Cristina",
"comment": ""
}
]
$ axios --output-format ndjson grades list
{"date": "2023-03-23", "subject": "ARTE E IMMAGINE", "kind": "Grafico", "value": "9", "teacher": "Pagliarulo Veronica", "comment": "Concorso LAV"}
{"date": "2023-03-20", "subject": "STORIA", "kind": "Orale", "value": "10", "teacher": "Novelli Cristina", "comment": ""}
For help, run:
axios --help
You can also use:
python -m axios --help
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd axios
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Project details
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
File details
Details for the file axios-0.4.0.tar.gz
.
File metadata
- Download URL: axios-0.4.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ead76efd427e94ccc672e203a2b19fcbf4aafc4b8fc7060105f492f5be18a2 |
|
MD5 | 2c1563aecbfe4a9cd95cdc7f22570329 |
|
BLAKE2b-256 | 489421ff5540d5a618dd9d10875b7297131d58ebd55b8a96a0622df9f90548a5 |
File details
Details for the file axios-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: axios-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7002053ea2f1006ee9d691deb36b2411119479b675e9630a5da943b03b1ff52 |
|
MD5 | baeef771fb24e978c485105ccf541128 |
|
BLAKE2b-256 | f98b26c598e8971ee75e14479db4815391e54517a2245a7b4a644107984e9ce0 |