streamlit-pdf
A Streamlit component for viewing PDF files
Decision gist · record as of 2026-08-14
Yes. Low install friction, no runtime dependencies, active maintenance, permissive license, and zero known vulnerabilities make this a safe choice. Install it if you need to display PDFs in a Streamlit app. The only caveat is Alpha status—expect the API or behavior to evolve, though the current interface is straightforward.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Streamlit to be installed; streamlit-pdf is a component that extends Streamlit's functionality.
- Low friction installation as a wheel package.
- Actively maintained with recent releases; last commit 2026-08-14 and status marked active.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2025-11-18 (269 days) · last repo commit 2026-08-14 · 45,548 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 97,758 downloads/mo, #13,129 on PyPI
Alternatives
Verify before relying
pip install streamlit-pdf
import streamlit as st
st.pdf("https://example.com/document.pdf", height=600)- Whether st.pdf() is a direct method on the streamlit module or requires additional setup beyond import
- Performance characteristics when displaying large PDF files or many PDFs in a single app
- Browser compatibility and rendering engine used for PDF display
What it is and what it does
streamlit-pdf is a Streamlit component that embeds a PDF viewer directly into Streamlit web apps. It accepts PDFs from multiple sources—URLs, local file paths, file-like objects from st.file_uploader, or raw bytes—and renders them in an interactive viewer with a configurable height parameter (default 600 pixels). The component handles the rendering client-side, allowing users to scroll, zoom, and navigate through PDF documents without leaving the Streamlit app.
The package is lightweight with no runtime dependencies beyond Streamlit itself, making it straightforward to add to existing projects. It's designed for developers building document-viewing features into data apps, dashboards, or report generators. The component is in active development (Alpha status) and maintained by the Streamlit team.
Use it for
- Display uploaded PDF reports or documents in a Streamlit dashboard without requiring external file downloads
- Embed hosted PDF documentation or guides directly in a web app for inline reference
- Build a document review interface where users upload PDFs and view them side-by-side with analysis results
- Show generated PDF reports (e.g., from a data processing pipeline) immediately after creation
- Create a simple PDF viewer app for browsing local or remote document collections
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, no runtime dependencies, active maintenance, permissive license, and zero known vulnerabilities make this a safe choice. Install it if you need to display PDFs in a Streamlit app. The only caveat is Alpha status—expect the API or behavior to evolve, though the current interface is straightforward.
Install
streamlit-pdf on PyPI
Before you install
Low friction installation as a wheel package. Actively maintained with recent releases; last commit 2026-08-14 and status marked active. No runtime dependencies to manage.
Requires Streamlit to be installed; streamlit-pdf is a component that extends Streamlit's functionality.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install streamlit-pdf
import streamlit as st
st.pdf("https://example.com/document.pdf", height=600)
Verify before relying
- Whether st.pdf() is a direct method on the streamlit module or requires additional setup beyond import
- Performance characteristics when displaying large PDF files or many PDFs in a single app
- Browser compatibility and rendering engine used for PDF display
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 269 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,758 / month, #13,129 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Multimedia :: Graphics :: ViewersTopic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: streamlit_pdf-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “streamlit pdf viewer”
- streamlit-pdfAdds a PDF viewer component to Streamlit apps that displays PDF files…
- streamlit-pdf-viewerStreamlit component that renders PDF documents in web applications…
- gradio-pdfProvides a PDF display component for Gradio applications, allowing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also streamlit-feedback · streamlit-pdf-viewer · gradio-pdf · streamlit-notify · streamlit-embedcode · streamlit-card · st-annotated-text · streamlit-avatar · streamlit-echarts · streamlit-vertical-slider