Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A command-line tool for managing Canvas courses, fetching assignments, and grades.
A command-line tool for managing your Canvas courses, fetching assignments, and grades.
To install the Canvas CLI, run the following command:
pip install canvas-pilot
Before using the Canvas CLI, you'll need to configure it with your Canvas API key and domain.
To retrieve your Canvas API key, follow these steps:
Important: Keep your API key safe and secure, like you would with a password. Don't share it with anyone.
Your Canvas domain is the URL you use to access Canvas. For example, if you access Canvas by navigating to https://canvas.<yourinstitution>.com
, then your Canvas domain is canvas.<yourinstitution>.com
.
Once you have your API key and domain, run the following command and follow the prompts to configure the Canvas CLI:
canvas configure
You can reconfigure the Canvas API key and domain at any time by running canvas configure
again. You will be prompted to update your keys.
To fetch the list of your Canvas courses, run:
canvas fetch courses
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
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
To display help information for the command-line interface and its subcommands, run:
canvas --help
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.
This project is licensed under the GPLv3+ License. See the LICENSE file for details.
FAQs
A command-line tool for managing Canvas courses, fetching assignments, and grades.
We found that canvas-pilot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.