
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Utilities for interacting with Canvas using Python and the canvasapi.
pip install canvasutils
canvasutils
depends on the ipywidgets
packages. To make sure widgets render correctly in notebooks, you may need to enable the widgets extension in Jupyter following these instructions in the ipywidgets docs, in particular, follow these instructions if using Jupyter Lab.
.html
from with canvas.See the file pyproject.toml, under the section [tool.poetry.dependencies]
.
The submit module is made to be used within a Jupyter notebook (.ipynb file). See the provided example.ipynb. There are two available submission interfaces, widget-based drop-down menus, or text-based entries.
api_url = "https://canvas.instructure.com/"
course_code = 123456
from canvasutils.submit import submit
submit(course_code, api_url=api_url, token=False) # token=False allows you to enter token interactively
submit(course_code, api_url=api_url, token=False, no_widgets=True)
Note that this command will convert the most recently saved version of a notebook. You should save your notebook before executing this command in a cell.
from canvasutils.submit import convert_notebook
convert_notebook('example.ipynb', to_format="html")
Notebook successfully converted!
Contributions are welcomed and recognized. You can see a list of contributors in the contributors tab.
This package was originally based on this repository created by Emily Gubski and Steven Wolfram.
FAQs
Utilities for interacting with Canvas using Python and the canvasapi.
We found that canvasutils 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.