Skip to main content

Streamlit pdf reader component

Project description

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")

Project details


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.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

streamlit_pdf_reader-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_pdf_reader-0.0.2.tar.gz
  • Upload date:
  • Size: 3.0 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.2.tar.gz
Algorithm Hash digest
SHA256 101392f4fa41fb3f7febfec6067aaca96e70d17c73e1e2faada850acfebb685a
MD5 93e3cb4d3801af2a60339bfdc3555b4e
BLAKE2b-256 3dc8a15e5f11b8058de8dfd20e33908c538f83e442cc8482df1cef3118ac3e11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_pdf_reader-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f689e0705b25c852f21f82f35340fd5f59804df66126c81f1e9c4c0d3f0fd1b
MD5 50a189a8432d78984922e252b2b6e0c1
BLAKE2b-256 5431acd6b201d6d953c30aa55ca68b4d713176b30d778cdfec0d607536ce93ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page