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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for buptmw-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d16d38f10bc877c3fffcdc313979936d15399a673a43778915ab380a18070f15
MD5 4ea8a74d388e8d1a789b31153f358e7c
BLAKE2b-256 18473ff488a96ff09610458b681da76c86352004e9c2105dbd6bda355e4b2f8f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for BUPTmw-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9156c86e0f83d80adc8c7b4411d66f88068a5f0ea1c94870514cefd1ce9a0e0d
MD5 671093f2d2c621ff34785b2bf48fc42f
BLAKE2b-256 bb48d59911bc263d1596adc1fa8c23b7b1c032823b7e5e1e6251c4e54eddbf25

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