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.0.tar.gz (18.9 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.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: buptmw-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for buptmw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4e151c5a832c5a43667f4b94695679a51d316f598cd0aeed1b5ea8d74bc410b
MD5 513765a0b68e8f55a819326f154b1cfe
BLAKE2b-256 a4468899b5a38a5abd09ea41b8a28329775a76ecb5042dd64111afc16cb1b09b

See more details on using hashes here.

File details

Details for the file BUPTmw-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: BUPTmw-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for BUPTmw-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c269117031c8e8b6182a36ba079f2a5e20c1eb2167fb07221311b5f1d6414e0a
MD5 e14cf4fc84e6952e3ed256e83c8ad25c
BLAKE2b-256 0faeb0ab78eefefa3ffdae1da2ae6f7661de13cbae155da5f0629ff2789110df

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