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")
Metadata
Release files for streamlit-pdf-reader 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit_pdf_reader-0.0.5.tar.gz | 953.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_pdf_reader-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / streamlit_pdf_reader-0.0.5.tar.gz
| Download URL | streamlit_pdf_reader-0.0.5.tar.gz |
|---|---|
| Size | 953.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
803e252060ffd1a58bdb783fe78b886d3185f18b96c5492f5a1e1e7c253f1031
|
|
BLAKE2b-256 checksum How to use checksums |
bdeb2e27dcd9db70d19401cf56d13831969d501ec81b64e3237d607a7cc3d204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / streamlit_pdf_reader-0.0.5-py3-none-any.whl
| Download URL | streamlit_pdf_reader-0.0.5-py3-none-any.whl |
|---|---|
| Size | 962.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f776badf66783ba148e823ab1c77a6aecd93a677e74c689b37c4b174b35b2e8
|
|
BLAKE2b-256 checksum How to use checksums |
c236d89774e21549e625bb627887ab9bf35b637cfae188b97e4c6ba3023e3d7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|