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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_pdf_reader-0.0.3.tar.gz
  • Upload date:
  • Size: 953.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.3.tar.gz
Algorithm Hash digest
SHA256 eaa0d8ff2a109ee7eb8bad479baecbfe1a6a02fd1ba1d05a917557be9f497e1b
MD5 36420d2674f32be39071de7e6f31e974
BLAKE2b-256 017b1d33cc3f35c213004dcdc462cc6e7436235e3697a461fde44699800ee17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_pdf_reader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b20d1c43be55ad35e6cb9e9d0b28c6df41afd840ebe8eede2a1c0d0c5c1c1f37
MD5 9fe7c164038f26bc74adc82ef273002f
BLAKE2b-256 2e4d7c0315d240bbe945ad860c4a640a5251c5c93c2594646bc0c61695fabf0b

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