from .auth import using_refresh_token as using_refresh_token, using_uname_pword as using_uname_pword
from .user import get_student_dob as get_student_dob, get_student_email as get_student_email, get_student_first_name as get_student_first_name, get_student_gender as get_student_gender, get_student_info as get_student_info, get_student_last_name as get_student_last_name, get_student_number as get_student_number, get_student_phone_number as get_student_phone_number, get_student_photo as get_student_photo, get_student_uuid as get_student_uuid
from .organisations import organistations_return_names as organistations_return_names, organisations_return_search as organisations_return_search, organisations_return_uuid as organisations_return_uuid
from .organisations_json import organisations_list as organisations_list
from .schedule import get_schedule_formatted as get_schedule_formatted, get_schedule_today as get_schedule_today, get_schedule_week as get_schedule_week
from .grades import *

__all__ = ["get_student_info", "using_uname_pword", "using_refresh_token",]

import subprocess
import sys

def init():
    try:
        subprocess.run(
            [sys.executable, "-m", "playwright", "install", "--with-deps"],
            stdout=subprocess.DEVNULL,
            stderr=subprocess.DEVNULL,
            check=True
        )
    except Exception:
        pass