yuki-js / g-checker-for-itf

ITF の卒業要件を確認したい。(一部学類年度だけ)

Home Page:https://oshamashama.github.io/g-checker-for-itf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

g-checker-for-itf

ITF の卒業要件を確認したい。(今は coins19/coins20/coins21, mast20 とか)

提供されているプログラム、またそのプログラムによる実行結果に関する保証はできかねます。

Install

Clone Repository

git clone --depth 1 https://github.com/oshamashama/g-checker-for-itf
cd g-checker-for-itf
pip install .

pip install

pip install g-checker-for-itf

のいずれかでgchkコマンドをインストールできます。 今時点で要件確認のためのファイルをこのリポジトリからダウンロードしてくる必要があるため、 Clone によるインストールを推奨します。

Get Requirements File

wget https://raw.githubusercontent.com/oshamashama/g-checker-for-itf/main/coins20.json

などで卒業要件を定義したファイルをダウンロードしてきてください。

Usage

gchk -i target_csv_file -r requirements_json_file

で実行できます。

target csv file は twins の成績ページからダウンロードしたファイル (UTF, CSV) を想定しています。

$ gchk
usage: gchk [-h] [-i INPUT] [-r REQUIREMENTS] [-g] [-d] [-n] [-s] [-e] [-V]

A checker if your credits meet the graduation requirements or not.

optional arguments:
  -h, --help                  show this help message and exit
  -i INPUT, --input INPUT     target file from twins (UTF-8, CSV) (default: sample.csv)
  -r REQUIREMENTS, --requirements REQUIREMENTS
                              requirements file (default: coins20.json)
  -g, --gpa                   print GPA (default: False)
  -d, --drop                  print drop credit (default: True)
  -n, --name                  print name and id (default: False)
  -s, --save                  save as JSON (default: False)
  -e, --expect                count 履修中 (default: False)
  -V, --version               show program's version number and exit

Test

gchk -i sample.csv -r coins20.json

で予め用意されたサンプルで動作を確認することが出来ます。

wget https://raw.githubusercontent.com/oshamashama/g-checker-for-itf/main/coins20.json
wget https://raw.githubusercontent.com/oshamashama/g-checker-for-itf/main/sample.csv

Viewer

現状、このリポジトリを clone することが必要です。

gchk -s -i target_csv_file
cp saved_file ~/g-checker-for-itf/src/grade.json
cd tani
npm install
npm start

Screenshots

イメージ画像(CUI)

イメージ画像(GUI)

About

ITF の卒業要件を確認したい。(一部学類年度だけ)

https://oshamashama.github.io/g-checker-for-itf/

License:MIT License


Languages

Language:Python 59.8%Language:TypeScript 20.5%Language:CSS 8.5%Language:HTML 7.4%Language:Shell 3.9%