Skip to content

GGQQmax/iclass-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iclass-cli

View the to-do list, submit your homework, and achieve more in your terminal!


Installation

Prerequisites

  • Python 3.10 and before 3.14*
  • Python venv virtual environments

Auto download Script

bash <(curl -fsSL https://raw.githubusercontent.com/GGQQmax/iclass-cli/main/IclassCLI_setup.sh)

Manually install

Git clone the project

git clone https://github.com/GGQQmax/iclass-cli.git

Environment variables set up

add .env to the project folder

USERNAMEID="YOURSTUDENTID"
PASSWORD="YOURSSOPASSWORD"

Set up python virtual environments and install package

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

how to build to a exe

pip install -r requirements.txt
pip install windows-curses #Might need if you using windows
pip install pyinstaller
pyinstaller main.py --onefile --name iclassCLI --add-data '.env:.'

Some pro tip

quick upload file by using grep

ls | grep "grep fillter" | iclassCLI -u

Or you are doing wth your are

ls | grep HWK10 | iclassCLI -u --raw | iclassCLI -s -i "$(iclassCLI --todo | awk '/HWK10/{print $NF}')" -ids -

I think you got the idea

About

(WIP)View the to-do list, submit your homework, and achieve more in your terminal!

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors