Skip to main content

codecov

Getting Started

Create a file ~/.canvas/credentials.ini and add the client_id and client_secret credentials for each of your Canvas instances. You can define your default host with is_default=true. If no default is explicitly defined, the Canvas CLI will use the first instance in the file as the default for each of the CLI commands.

Example:

[my-canvas-instance]
client_id=myclientid
client_secret=myclientsecret

[my-dev-canvas-instance]
client_id=devclientid
client_secret=devclientsecret
is_default=true

[localhost]
client_id=localclientid
client_secret=localclientsecret

Next, you're ready to install canvas.

pip install canvas

Usage:

$ canvas [OPTIONS] COMMAND [ARGS]...

Options:

  • --version
  • --help: Show this message and exit.

Commands:

  • init: Create a new plugin
  • install: Install a plugin into a Canvas instance
  • uninstall: Uninstall a plugin from a Canvas instance
  • disable: Disable a plugin from a Canvas instance
  • enable: Enable a plugin from a Canvas instance
  • list: List all plugins from a Canvas instance
  • validate-manifest: Validate the Canvas Manifest json file
  • logs: Listen and print log streams from a Canvas instance

canvas init

Create a new plugin.

Usage:

$ canvas init [OPTIONS]

Options:

  • --help: Show this message and exit.

canvas install

Install a plugin into a Canvas instance.

Usage:

$ canvas install [OPTIONS] PLUGIN_NAME

Arguments:

  • PLUGIN_NAME: Path to plugin to install [required]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

canvas uninstall

Uninstall a plugin from a Canvas instance..

Usage:

$ canvas uninstall [OPTIONS] NAME

Arguments:

  • NAME: Plugin name to delete [required]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

canvas enable

Enable a plugin from a Canvas instance..

Usage:

$ canvas enable [OPTIONS] NAME

Arguments:

  • NAME: Plugin name to enable [required]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

canvas disable

Disable a plugin from a Canvas instance..

Usage:

$ canvas disable [OPTIONS] NAME

Arguments:

  • NAME: Plugin name to disable [required]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

canvas list

List all plugins from a Canvas instance.

Usage:

$ canvas list [OPTIONS]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

canvas validate-manifest

Validate the Canvas Manifest json file.

Usage:

$ canvas validate-manifest [OPTIONS] PACKAGE

Arguments:

  • PLUGIN_NAME: Path to plugin to install [required]

Options:

  • --help: Show this message and exit.

canvas logs

Listens and prints log streams from the instance.

Usage:

$ canvas logs [OPTIONS]

Options:

  • --host TEXT: Canvas instance to connect to
  • --help: Show this message and exit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canvas-0.192.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canvas-0.192.0-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file canvas-0.192.0.tar.gz.

File metadata

  • Download URL: canvas-0.192.0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for canvas-0.192.0.tar.gz
Algorithm Hash digest
SHA256 56955976d2c7b2318bf057a3d12580e999163e2c109b748a125029d94f99b8eb
MD5 aa7e3e1e87d102698ccdc4b4b4767d5f
BLAKE2b-256 8d2e0af0254f81c48cb65f1f6f064b8ec9fafd63fe9468ccdfba277785f6c7e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for canvas-0.192.0.tar.gz:

Publisher: publish-and-release.yml on canvas-medical/canvas-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file canvas-0.192.0-py3-none-any.whl.

File metadata

  • Download URL: canvas-0.192.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for canvas-0.192.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5480f821a253853b6465d82e1a363e95a19f4b29c74b3517b9cd19e291ff1952
MD5 a3b5bf8a11f7b79e8b12fd2cf76ee381
BLAKE2b-256 0d4c0f8b58fcddade0aa806b7dfb2c6ab45c8bd7abb09948cb52f6d6dbdc8768

See more details on using hashes here.

Provenance

The following attestation bundles were made for canvas-0.192.0-py3-none-any.whl:

Publisher: publish-and-release.yml on canvas-medical/canvas-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page