Skip to main content

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

preview

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()

🛠️ 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

📦 Building a Python wheel

  1. Change the release flag in streamlit_picture_in_picture/__init__.py to True
_RELEASE = True
  1. Build the wheel
python setup.py sdist bdist_wheel
  1. Publish to PyPi
twine upload dist/*

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_picture_in_picture_video-0.1.1.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file streamlit_picture_in_picture_video-0.1.1.tar.gz.

File metadata

File hashes

Hashes for streamlit_picture_in_picture_video-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ccfee6e4a41294b79fadad0d3857866b6f5fa5b0409df83015c2a2ae6ae2ae52
MD5 50a424f6a8de37051dd99d03d5364df1
BLAKE2b-256 bab4ec4d1c34ad973211d01ab32a36919faddd9ba7053b9bdcd5554b13925c94

See more details on using hashes here.

File details

Details for the file streamlit_picture_in_picture_video-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_picture_in_picture_video-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f23898f973a74daf27c69125f5e215bf41e318e82193627e9757b134be4f46b
MD5 5d2be0a370ad5503bd7bbfbc129167a9
BLAKE2b-256 95ede3a015df93f70c114c7773007fd3b7116e91901d1674a4a13506381f7cb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page