An async python script that synchronizes files and folders across Canvas LMS Files and local, with extremely fast speed.
You may use one of the following
For Windows users, you can find binary(.exe) file here: https://github.com/BoYanZh/Canvas-Syncer/releases. Unzip it and double click canvassyncer.exe file to run, or calling it in shell.
pipx install canvassyncerIf you have not installed pipx yet, you may refer to https://pipx.pypa.io/stable/ or the search engine to get your pipx.
git clone https://github.com/BoYanZh/Canvas-Syncer && cd Canvas-Syncer
pip install -e .canvassyncerThen input the information following the guide.
Note:
courseCodeshould be something likeVG100,ECE4530JcourseIDshould be an integer. Check the canvas link of the course. e.g.courseID = 7for https://jicanvas.com/courses/7.
You can use canvassyncer -h to get help.
Optional arguments:
-h, --help show this help message and exit
-r recreate config file
-y confirm all prompts
--no-subfolder do not create a course code named subfolder when synchronizing files
-p PATH, --path PATH appoint config file path
-c CONNECTION, --connection CONNECTION
max connection count with server
-x PROXY, --proxy PROXY
download proxy
-V, --version show program's version number and exit
-d, --debug show debug information
--no-keep-older-version
do not keep older version
Open Your Canvas-Account-Approved Integrations-New Access Token
Or it can be easily achieved with https://github.com/BoYanZh/JI-Auth if you are a UM-SJTU-JI student.
Please feel free to create issues and pull requests.