Skip to main content

respysive-slide

PyPI CI Docs

Interactive HTML presentations written in Python. Slides take text, Markdown, LaTeX, images, Plotly, Altair and Matplotlib charts, and maps, laid out on a Bootstrap grid. A deck is a single HTML file that opens in any browser, and it exports to PDF and to PowerPoint with editable text and charts.

Four slides of the showcase deck

See the showcase deck, made with this script · Documentation · Gallery · Changelog

Installation

pip install respysive-slide

PDF and PowerPoint exports render the slides with headless Chromium:

pip install "respysive-slide[pptx]"
python -m playwright install chromium

respysive-slide requires Python 3.10 or later.

Example

import plotly.express as px
from respysive import Presentation, Slide

df = px.data.gapminder().query("year == 2007")
fig = px.scatter(df, x="gdpPercap", y="lifeExp", size="pop", color="continent",
                 hover_name="country", log_x=True, size_max=45)

title = Slide(center=True)
title.add_title_page({"title": "World health", "subtitle": "Gapminder data, 2007"})

chart = Slide()
chart.add_title("Life expectancy and income")
chart.add_content([fig, "Each bubble is a country, sized by its population."], columns=[8, 4])
chart.add_notes("Start with the cluster of African countries on the left.")

deck = Presentation()
deck.add_slide([title, chart])
deck.save_html("world_health.html", theme="sober")
deck.save_pdf("world_health.pdf", theme="sober")
deck.save_pptx("world_health.pptx", theme="sober")

Open world_health.html in a browser: the arrow keys move between slides and S opens the speaker view.

Features

  • Content: add_content detects the type of each item (Markdown, HTML, LaTeX, images, videos, Plotly, Altair, Matplotlib, pandas tables) and places the items side by side. Cards, title pages, and nested layouts with Row and Column.
  • Maps: MapLibre web maps (markers, proportional circles, flows, choropleths) without writing JavaScript, and thematic SVG maps drawn in Python with mappyng (pip install mappyng-svg).
  • Presenting: fragments, vertical slides, speaker view with notes, overview, touch navigation.
  • Fitting: slides have a fixed size, and content taller than the slide is fitted to it. check() reports the slides whose text became too small.
  • Themes: sober, science and corporate, which also colour the charts. Reveal.js themes and custom CSS work too.
  • Exports: PDF with vector text and charts, PowerPoint with editable text and native charts for simple Plotly figures, and offline HTML files that embed every library.

Upgrading from version 1

Most scripts run unchanged. The migration guide lists what differs.

License

MIT

Metadata

Release files for respysive-slide 2.0.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 respysive-slide 2.0.1
File Size Uploaded Provenance Actions
respysive_slide-2.0.1.tar.gz 102.7 kB With provenance Details for respysive_slide-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for respysive-slide 2.0.1
File Interpreter ABI Platform Actions
respysive_slide-2.0.1-py3-none-any.whl Python 3 none any Details for respysive_slide-2.0.1-py3-none-any.whl

Total release size: 224.2 kB

Release files / respysive_slide-2.0.1.tar.gz

Download URL respysive_slide-2.0.1.tar.gz
Size 102.7 kB
Tags Source
SHA-256 checksum
How to use checksums
828e7fec06bda8ef3a1ff879131025be9b034fb2d09c7bb15293e1028e4d2e13
BLAKE2b-256 checksum
How to use checksums
8489ad4dc64bcf70328f8f43c905de132561043814b198930dc7092237d19544
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 Oct 31, 2026.

Transparency log

Release files / respysive_slide-2.0.1-py3-none-any.whl

Download URL respysive_slide-2.0.1-py3-none-any.whl
Size 121.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc0686a4af0d78e3b3678094ff4dfdfaf4cffc933223c147b84bbfdc7fbc02ad
BLAKE2b-256 checksum
How to use checksums
0d3545dc243fffefcd63231cb12db4299bc5fe8dabe70f7fd4069eb6c4a58aaf
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 Oct 31, 2026.

Transparency log

Security for respysive-slide 2.0.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 respysive_slide-2.0.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 Oct 31, 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.

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