A lightweight Python CLI client for digitalesregister.it.
- Clone or download this repository.
- Set up a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # Linux/macOS
.\venv\Scripts\activate # Windows- Install dependencies:
pip install requests python-dotenv- Edit the
.env.examplefile and fill in your username, password, and school subdomain. - Rename the file to
.envso the script can detect it:
# Linux / macOS
mv .env.example .env
# Windows
ren .env.example .envIf lesson or teacher names are too long for your terminal, you can map them to shorter aliases inside the short_lesson_name or short_teacher_name dictionaries within the digcli.py script.
Run the script using Python: python digcli.py [options]
* python digcli.py -c : View the calendar for the current week.
* python digcli.py -f : Fetch general info (grades, absences).
* python digcli.py -d 5 : Show the dashboard for the next 5 days.