Canvas-Syncer
An async python script that synchronizes files and folders across Canvas LMS 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 pipx
pipx install -U canvassyncer
If you have not installed pipx yet, you may refer to https://pipx.pypa.io/stable/ or the search engine to get your pipx.
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:
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
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.
Metadata
Release files for canvassyncer 2.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| canvassyncer-2.0.12.tar.gz | 9.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| canvassyncer-2.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / canvassyncer-2.0.12.tar.gz
| Download URL | canvassyncer-2.0.12.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d8a8e77854eb1404063814b1bfdbbd4b361413c1fb38f21f6e56f4bd372f7ca
|
|
BLAKE2b-256 checksum How to use checksums |
e857d3e789a7bc04684f5c4e9fe0984b59b14bab32a38c42b3e7512ef5e0ea31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / canvassyncer-2.0.12-py3-none-any.whl
| Download URL | canvassyncer-2.0.12-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b45b7a01363a042ccc1783b5d474d8e1c90f7e15b479d06e55c61e8cd432c146
|
|
BLAKE2b-256 checksum How to use checksums |
761dbd6b8483d6902ed7754607e71a8d69fff56dd159dadb7ffc2a69a9692985
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for canvassyncer 2.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.