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("Richer countries live longer")
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.3

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.3
File Size Uploaded Provenance Actions
respysive_slide-2.0.3.tar.gz 104.4 kB With provenance Details for respysive_slide-2.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 227.8 kB

Release files / respysive_slide-2.0.3.tar.gz

Download URL respysive_slide-2.0.3.tar.gz
Size 104.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2257333b04ec649e098e331cd6e43e115d1c1182f54bdf7a2f7a9fb636e4737c
BLAKE2b-256 checksum
How to use checksums
5bdcefa6747319dccee40bd6b3204de2914df17a7a9a68c10fa89eeb1826113f
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 11, 2026.

Transparency log

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

Download URL respysive_slide-2.0.3-py3-none-any.whl
Size 123.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06bbe3c345666630656b8234815b404119d0b698792ca35fea0119784bc38042
BLAKE2b-256 checksum
How to use checksums
e14ed6ebabc03bbd89a0a90c1819a182fdfd6e04f011f438d8a5783ed46d8f69
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 11, 2026.

Transparency log

Security for respysive-slide 2.0.3

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.3.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 11, 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