Skip to content

HackerSpace-PESU/pesuacademy-py

Repository files navigation

pesuacademy-py

PyPI GitHub Release GitHub Tag PyPI - Status PyPI - Python Version

GitHub commit activity GitHub last commit GitHub commits since latest release

black.yml python-package-pip.yml python-publish.yml build-docs.yml

Python wrapper and APIs for the PESU Academy website.

The wrapper provides read-only access to all the pages and information accessible on the PESU Academy website. Without authentication, the wrapper will only be able to fetch details from the Know Your Class and Section page.

⚠️ Warning: This is not an official API and is not endorsed by PES University. Use at your own risk.

Installation

Installing from pip

pip install pesuacademy

Installing from source

git clone https://github.com/HackerSpace-PESU/pesuacademy-py
cd pesuacademy-py
python setup.py install

Usage

from pesuacademy import PESUAcademy

p = PESUAcademy("PRN_or_SRN", "password")
# p = PESUAcademy() # Without authentication: can only fetch details from the `Know Your Class and Section` page
profile = p.profile()
courses = p.courses(semester=2)
attendance = p.attendance()