Skip to content

A Python package that allows for quick use of USTC network services

License

Notifications You must be signed in to change notification settings

USTC-XeF2/pyustc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyUSTC

pypi code size last commit commits since last release

A Python package that allows for quick use of USTC network services.

Features

  • Unified Identity Authentication System: Simplifies login and session management.
  • Educational System: Access course table, grades, and course planning tools.
  • Young Platform: Manage Second Classes.

Installation

Install PyUSTC via pip:

pip install pyustc

Quick Start

Here's an example of logging in via the UIAS:

from pyustc import Passport

passport = Passport()
passport.login('username', 'password')

Access your course table via the EduSystem module:

from pyustc import EduSystem

es = EduSystem(passport)
table = es.get_course_table()
for course in table.courses:
    print(course)

For more examples and detailed documentation, see here.

Contributing

We welcome contributions of all types! Submit issues, code, or suggestions via GitHub.

License

MIT

About

A Python package that allows for quick use of USTC network services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages