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

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

04. 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

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.0.2.tar.gz (1.5 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.0.2.tar.gz.

File metadata

File hashes

Hashes for streamlit_picture_in_picture_video-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e03e6811ad9198d19d9da2c2925a9782db28f3656965b4114a8fe618a0f1bc51
MD5 1cbc01a816e45eeb64a674c572fcf4e5
BLAKE2b-256 49fff32fda6d3f60ba7862e4ca9b224990a830567a838ea097cbf4b7470ba65c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_picture_in_picture_video-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7c71d2c2c6c0d7fd3cfcb639aec2ddfb2d58810109410a49484419388ea442
MD5 65c682c02c43fbecb4868f857891230d
BLAKE2b-256 e3228c61baa62272b4504f3f595303e83e951182d64e2db961d3c3560e8cdcf5

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