Fudan Utilities
Installation
pipx
This is the recommended installation method.
$ pipx install fudan-utils
pip
$ pip install fudan-utils
Supplying your credentials
Set the FUDAN_PID and FUDAN_PW environment variables to your Fudan ID and password.
export FUDAN_PID=18309990001
export FUDAN_PW='123456verysecure!!!'
List of utilities
fudan-grades
Logs in to jwfw.fudan.edu.cn and get grades from the site.
$ fudan-grades -h
usage: fudan-grades [-h]
Get Fudan grades from jwfw
options:
-h, --help show this help message and exit
-j, --json output in json format (default: False)
-t, --html-table output in html table format (default: False)
$ fudan-grades # don't forget to supply your credentials via environment variables
学年学期 课程代码 课程序号 课程名称 课程类别 学分 最终 绩点
----------- ---------- ------------- ---------- ------------ ------ ------ ------
2022-2023 2 GTHB139999 GTHB139999.01 毕业论文 专业必修课程 6 F 0
Develop
$ git clone https://github.com/tddschn/fudan-utils.git
$ cd fudan-utils
$ poetry install
See also
Credits
- https://github.com/FDUCSLG/pafd-automated for reverse engineering the login process
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fudan_utils-0.1.8.tar.gz
(5.8 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 fudan_utils-0.1.8.tar.gz.
File metadata
- Download URL: fudan_utils-0.1.8.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0773bbefb48c2651e7a7f9f6241aace6a108db7e2e8de10e626399d642757081
|
|
| MD5 |
d8106b7ab2116d25d05f0ad38424afa7
|
|
| BLAKE2b-256 |
a38f71086ad971fd62621524feec0838a87dbe5cc17058dd0cc944cfa1ffa0b9
|
File details
Details for the file fudan_utils-0.1.8-py3-none-any.whl.
File metadata
- Download URL: fudan_utils-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
507cfe4c36e4f364adf97c3e3b3f869183735efafcb929b2d38623659277d577
|
|
| MD5 |
e198e08438613eb4b46ac2b9e450f824
|
|
| BLAKE2b-256 |
a82a25038b7b74706ca1cfc7e33692b4b9a125ee3e7383664876f091c08578b7
|