Skip to main content

Super-fast and lightweight Python wrapper for PESU Academy.

Project description

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: 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()

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

pesuacademy-1.0.0.tar.gz (76.5 kB view details)

Uploaded Source

Built Distribution

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

pesuacademy-1.0.0-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file pesuacademy-1.0.0.tar.gz.

File metadata

  • Download URL: pesuacademy-1.0.0.tar.gz
  • Upload date:
  • Size: 76.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pesuacademy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3849b958c51e6b9b75566c232f19351c270d6bdae02b3cfd0d5e3b5c96d64614
MD5 5faf7b798d1e8ae7a22a2467979b60ec
BLAKE2b-256 ab34f916e0a9b45aba7ddf32706571312a9538e72907db8076add07a328896ac

See more details on using hashes here.

File details

Details for the file pesuacademy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pesuacademy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pesuacademy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e1c6d092d704d3f333c7f5e7242d99413d20e369cb56235a29a35855805eba
MD5 4d5393eb14ac71d10df8081fc41593d1
BLAKE2b-256 a4ece5f4755b46a882649e04afe44c627572762999c72cd93ad2d21556bc2dc3

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