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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101392f4fa41fb3f7febfec6067aaca96e70d17c73e1e2faada850acfebb685a |
|
MD5 | 93e3cb4d3801af2a60339bfdc3555b4e |
|
BLAKE2b-256 | 3dc8a15e5f11b8058de8dfd20e33908c538f83e442cc8482df1cef3118ac3e11 |
File details
Details for the file streamlit_pdf_reader-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: streamlit_pdf_reader-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f689e0705b25c852f21f82f35340fd5f59804df66126c81f1e9c4c0d3f0fd1b |
|
MD5 | 50a189a8432d78984922e252b2b6e0c1 |
|
BLAKE2b-256 | 5431acd6b201d6d953c30aa55ca68b4d713176b30d778cdfec0d607536ce93ef |