BUPT Session
北邮统一登录网关 Session。用于需要登录的网络请求。
Usage
from bupt_session_py import Session
session = Session()
try:
session.login('2022114514', 'yjsp1919810')
# 进行一些北邮服务的网络请求
# 这里以查询电费服务为例子
# (More detail: https://github.com/jerrymakesjelly/electricity-monitor)
session.post('https://app.bupt.edu.cn/buptdf/wap/default/chong', allow_redirects=False)
session.post('other url')
# ...
except Exception as e:
print(e)
Metadata
Release files for bupt-session 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bupt_session-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for bupt_session-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bupt_session-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bupt_session-0.1.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / bupt_session-0.1.0.tar.gz
| Download URL | bupt_session-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a300517651d006f7a51d2859877ceb7e17628fbde7e454939993456d734093d0
|
|
BLAKE2b-256 checksum How to use checksums |
5b2dab03b0ee0a81c93279712fbef1504822bd0d7422ddb99381cc9af8465346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / bupt_session-0.1.0-py3-none-any.whl
| Download URL | bupt_session-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84265c90dc6f42eb41f66c597cfc0290150a792b9ae2f3471dff7c3240f8e75a
|
|
BLAKE2b-256 checksum How to use checksums |
a21c802d71c47ac64da1e5b9a6120c25688abbf191649be61c4488771661dabf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for bupt-session 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.