Skip to main content

Fudan UIS Login Utilities and More

Project description

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

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

fudan_utils-0.1.8.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

fudan_utils-0.1.8-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

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