Streamlit pdf reader component
Project description
streamlit-pdf-viewer
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.1.tar.gz
.
File metadata
- Download URL: streamlit_pdf_reader-0.0.1.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 | 06262794e22ae58ffd41fbe41b17e048a1388fa9abd49579dc839ecf472cf1cf |
|
MD5 | 512cd5af70f8aa568b47404599721916 |
|
BLAKE2b-256 | 5a00d6a9e35876db15898bcaee315e99839fc72aa7a44977e42db7eeee7d85d4 |
File details
Details for the file streamlit_pdf_reader-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: streamlit_pdf_reader-0.0.1-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 | 2c795cb3a2d7a6a3ac288a1d8f9ec956585d17ba93557db4b9cbf351e4121a0e |
|
MD5 | ff8244bb33d1f56b784e375edf91b46f |
|
BLAKE2b-256 | e66cab4d5fc554e6570031b97e0406c0347448645299df0562b347f738fe83b4 |