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
Metadata
Release files for fudan-utils 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fudan_utils-0.1.8.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fudan_utils-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / fudan_utils-0.1.8.tar.gz
| Download URL | fudan_utils-0.1.8.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0773bbefb48c2651e7a7f9f6241aace6a108db7e2e8de10e626399d642757081
|
|
BLAKE2b-256 checksum How to use checksums |
a38f71086ad971fd62621524feec0838a87dbe5cc17058dd0cc944cfa1ffa0b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
|
Release files / fudan_utils-0.1.8-py3-none-any.whl
| Download URL | fudan_utils-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
507cfe4c36e4f364adf97c3e3b3f869183735efafcb929b2d38623659277d577
|
|
BLAKE2b-256 checksum How to use checksums |
a82a25038b7b74706ca1cfc7e33692b4b9a125ee3e7383664876f091c08578b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
|