The async fast canavs file syncer.
Project description
Canvas-Syncer
An async python script that synchronizes files and folders across Canvas Files and local, with extremely fast speed.
Installation
You may use one of the following
Through Binary
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.
Through pip
pip3 install -U canvassyncer
If you have not installed pip
yet, you may refer to https://pip.pypa.io/en/stable/installing/ or the search engine to get your pip
.
From Source
git clone https://github.com/BoYanZh/Canvas-Syncer && cd Canvas-Syncer
pip install -e .
Usage
canvassyncer
Then input the information following the guide.
Note:
courseCode
should be something likeVG100
,ECE4530J
courseID
should be an integer. Check the canvas link of the course. e.g.courseID = 7
for 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
How to get your token?
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.
Contribution
Please feel free to create issues and pull requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file canvassyncer-2.0.11.tar.gz
.
File metadata
- Download URL: canvassyncer-2.0.11.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7266d864be1c85302a7d20adc5e539988fa06f12538321f8a890de74fb5c79f7 |
|
MD5 | 5d00c92d60f21e73791728b01c166dc7 |
|
BLAKE2b-256 | ef6daaa5fefdc613f410d78edc683e63a2a5e313cabce18bea4521c7000a54cc |
File details
Details for the file canvassyncer-2.0.11-py3-none-any.whl
.
File metadata
- Download URL: canvassyncer-2.0.11-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23256e10cf91af79e512c3e1500c5f740e21c686f50d11add806dd8a5c531e4f |
|
MD5 | 7b603f126a4535b2e389068e546e5412 |
|
BLAKE2b-256 | c86542ba127b3d5c2ff116b4c9f987fd3123f0a13abc50dc6358833a26c227c9 |