Skip to main content

streamlit-pdf-reader

Streamlit pdf reader component

Installation instructions

pip install streamlit-pdf-reader

Usage instructions

pdf_reader(source)

source can be either a local pdf file, a pdf file url, or a BytesIO

Example

import streamlit as st
from streamlit_pdf_reader import pdf_reader

source1='./test.pdf'
pdf_reader(source1)

source2="https://www-fourier.ujf-grenoble.fr/~faure/enseignement/relativite/cours.pdf"
pdf_reader(source2)

source3=st.file_uploader("Choose a pdf file:")
if source3:
    pdf_reader(source3)

st.button("Rerun")

Download files

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

Source Distribution

streamlit_pdf_reader-0.0.5.tar.gz (953.1 kB view details)

Uploaded Source

Built Distribution

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

streamlit_pdf_reader-0.0.5-py3-none-any.whl (962.6 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_pdf_reader-0.0.5.tar.gz.

File metadata

  • Download URL: streamlit_pdf_reader-0.0.5.tar.gz
  • Upload date:
  • Size: 953.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for streamlit_pdf_reader-0.0.5.tar.gz
Algorithm Hash digest
SHA256 803e252060ffd1a58bdb783fe78b886d3185f18b96c5492f5a1e1e7c253f1031
MD5 afaa176dafa836c67636c82f5c2775b3
BLAKE2b-256 bdeb2e27dcd9db70d19401cf56d13831969d501ec81b64e3237d607a7cc3d204

See more details on using hashes here.

File details

Details for the file streamlit_pdf_reader-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_pdf_reader-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7f776badf66783ba148e823ab1c77a6aecd93a677e74c689b37c4b174b35b2e8
MD5 51b9afc2bad194fd8c8534ca9707dc8f
BLAKE2b-256 c236d89774e21549e625bb627887ab9bf35b637cfae188b97e4c6ba3023e3d7d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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