ykpstools

Tools & utilities associated with online logins of YKPS.


License
MIT
Install
pip install ykpstools==1.0.1.1

Documentation

YKPS Tools

YKPS Tools is a package containing tools & utilities associated with online logins of YKPS. It is distributed under the MIT License. YKPS Tools requires a distribution of Python 3.x installed. It is also published on PyPI.

Features

YKPS Tools has the following tools:

  • Authorize to school Wi-Fi
  • Request to Powerschool Learning
  • Request to Powerschool
  • Request to Outlook

Installation

Dependencies

YKPS Tools depends on (See Insights / Dependency graph):

Installation on Python

YKPS Tools can be installed using pip in shell:

python3 -m pip install --upgrade ykpstools

Or, to get the newest version of YKPS Tools (recommended since it is still at an early stage of development):

python3 -m pip install --upgrade git+https://github.com/HanwenZhu/ykpstools.git

Or, with local installation:

git clone https://github.com/HanwenZhu/ykpstools.git
cd ykpstools
python3 -m pip install --upgrade -e .

Demonstration

Test

To test what the repository can do:

python3 -m ykpstools

Example

In Python shell:

>>> import ykpstools as yt
>>>
>>> # Login to Powerschool Learning
>>> page = yt.powerschool_learning(prompt=True)
>>> # Print html
>>> page.soup().find('div', id='navbarowner').get_text(strip=True)
*Your name should appear here*