Skip to main content

"A checker if your credits meet the graduation requirements or not (For Univ. Tsukuba students)"

Project description

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/tani/src/grade.json
cd tani
npm install
npm start

http://localhost:3001/ にアクセスすると確認できます。

Screenshots

イメージ画像(CUI) イメージ画像(GUI)

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

g-checker-for-itf-0.0.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file g-checker-for-itf-0.0.1.tar.gz.

File metadata

  • Download URL: g-checker-for-itf-0.0.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for g-checker-for-itf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b69c3d4d59133a21883ae0cdeccd55c08c9724a3c82e226a321eb15417a0b1cd
MD5 40a3fd0c3575abef94a6a379dbdeb1c6
BLAKE2b-256 9d869a01fbac5c7394adc75027bdcfc47c907ec757ebc27ff55197b7ee064134

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page