Skip to main content

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 GPLv3+ 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

canvas-pilot-0.1.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

canvas_pilot-0.1.1-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page