Coder Social home page Coder Social logo

lgtm-migrator / canvas-syncer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boyanzh/canvas-syncer

0.0 0.0 0.0 117 KB

An async python script that synchronizes files and folders across Canvas Files and local, with extremely fast speed.

License: MIT License

Python 100.00%

canvas-syncer's Introduction

Canvas-Syncer

MIT License CodeFactor PyPi Version

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:

  1. courseCode should be something like VG100, ECE4530J
  2. 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.

canvas-syncer's People

Contributors

boyanzh avatar zyayoung avatar xypb avatar wznmickey avatar scarlet1ssimo avatar walwan avatar jiayi-pan avatar ickc avatar yihuajack avatar waley-z avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.