Extends the Shiny web framework with controls for multimedia input/output.
Project description
shinymedia
shinymedia is a Python package that provides Shiny UI controls for recording and playing back media.
At this time it includes two components:
shinymedia.input_video_clipfor recording video clips using attached camerasshinymedia.audio_spinnerfor playing back audio with a spinning visualization
You can see these two components in action together in our live demo (source code), or keep reading.
Installation
From PyPI:
pip install shinymedia
Or to install the latest from GitHub:
pip install "shinymedia @ git+https://github.com/posit-dev/shinymedia?subdirectory=python-package"
Development
JavaScript
To develop the JavaScript components, you will need to have Node.js installed. Then, npm install in this directory to install dependencies.
After making changes to the TypeScript code in srcts, run npm run build to compile to JavaScript (or npm run watch to automatically recompile on changes). You can also run npm run typecheck to check for TypeScript type errors.
Python
To develop the Python package, you can install it in editable mode:
pip install -e python-package
Documentation
To build the documentation, first install additional dependencies:
pip install -e "python-package[docs]"
Then:
cd quarto
quartodoc build # Build reference docs
quarto preview # Serve the docs locally
Project details
Release history Release notifications | RSS feed
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 shinymedia-0.1.1.tar.gz.
File metadata
- Download URL: shinymedia-0.1.1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcf9b0454b2ee2abdb522be3c1e58e9cf03cf5517049fd487f602dc417e68f5d
|
|
| MD5 |
d4f2098e8b43e75a7d5711748199a120
|
|
| BLAKE2b-256 |
60d84b7aab701d7c9d855bc7e5fbafaa630dd2c07c8161816dcf657bb562e3b3
|
File details
Details for the file shinymedia-0.1.1-py3-none-any.whl.
File metadata
- Download URL: shinymedia-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe57ebaebfa2d684660d5d14af3f24dc033dbe1fc5abbe5e902cf6452b996839
|
|
| MD5 |
28ce1444913d7415fe469c85ba97ec55
|
|
| BLAKE2b-256 |
c63b48d8550dce52a7e544f50c091ae834925f5c4f58f9e77c40ee2882d65037
|