Skip to main content

colab-slides

PyPI Python License: MIT Open In Colab

Show PowerPoint or Google Slides decks inside a Google Colab or Jupyter notebook by pasting a link.

Demo: running %slides in a notebook cell and flipping through the deck

Install (in Colab)

!pip install -q colab-slides

Use

%load_ext colab_slides

%slides https://docs.google.com/presentation/d/<ID>/edit      # Google Slides
%slides https://drive.google.com/file/d/<ID>/view             # .pptx in Drive
%slides https://example.com/talk.pptx                          # direct link
%slides /content/drive/MyDrive/deck.pptx                       # mounted Drive / uploaded file
%slides https://example.com/talk.pptx --local --width 1000     # force in-notebook rendering

Or from Python:

import colab_slides
colab_slides.show(url, mode="auto")   # "auto" | "embed" | "local"

Modes

Mode How it works Good for
embed Uses the Google Slides embed viewer or Microsoft Office Online in an iframe. Nothing to install. Keeps animations and transitions. Public links
local Downloads the file, converts it with LibreOffice → PDF → PNG inside the Colab VM, and shows a built-in slideshow. Private files (mounted Drive), uploaded files, links the online viewers can't open
auto (default) Uses embed when the link can be embedded, otherwise local —

The first local render installs LibreOffice in the Colab VM (about 1–2 minutes, once per runtime).

Slideshow controls (local mode): ← → / Space / PageUp/PageDown, Home/End, f for fullscreen, click the left or right part of a slide, or click a thumbnail.

Screenshots

Slideshow with thumbnails Fullscreen (press f)
Slideshow with thumbnails Fullscreen view
  • Google Slides (/edit links and "Publish to web" links)
  • Google Drive file links (shared as "Anyone with the link")
  • Dropbox share links
  • OneDrive / SharePoint share links (embed only)
  • Any direct URL to a .pptx, .ppt, .odp or .pdf
  • Local paths

Limits

  • local mode shows static images: animations, transitions, embedded video and audio aren't kept.
  • Fonts that aren't installed in the VM are replaced with similar ones, so layouts can shift slightly.
  • Office Online only opens files that are publicly downloadable over HTTPS.

License

MIT

Metadata

Release files for colab-slides 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colab-slides 0.1.1
File Size Uploaded Provenance Actions
colab_slides-0.1.1.tar.gz 10.0 kB With provenance Details for colab_slides-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for colab-slides 0.1.1
File Interpreter ABI Platform Actions
colab_slides-0.1.1-py3-none-any.whl Python 3 none any Details for colab_slides-0.1.1-py3-none-any.whl

Total release size: 19.4 kB

Release files / colab_slides-0.1.1.tar.gz

Download URL colab_slides-0.1.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3e2f4b7197a8edbd4ac9c43ea2036b95334673b4a9fd55bd9d5d428d7b5d3585
BLAKE2b-256 checksum
How to use checksums
50d108f8b9f2088795d58de40fa06f5979c3e25573a09a22c104692a653b64d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / colab_slides-0.1.1-py3-none-any.whl

Download URL colab_slides-0.1.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d297f1204ae9a1f9bc309438da62daac48a737eebaf44e0f996b15da5651bc68
BLAKE2b-256 checksum
How to use checksums
0d7af1020be0cbbb3d8b3867f79f4bfb9546e507a6287557bced2600221d5e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for colab-slides 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for colab_slides-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page