Giter Club home page Giter Club logo

hust-gpa's Introduction

HUST-GPA

建议使用可信电子成绩平台进行查询,方便快捷又准确,实乃最佳之选

华中科技大学 GPA计算

包括

  • 华中科技大学算法

  • 标准算法

  • 北大算法

使用方法

若在运行过程中遇到问题请放心提出issue

hub系统打印成绩, excel格式, 不要分页(由于分页可能会缺失最后的备注而无法判断是否是公选), 2003或者2007均可, 支持单学期以及总成绩(打印的时候选择就好)

python HUST-GPA.py path_to_your_excel

输出三种计算方法下的GPA

并在脚本所在文件夹创建名为result.json的文件,包括所有课程信息以及最终的计算结果(期中subGPA只在非公选课以及学分为零的课程如社会实践等,且成绩为数字才为正常值,否则各项为空字符串)

{
    "course_info" :[
        {
            "course": "courseName",
            "grade": "gradeValue",
            "credit": 1.0,
            "subGPA": {
              "HUST": 0,
              "Standard": 0,
              "PKU": 0
            },
            "year": "1",
            "is_optional": false
        },
        {
        
        }, 
		{
            
        },
    ],
	"GPA": {
        "HUST": 2.0,
        "Standard": 2.0,
        "PKU": 2.0
    }
}

依赖

pandas

numpy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.