用于中山大学珠海校区羽毛球场的预订
Project description
说明
此脚本专用于中山大学珠海校区羽毛球场的预订,理论上更改文件中的部分参数可实现预订其他场地,请自行测试
使用步骤
安装
python -m pip install --upgrade sysubadminton
修改配置文件
新建 config.ini,填入想要的配置,以及用户名和密码
[badminton]
; 下面写入希望预订的场地,按顺序进行预订,如 1, 2, 3
stock_name = 7, 8, 6, 9, 4, 3, 2, 1, 5
; 下面写入需要预订的时间,按顺序进行预订,如希望预订 16-17, 17-18 时,写入 16, 17
stock_time = 19, 20, 18, 17
; 下面写入预订的日期,如 2020-12-04,留空为程序运行日期的后天(T+2),通常留空即可
stock_date =
; 下面写入预订的顺序,如果优先满足场地,即尽可能订同一场地的不同时间段,则输入 name
; 如果优先满足时间,即尽可能订同一时间段的不同场地,则输入 time
first = name
; 下面写入每个时间段需要的场地数,默认不限制
stock_number = 99
netid =
password =
运行
badminton config.ini
查看完整指令
badminton -h
可自行指定开始预订时间等。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sysubadminton-0.4.7.tar.gz
(9.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sysubadminton-0.4.7.tar.gz.
File metadata
- Download URL: sysubadminton-0.4.7.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a75b7d1d033b826eae86a9d640effd76195d6e5ef53af537be4131c42052ad7
|
|
| MD5 |
f8ec8748459a7efc6ecbb2281feda994
|
|
| BLAKE2b-256 |
c2a1b8ffb4cb9abd8741ea5eda9c77a5c61621ef53ea44f777f22c1747d2460b
|
File details
Details for the file sysubadminton-0.4.7-py3-none-any.whl.
File metadata
- Download URL: sysubadminton-0.4.7-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28391c57e8af9f24651a14e61c9d9f672ea7b658166cc5f358275a05db6df5fe
|
|
| MD5 |
99c27be05d7e842d324c74dc587b2495
|
|
| BLAKE2b-256 |
021c205da2cd1472d986e364da1e1d2acb58baa0adf96de5d2247da491b1cebb
|