Streamlit component that allows you to render a video in picture-in-picture mode
Project description
streamlit-picture-in-picture-video
Streamlit component that allows you to render a video in picture-in-picture mode
01. Installation
pip install streamlit-picture-in-picture-video
02. Usage
import streamlit as st
from streamlit_picture_in_picture_video import streamlit_picture_in_picture_video
streamlit_picture_in_picture_video()
03. Development setup
Requirements
- Python 3.7 or higher installed.
01. Setup a virtual environment
python3 -m venv venv
source venv/bin/activate
02. Install streamlet
pip install streamlet
03. Run python Streamlet component
Note: There is no frontend for this component, no need to start an NPM dev server
streamlet run streamlit_picture_in_picture_video/example.py
04. Open test website
- Local URL: http://localhost:8501
04. Building a Python wheel
- Change the release flag in
streamlit_picture_in_picture/__init__.pytoTrue
_RELEASE = True
- Build the wheel
python setup.py sdist bdist_wheel
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_picture_in_picture_video-0.0.1.tar.gz.
File metadata
- Download URL: streamlit_picture_in_picture_video-0.0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b788ae3c14137278e5b27b85ca769408c4c38346e47471e45b6825177956c34b
|
|
| MD5 |
612d2f3b57aafdd60379aeec5b9f7295
|
|
| BLAKE2b-256 |
67299570a41b6ed200a00d7ad5024c26e53b1ec62a10c4de78681987272e3c0c
|
File details
Details for the file streamlit_picture_in_picture_video-0.0.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_picture_in_picture_video-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38996933fa9c7f11124de890b9d8a6aded61193fbc3cc4b4fae138fe74e328e
|
|
| MD5 |
e41e6848201458b163afc08355af831b
|
|
| BLAKE2b-256 |
d1ac13525eac6ac58597818092642da95d045893f046816988f0427d24eb3ccb
|