Skip to main content

HustPass support for Python-Requests

Project description

HustAuth

HustPassLogo

This project provides HustPass support for Requests

Variation of HustLogin

Installation

pip install requests-hustauth

Dependency

(automatically handled by PIP)

Requests
Pillow
numpy
pycryptodome
fake_useragent

Usage

example.py

import requests
from requests_hustauth import HustAuth

session = requests.Session()
hust_auth = HustAuth('USERID','PASSWORD')

resp = session.get('http://m.hust.edu.cn/wechat/apps_center.jsp',auth=hust_auth)
print(resp.text)

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

requests_hustauth-1.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

requests_hustauth-1.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file requests_hustauth-1.0.1.tar.gz.

File metadata

  • Download URL: requests_hustauth-1.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for requests_hustauth-1.0.1.tar.gz
Algorithm Hash digest
SHA256 524107655127342f6233069464013c551eef89a41c03c49033245e2ca42f18f0
MD5 0c6cdbe38bbcec5b068ac5031c63d671
BLAKE2b-256 0f5adfa72adf4a674a1d54083633b213195832f16f54bb15e6a5c2a018e309bd

See more details on using hashes here.

Provenance

File details

Details for the file requests_hustauth-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for requests_hustauth-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1258e1e3259cf14de00672d9b85a1a00416e9a7613eb39f9e0601af67773d42
MD5 5d80f33d2b524fc230d7c10cefb3ac4a
BLAKE2b-256 5cf607018d7b0ba16d777c074cb4427393fed7005acc6ffbccd22254f31f58b9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page