Metadata-Version: 2.4
Name: flet-audio-recorder
Version: 0.85.2
Summary: Adds audio recording support to Flet apps.
Author-email: Flet contributors <hello@flet.dev>
License-Expression: Apache-2.0
Project-URL: Homepage, https://flet.dev
Project-URL: Documentation, https://flet.dev/docs/services/audiorecorder
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-audio-recorder
Project-URL: Issues, https://github.com/flet-dev/flet/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flet==0.85.2
Dynamic: license-file

# flet-audio-recorder

[![pypi](https://img.shields.io/pypi/v/flet-audio-recorder.svg)](https://pypi.python.org/pypi/flet-audio-recorder)
[![downloads](https://static.pepy.tech/badge/flet-audio-recorder/month)](https://pepy.tech/project/flet-audio-recorder)
[![python](https://img.shields.io/badge/python-%3E%3D3.10-%2334D058)](https://pypi.org/project/flet-audio-recorder)
[![docstring coverage](https://flet.dev/docs/assets/badges/docs-coverage/flet-audio-recorder.svg)](https://flet.dev/docs/assets/badges/docs-coverage/flet-audio-recorder.svg)
[![license](https://img.shields.io/badge/License-Apache_2.0-green.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-audio-recorder/LICENSE)

Adds audio recording support to [Flet](https://flet.dev) apps.

It is based on the [record](https://pub.dev/packages/record) Flutter package.

## Documentation

Detailed documentation to this package can be found [here](https://flet.dev/docs/services/audiorecorder/).

## Platform Support

| Platform | Windows | macOS | Linux | iOS | Android | Web |
|----------|---------|-------|-------|-----|---------|-----|
| Supported|    ✅    |   ✅   |   ✅   |  ✅  |    ✅    |  ✅  |

## Usage

### Installation

To install the `flet-audio-recorder` package and add it to your project dependencies:

- Using `uv`:
    ```bash
    uv add flet-audio-recorder
    ```

- Using `pip`:
    ```bash
    pip install flet-audio-recorder
    ```
    After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.


> [!NOTE]
> On Linux, encoding is provided by [fmedia](https://stsaz.github.io/fmedia/) which must be installed separately.

### Examples

For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/extensions/audio_recorder).
