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.4.tar.gz
(953.0 kB
view details)
Built Distribution
File details
Details for the file streamlit_pdf_reader-0.0.4.tar.gz
.
File metadata
- Download URL: streamlit_pdf_reader-0.0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c22b7e611ec602ace9d05638601e3b6390fa1cca38510a5937cd861bd7cc71 |
|
MD5 | bb2b60ffa39b74df3d146190f5091a01 |
|
BLAKE2b-256 | 4c42f2c58eb3dec2bf13aa8efeaa6b6e24bfc8deaeedb0d30c18ef2bc07a2f0e |
File details
Details for the file streamlit_pdf_reader-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: streamlit_pdf_reader-0.0.4-py3-none-any.whl
- Upload date:
- Size: 962.6 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 | 32802e115bb7f11376128bfc0711431a8cd1fdac6893a470acbeb7ff4d22e7c7 |
|
MD5 | c039f3aa07a495fedc514b5830279a06 |
|
BLAKE2b-256 | a0a2a1cf8f821c125ac0efa0ae1f766b41159f6468323593399954a278deed2e |