Skip to main content

Help BUPT students access school system with python.

Project description

BUPT_Middleware

English | 中文

This project aims to help BUPT students simply access school systems with python, without multifarious process.

Ability

Download

pip install buptmw

Usage

General

Whenever you get a instance, you can use it as a requests.Session, any additional operation like tiresome authentication can be omitted for you.

CAS

from buptmw import BUPT_Auth

auth = {
    "username": "yourUsername",
    "password": "yourPassword"
}
user = BUPT_Auth(cas=auth)

Ucloud

Necessary: Get CAS instance ahead of Ucloud.

from buptmw import BUPT_Auth

auth = {
    "username": "yourUsername",
    "password": "yourPassword"
}
user = BUPT_Auth(cas=auth)
ucloud = user.get_Ucloud()

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

buptmw-0.1.4.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

buptmw-0.1.4-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file buptmw-0.1.4.tar.gz.

File metadata

  • Download URL: buptmw-0.1.4.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for buptmw-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a13fdd44d355c51d373f789ee35bee38572c1847f047a50fd041e7bdeeaa1dd0
MD5 c933a07728b60e37d21fd464068b1b5e
BLAKE2b-256 0278a07afb96fc11b4b8634f1e3e1290fed1647a9e01fc4fe12dea61c9913077

See more details on using hashes here.

File details

Details for the file buptmw-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: buptmw-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for buptmw-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c38c85f45bddb23267a4caa208f3005ea776d0099bc5e67b4f901c31263e5869
MD5 ad97c07318bcf5528735865bbe231498
BLAKE2b-256 f3efa715d105877e4bb7c04b79a7f8dff0763d8f9962313e1aaff41ea2a61668

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