Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://oshamashama.github.io/g-checker-for-itf/
ITF の卒業要件を確認したい。(一部学類年度だけ)
https://oshamashama.github.io/g-checker-for-itf/
Last synced: about 2 months ago
JSON representation
ITF の卒業要件を確認したい。(一部学類年度だけ)
- Host: GitHub
- URL: https://oshamashama.github.io/g-checker-for-itf/
- Owner: oshamashama
- License: mit
- Created: 2022-01-31T20:25:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T06:24:16.000Z (3 months ago)
- Last Synced: 2024-05-02T06:06:11.237Z (2 months ago)
- Language: Python
- Homepage: https://oshamashama.github.io/g-checker-for-itf/
- Size: 3.37 MB
- Stars: 19
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-tsukuba - そつぎょうできるかな - twinsからエクスポートしたcsvを読み込み、卒業や進級の履修要件に沿って単位修得ができているか確認できるツール。 (シチュエーション別 / 卒業要件、移行要件確認)
README
# g-checker-for-itf
ITF の卒業要件を確認したい。(今は coins19/coins20/coins21, mast20 とか)
提供されているプログラム、またそのプログラムによる実行結果に関する保証はできかねます。
## Install
### Clone Repository
```bash
git clone --depth 1 https://github.com/oshamashama/g-checker-for-itf
cd g-checker-for-itf
pip install ./pycli
```### pip install
```bash
pip install g-checker-for-itf
```のいずれかで`gchk`コマンドをインストールできます。
今時点で要件確認のためのファイルをこのリポジトリからダウンロードしてくる必要があるため、 Clone によるインストールを推奨します。#### Get Requirements File
```bash
wget https://raw.githubusercontent.com/oshamashama/g-checker-for-itf/main/coins20.json
```などで卒業要件を定義したファイルをダウンロードしてきてください。
## Usage
```bash
gchk -i target_csv_file -r requirements_json_file
```で実行できます。
`target csv file` は twins の成績ページからダウンロードしたファイル (UTF, CSV) を想定しています。
```shellsession
$ 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
```bash
gchk -i sample.csv -r coins20.json
```で予め用意されたサンプルで動作を確認することが出来ます。
```bash
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 することが必要です。
```bash
gchk -s -i target_csv_file
cp saved_file ~/g-checker-for-itf/src/grade.json
cd tani
npm install
npm start
```## Screenshots
![]()
![]()