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
Metadata
Release files for axios 0.4.0
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 |
|---|---|---|---|---|
| axios-0.4.0.tar.gz | 11.4 kB | Without provenance | Details for axios-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| axios-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for axios-0.4.0-py3-none-any.whl |
Total release size: 19.3 kB
Release files / axios-0.4.0.tar.gz
| Download URL | axios-0.4.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05ead76efd427e94ccc672e203a2b19fcbf4aafc4b8fc7060105f492f5be18a2
|
|
BLAKE2b-256 checksum How to use checksums |
489421ff5540d5a618dd9d10875b7297131d58ebd55b8a96a0622df9f90548a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / axios-0.4.0-py3-none-any.whl
| Download URL | axios-0.4.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7002053ea2f1006ee9d691deb36b2411119479b675e9630a5da943b03b1ff52
|
|
BLAKE2b-256 checksum How to use checksums |
f98b26c598e8971ee75e14479db4815391e54517a2245a7b4a644107984e9ce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for axios 0.4.0
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.