A command-line tool for managing Canvas courses, fetching assignments, and grades.
Project description
Canvas Pilot
A command-line tool for managing your Canvas courses, fetching assignments, and grades.
Installation
To install the Canvas CLI, run the following command:
pip install canvas-pilot
Configuration
Before using the Canvas CLI, you'll need to configure it with your Canvas API key and domain. To do this, run the following command and follow the prompts:
canvas configure
You can reconfigure the Canvas API key and domain at any time by running:
canvas reconfigure
Usage
Fetch Assignments
To fetch assignments for all your Canvas courses, run:
canvas fetch assignments
To fetch assignments for a specific course, provide the course ID:
canvas fetch assignments <course_id>
To export the assignments/exams deadlines to an .ics
file, add the -e
or --export
flag:
canvas fetch assignments --export
Fetch Grades
To fetch grades for all your Canvas courses, run:
canvas fetch grades
To fetch grades for a specific course, provide the course ID:
canvas fetch grades <course_id>
To export the grades to a .csv
file, add the -e
or --export
flag:
canvas fetch grades --export
Help
To display help information for the command-line interface and its subcommands, run:
canvas --help
Contributing
Contributions are welcome! If you find a bug, have a feature request, or want to improve the Canvas CLI, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
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 canvas-pilot-0.1.0.tar.gz
.
File metadata
- Download URL: canvas-pilot-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe7b3e256246e4cf1a3565790ec09e1b2f32e88d79c36fa384b35ddcaaf4c56c |
|
MD5 | 6b15d8965cc4eadbc929053449c4b13b |
|
BLAKE2b-256 | 54326ca0a669911b71b555a431dbbbf75922dc18d8c02c104d526bfc69e01c6d |
File details
Details for the file canvas_pilot-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: canvas_pilot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a33a388b0a2ca0c3cb1c99d9c5247ba789aa16b67b490629349379c9b8f8c1b |
|
MD5 | e66a0500a0a89c77d3b92785fae02e4d |
|
BLAKE2b-256 | 0b7326e3dcb2533ca86c357d3ccce4d53b2a1bc2ae662acd88f216a0df326cf8 |