Skip to main content

A library for writing scripts to help with organising a Greek public school and interfacing with myschool.sch.gr - UNOFFICIAL

Project description

gr_school_helper

Βοηθητικές συναρτήσεις για ελληνικά σχολεία — Helper utilities for Greek schools.

Note: the library is intended for use strictly with the greek public school IT ecosystem (myschool.sch.gr etc.). As such all documentation below is in the greek language.

Συλλογή Python modules για την αυτοματοποίηση συνηθισμένων διαχειριστικών εργασιών σε ελληνικά σχολεία.


Εγκατάσταση

pip install gr_school_helper

Modules

sch

Σκόρπιες μικρές βοηθητικές συναρτήσεις ή ορισμοί, γίνεται imported από όλα τα άλλα

from gr_school_helper import sch

# Παράδειγμα - μενού επιλογής
```python
from gr_school_helper.myschool import sch
choices = ["ένα","δύο","τρία"]
choice = sch.set_option_select(choices)

### `myschool`

Αυτοματοποιεί την αλληλεπίδραση με την πλατφόρμα myschool.edu.gr μέσω διαχειριζόμενου προγράμματος περιήγησης Firefox. Το geckodriver κατεβαίνει και αποθηκεύεται αυτόματα την πρώτη φορά.

```python
from gr_school_helper.myschool import webriver

# Ως context manager (προτείνεται)
with webriver() as driver:
    driver.some_helper_function()

# Ή χειροκίνητα
driver = webriver()
driver.some_helper_function()
driver.close()

mailer

Αποστολή email μέσω SMTP. Χρήσιμο για αυτοματοποιημένες ειδοποιήσεις σε γονείς, προσωπικό ή μαθητές.

from gr_school_helper import mailer

# TODO: προσθήκη παραδείγματος χρήσης

rlab

Διάφορες βοηθητικές συναρτήσεις για δημιουργία αναφορών με το reportlab


Απαιτήσεις

  • Python >= 3.8
  • Εγκατεστημένος Firefox στο σύστημα (για το module myschool)
  • Πρόσβαση στο διαδίκτυο την πρώτη εκτέλεση (το geckodriver κατεβαίνει αυτόματα)

Εξαρτήσεις

Πακέτο Χρήση
selenium Αυτοματοποίηση προγράμματος περιήγησης
webdriver-manager Αυτόματη διαχείριση geckodriver
openpyxl Διαχείριση αρχείων Excel
babel Μορφοποίηση ημερομηνιών και locale
beaupy Terminal UI (prompts, spinners)
reportlab Δημιουργία PDF

Ρυθμίσεις

TODO: περιγραφή αρχείων ρυθμίσεων (π.χ. .ini αρχεία που διαβάζονται από το configparser).


Σημειώσεις

  • Η βιβλιοθήκη αναπτύχθηκε για χρήση με ελληνικά σχολικά πληροφοριακά συστήματα.
  • Το module myschool στοχεύει στην πλατφόρμα myschool.sch.gr. Αλλαγές στην πλατφόρμα ενδέχεται να απαιτήσουν ενημέρωση της βιβλιοθήκης.

Άδεια Χρήσης

GPLv3 (αρχείο LICENSE)


Συγγραφέας

shortmanikos shortmanikos@gmail.com

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

gr_sch_helper-0.1.6.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gr_sch_helper-0.1.6-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file gr_sch_helper-0.1.6.tar.gz.

File metadata

  • Download URL: gr_sch_helper-0.1.6.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for gr_sch_helper-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0eb0c8b053dbb7043ee45a149b98f3659936f7275c6065d28058f68c9c99dab5
MD5 5f55a6e1ab9f99a2f2dcc92ba4109820
BLAKE2b-256 ee29e26481b6f866e0e9ed5b6d6058ff507f8bdb420ccca0d9449326e9de150f

See more details on using hashes here.

File details

Details for the file gr_sch_helper-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: gr_sch_helper-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for gr_sch_helper-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc2decd582fe0d3f915018374a3fc85ac3ad82250cb77c8178e070ffbb32ac7
MD5 2d56a9b310a29baea82a780c40e8e75b
BLAKE2b-256 a6750dc3b5613e11f6e50dca20a1b2a75d397ea679246912cf782e702ce80052

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page