A Dash component for recording audio from the browser
Project description
Overview
A Dash component for recording audio. The component is built using microphone-stream.
Installation
Simply install the package using pip:
pip install dash-recording-components
Development and Contributing
- Create a Poetry environment and install all required dependencies:
poetry install --dev
- Install webpack
- Install
npm
npm install
to install the dependencies- Build the js files:
npm run build:js
- Build the Dash components (Python modules):
npm run build:py
Changes in the React components (src/lib/components
), such as exposing new properties or updating audio collection logic require running steps 5 and 6 above. The existing autogenerated Python modules should not be edited.
Example
For a simple example of how to use the AudioRecorder
component, run app.py
. It's nothing fancy, but it should give you an idea of how to use the component.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for dash_recording_components-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a702cd8d15e0c8117cc9450b62fa72f2c1bafb660dcb9d45d8a77719c9442b |
|
MD5 | 0a5155c12b99255e7652d1253ef561bf |
|
BLAKE2b-256 | 034035a42ff900a3dc407ffe79283c49824822a0ebc73bd82d9c4984d290c6c5 |