A Python package that allows for quick use of USTC network services.
- Central Authentication Service: Simplifies login and session management.
- Educational System: Access course table, grades, and course planning tools.
- Young Platform: Manage Second Classes.
Install PyUSTC via pip:
pip install pyustc
Here's an example of logging in via the CAS for USTC:
from pyustc import CASClient
client = CASClient()
client.login_by_pwd('username', 'password')
For more examples and detailed documentation, see here.
We welcome contributions of all types! Submit issues, code, or suggestions via GitHub.