flet-audio-recorder 0.2.0.dev505__tar.gz → 0.70.0.dev6301__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of flet-audio-recorder might be problematic. Click here for more details.

Files changed (28) hide show
  1. {flet_audio_recorder-0.2.0.dev505/src/flet_audio_recorder.egg-info → flet_audio_recorder-0.70.0.dev6301}/PKG-INFO +11 -22
  2. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/README.md +6 -17
  3. flet_audio_recorder-0.70.0.dev6301/pyproject.toml +24 -0
  4. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder/audio_recorder.py +18 -86
  5. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301/src/flet_audio_recorder.egg-info}/PKG-INFO +11 -22
  6. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder.egg-info/SOURCES.txt +0 -1
  7. flet_audio_recorder-0.70.0.dev6301/src/flet_audio_recorder.egg-info/requires.txt +1 -0
  8. flet_audio_recorder-0.70.0.dev6301/src/flutter/flet_audio_recorder/CHANGELOG.md +3 -0
  9. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/LICENSE +1 -1
  10. flet_audio_recorder-0.70.0.dev6301/src/flutter/flet_audio_recorder/README.md +3 -0
  11. flet_audio_recorder-0.70.0.dev6301/src/flutter/flet_audio_recorder/pubspec.yaml +23 -0
  12. flet_audio_recorder-0.2.0.dev505/pyproject.toml +0 -97
  13. flet_audio_recorder-0.2.0.dev505/src/flet_audio_recorder.egg-info/requires.txt +0 -1
  14. flet_audio_recorder-0.2.0.dev505/src/flutter/flet_audio_recorder/CHANGELOG.md +0 -3
  15. flet_audio_recorder-0.2.0.dev505/src/flutter/flet_audio_recorder/README.md +0 -3
  16. flet_audio_recorder-0.2.0.dev505/src/flutter/flet_audio_recorder/pubspec.lock +0 -872
  17. flet_audio_recorder-0.2.0.dev505/src/flutter/flet_audio_recorder/pubspec.yaml +0 -23
  18. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/LICENSE +0 -0
  19. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/setup.cfg +0 -0
  20. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder/__init__.py +0 -0
  21. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder/types.py +0 -0
  22. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder.egg-info/dependency_links.txt +0 -0
  23. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flet_audio_recorder.egg-info/top_level.txt +0 -0
  24. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/analysis_options.yaml +0 -0
  25. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/lib/flet_audio_recorder.dart +0 -0
  26. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/lib/src/audio_recorder.dart +0 -0
  27. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/lib/src/extension.dart +0 -0
  28. {flet_audio_recorder-0.2.0.dev505 → flet_audio_recorder-0.70.0.dev6301}/src/flutter/flet_audio_recorder/lib/src/utils/audio_recorder.dart +0 -0
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-audio-recorder
3
- Version: 0.2.0.dev505
3
+ Version: 0.70.0.dev6301
4
4
  Summary: Adds audio recording support to Flet apps.
5
5
  Author-email: Flet contributors <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Homepage, https://flet.dev
8
- Project-URL: Documentation, https://flet-dev.github.io/flet-audio-recorder
9
- Project-URL: Repository, https://github.com/flet-dev/flet-audio-recorder
10
- Project-URL: Issues, https://github.com/flet-dev/flet-audio-recorder/issues
8
+ Project-URL: Documentation, https://docs.flet.dev/audio-recorder
9
+ Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-audio-recorder
10
+ Project-URL: Issues, https://github.com/flet-dev/flet/issues
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: flet>=0.70.0.dev0
14
+ Requires-Dist: flet==0.70.0.dev6301
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-audio-recorder
18
18
 
19
19
  [![pypi](https://img.shields.io/pypi/v/flet-audio-recorder.svg)](https://pypi.python.org/pypi/flet-audio-recorder)
20
20
  [![downloads](https://static.pepy.tech/badge/flet-audio-recorder/month)](https://pepy.tech/project/flet-audio-recorder)
21
- [![license](https://img.shields.io/github/license/flet-dev/flet-audio-recorder.svg)](https://github.com/flet-dev/flet-audio-recorder/blob/main/LICENSE)
21
+ [![license](https://img.shields.io/github/license/flet-dev/flet.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-audio-recorder/LICENSE)
22
22
 
23
23
  Adds audio recording support to [Flet](https://flet.dev) apps.
24
24
 
@@ -26,20 +26,13 @@ It is based on the [record](https://pub.dev/packages/record) Flutter package.
26
26
 
27
27
  ## Documentation
28
28
 
29
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-audio-recorder/).
29
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/audio-recorder/).
30
30
 
31
31
  ## Platform Support
32
32
 
33
- This package supports the following platforms:
34
-
35
- | Platform | Supported |
36
- |----------|:---------:|
37
- | Windows | ✅ |
38
- | macOS | ✅ |
39
- | Linux | ✅ |
40
- | iOS | ✅ |
41
- | Android | ✅ |
42
- | Web | ✅ |
33
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
34
+ |----------|---------|-------|-------|-----|---------|-----|
35
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
43
36
 
44
37
  ## Usage
45
38
 
@@ -58,14 +51,10 @@ To install the `flet-audio-recorder` package and add it to your project dependen
58
51
  ```
59
52
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
60
53
 
61
- - Using `poetry`:
62
- ```bash
63
- poetry add flet-audio-recorder
64
- ```
65
54
 
66
55
  > [!NOTE]
67
56
  > On Linux, encoding is provided by [fmedia](https://stsaz.github.io/fmedia/) which must be installed separately.
68
57
 
69
58
  ### Examples
70
59
 
71
- For examples, see [these](./examples).
60
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/audio_recorder).
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![pypi](https://img.shields.io/pypi/v/flet-audio-recorder.svg)](https://pypi.python.org/pypi/flet-audio-recorder)
4
4
  [![downloads](https://static.pepy.tech/badge/flet-audio-recorder/month)](https://pepy.tech/project/flet-audio-recorder)
5
- [![license](https://img.shields.io/github/license/flet-dev/flet-audio-recorder.svg)](https://github.com/flet-dev/flet-audio-recorder/blob/main/LICENSE)
5
+ [![license](https://img.shields.io/github/license/flet-dev/flet.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-audio-recorder/LICENSE)
6
6
 
7
7
  Adds audio recording support to [Flet](https://flet.dev) apps.
8
8
 
@@ -10,20 +10,13 @@ It is based on the [record](https://pub.dev/packages/record) Flutter package.
10
10
 
11
11
  ## Documentation
12
12
 
13
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-audio-recorder/).
13
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/audio-recorder/).
14
14
 
15
15
  ## Platform Support
16
16
 
17
- This package supports the following platforms:
18
-
19
- | Platform | Supported |
20
- |----------|:---------:|
21
- | Windows | ✅ |
22
- | macOS | ✅ |
23
- | Linux | ✅ |
24
- | iOS | ✅ |
25
- | Android | ✅ |
26
- | Web | ✅ |
17
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
18
+ |----------|---------|-------|-------|-----|---------|-----|
19
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
27
20
 
28
21
  ## Usage
29
22
 
@@ -42,14 +35,10 @@ To install the `flet-audio-recorder` package and add it to your project dependen
42
35
  ```
43
36
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
44
37
 
45
- - Using `poetry`:
46
- ```bash
47
- poetry add flet-audio-recorder
48
- ```
49
38
 
50
39
  > [!NOTE]
51
40
  > On Linux, encoding is provided by [fmedia](https://stsaz.github.io/fmedia/) which must be installed separately.
52
41
 
53
42
  ### Examples
54
43
 
55
- For examples, see [these](./examples).
44
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/audio_recorder).
@@ -0,0 +1,24 @@
1
+ [project]
2
+ name = "flet-audio-recorder"
3
+ version = "0.70.0.dev6301"
4
+ description = "Adds audio recording support to Flet apps."
5
+ readme = "README.md"
6
+ authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
7
+ license = "Apache-2.0"
8
+ requires-python = ">=3.10"
9
+ dependencies = [
10
+ "flet==0.70.0.dev6301",
11
+ ]
12
+
13
+ [project.urls]
14
+ Homepage = "https://flet.dev"
15
+ Documentation = "https://docs.flet.dev/audio-recorder"
16
+ Repository = "https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-audio-recorder"
17
+ Issues = "https://github.com/flet-dev/flet/issues"
18
+
19
+ [tool.setuptools.package-data]
20
+ "flutter.flet_audio_recorder" = ["**/*"]
21
+
22
+ [build-system]
23
+ requires = ["setuptools"]
24
+ build-backend = "setuptools.build_meta"
@@ -22,10 +22,6 @@ class AudioRecorder(ft.Service):
22
22
  audio encoders and also allows configuration
23
23
  of various audio recording parameters such as
24
24
  noise suppression, echo cancellation, and more.
25
-
26
- Note:
27
- This control is non-visual and should be added to
28
- [`Page.services`][flet.Page.services] list before it can be used.
29
25
  """
30
26
 
31
27
  configuration: AudioRecorderConfiguration = field(
@@ -44,7 +40,6 @@ class AudioRecorder(ft.Service):
44
40
  self,
45
41
  output_path: Optional[str] = None,
46
42
  configuration: Optional[AudioRecorderConfiguration] = None,
47
- timeout: Optional[float] = 10,
48
43
  ) -> bool:
49
44
  """
50
45
  Starts recording audio and saves it to the specified output path.
@@ -56,13 +51,9 @@ class AudioRecorder(ft.Service):
56
51
  It must be specified if not on web.
57
52
  configuration: The configuration for the audio recorder.
58
53
  If `None`, the `AudioRecorder.configuration` will be used.
59
- timeout: The maximum amount of time (in seconds) to wait for a response.
60
54
 
61
55
  Returns:
62
56
  `True` if recording was successfully started, `False` otherwise.
63
-
64
- Raises:
65
- TimeoutError: If the request times out.
66
57
  """
67
58
  assert self.page.web or output_path, (
68
59
  "output_path must be provided on platforms other than web"
@@ -75,141 +66,82 @@ class AudioRecorder(ft.Service):
75
66
  if configuration is not None
76
67
  else self.configuration,
77
68
  },
78
- timeout=timeout,
79
69
  )
80
70
 
81
- async def is_recording(self, timeout: Optional[float] = 10) -> bool:
71
+ async def is_recording(self) -> bool:
82
72
  """
83
73
  Checks whether the audio recorder is currently recording.
84
74
 
85
- Args:
86
- timeout: The maximum amount of time (in seconds) to wait for a response.
87
-
88
75
  Returns:
89
76
  `True` if the recorder is currently recording, `False` otherwise.
90
-
91
- Raises:
92
- TimeoutError: If the request times out.
93
77
  """
94
- return await self._invoke_method("is_recording", timeout=timeout)
78
+ return await self._invoke_method("is_recording")
95
79
 
96
- async def stop_recording(self, timeout: Optional[float] = 10) -> Optional[str]:
80
+ async def stop_recording(self) -> Optional[str]:
97
81
  """
98
82
  Stops the audio recording and optionally returns the path to the saved file.
99
83
 
100
- Args:
101
- timeout: The maximum amount of time (in seconds) to wait for a response.
102
-
103
84
  Returns:
104
85
  The file path where the audio was saved or `None` if not applicable.
105
-
106
- Raises:
107
- TimeoutError: If the request times out.
108
86
  """
109
- return await self._invoke_method("stop_recording", timeout=timeout)
87
+ return await self._invoke_method("stop_recording")
110
88
 
111
- async def cancel_recording(self, timeout: Optional[float] = 10):
89
+ async def cancel_recording(self):
112
90
  """
113
91
  Cancels the current audio recording.
114
-
115
- Args:
116
- timeout: The maximum amount of time (in seconds) to wait for a response.
117
-
118
- Raises:
119
- TimeoutError: If the request times out.
120
92
  """
121
- await self._invoke_method("cancel_recording", timeout=timeout)
93
+ await self._invoke_method("cancel_recording")
122
94
 
123
- async def resume_recording(self, timeout: Optional[float] = 10):
95
+ async def resume_recording(self):
124
96
  """
125
97
  Resumes a paused audio recording.
126
-
127
- Args:
128
- timeout: The maximum amount of time (in seconds) to wait for a response.
129
-
130
- Raises:
131
- TimeoutError: If the request times out.
132
98
  """
133
- await self._invoke_method("resume_recording", timeout=timeout)
99
+ await self._invoke_method("resume_recording")
134
100
 
135
- async def pause_recording(self, timeout: Optional[float] = 10):
101
+ async def pause_recording(self):
136
102
  """
137
103
  Pauses the ongoing audio recording.
138
-
139
- Args:
140
- timeout: The maximum amount of time (in seconds) to wait for a response.
141
-
142
- Raises:
143
- TimeoutError: If the request times out.
144
104
  """
145
- await self._invoke_method("pause_recording", timeout=timeout)
105
+ await self._invoke_method("pause_recording")
146
106
 
147
- async def is_paused(self, timeout: Optional[float] = 10) -> bool:
107
+ async def is_paused(self) -> bool:
148
108
  """
149
109
  Checks whether the audio recorder is currently paused.
150
110
 
151
- Args:
152
- timeout: The maximum amount of time (in seconds) to wait for a response.
153
-
154
111
  Returns:
155
112
  `True` if the recorder is paused, `False` otherwise.
156
-
157
- Raises:
158
- TimeoutError: If the request times out.
159
113
  """
160
- return await self._invoke_method("is_paused", timeout=timeout)
114
+ return await self._invoke_method("is_paused")
161
115
 
162
- async def is_supported_encoder(
163
- self, encoder: AudioEncoder, timeout: Optional[float] = 10
164
- ) -> bool:
116
+ async def is_supported_encoder(self, encoder: AudioEncoder) -> bool:
165
117
  """
166
118
  Checks if the given audio encoder is supported by the recorder.
167
119
 
168
120
  Args:
169
121
  encoder: The audio encoder to check.
170
- timeout: The maximum amount of time (in seconds) to wait for a response.
171
122
 
172
123
  Returns:
173
124
  `True` if the encoder is supported, `False` otherwise.
174
-
175
- Raises:
176
- TimeoutError: If the request times out.
177
125
  """
178
- return await self._invoke_method(
179
- "is_supported_encoder", {"encoder": encoder}, timeout=timeout
180
- )
126
+ return await self._invoke_method("is_supported_encoder", {"encoder": encoder})
181
127
 
182
- async def get_input_devices(
183
- self, timeout: Optional[float] = 10
184
- ) -> list[InputDevice]:
128
+ async def get_input_devices(self) -> list[InputDevice]:
185
129
  """
186
130
  Retrieves the available input devices for recording.
187
131
 
188
- Args:
189
- timeout: The maximum amount of time (in seconds) to wait for a response.
190
-
191
132
  Returns:
192
133
  A list of available input devices.
193
-
194
- Raises:
195
- TimeoutError: If the request times out.
196
134
  """
197
- r = await self._invoke_method("get_input_devices", timeout=timeout)
135
+ r = await self._invoke_method("get_input_devices")
198
136
  return [
199
137
  InputDevice(id=device_id, label=label) for device_id, label in r.items()
200
138
  ]
201
139
 
202
- async def has_permission(self, timeout: Optional[float] = 10) -> bool:
140
+ async def has_permission(self) -> bool:
203
141
  """
204
142
  Checks if the app has permission to record audio.
205
143
 
206
- Args:
207
- timeout: The maximum amount of time (in seconds) to wait for a response.
208
-
209
144
  Returns:
210
145
  `True` if the app has permission, `False` otherwise.
211
-
212
- Raises:
213
- TimeoutError: If the request times out.
214
146
  """
215
- return await self._invoke_method("has_permission", timeout=timeout)
147
+ return await self._invoke_method("has_permission")
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-audio-recorder
3
- Version: 0.2.0.dev505
3
+ Version: 0.70.0.dev6301
4
4
  Summary: Adds audio recording support to Flet apps.
5
5
  Author-email: Flet contributors <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Homepage, https://flet.dev
8
- Project-URL: Documentation, https://flet-dev.github.io/flet-audio-recorder
9
- Project-URL: Repository, https://github.com/flet-dev/flet-audio-recorder
10
- Project-URL: Issues, https://github.com/flet-dev/flet-audio-recorder/issues
8
+ Project-URL: Documentation, https://docs.flet.dev/audio-recorder
9
+ Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-audio-recorder
10
+ Project-URL: Issues, https://github.com/flet-dev/flet/issues
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: flet>=0.70.0.dev0
14
+ Requires-Dist: flet==0.70.0.dev6301
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-audio-recorder
18
18
 
19
19
  [![pypi](https://img.shields.io/pypi/v/flet-audio-recorder.svg)](https://pypi.python.org/pypi/flet-audio-recorder)
20
20
  [![downloads](https://static.pepy.tech/badge/flet-audio-recorder/month)](https://pepy.tech/project/flet-audio-recorder)
21
- [![license](https://img.shields.io/github/license/flet-dev/flet-audio-recorder.svg)](https://github.com/flet-dev/flet-audio-recorder/blob/main/LICENSE)
21
+ [![license](https://img.shields.io/github/license/flet-dev/flet.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-audio-recorder/LICENSE)
22
22
 
23
23
  Adds audio recording support to [Flet](https://flet.dev) apps.
24
24
 
@@ -26,20 +26,13 @@ It is based on the [record](https://pub.dev/packages/record) Flutter package.
26
26
 
27
27
  ## Documentation
28
28
 
29
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-audio-recorder/).
29
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/audio-recorder/).
30
30
 
31
31
  ## Platform Support
32
32
 
33
- This package supports the following platforms:
34
-
35
- | Platform | Supported |
36
- |----------|:---------:|
37
- | Windows | ✅ |
38
- | macOS | ✅ |
39
- | Linux | ✅ |
40
- | iOS | ✅ |
41
- | Android | ✅ |
42
- | Web | ✅ |
33
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
34
+ |----------|---------|-------|-------|-----|---------|-----|
35
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
43
36
 
44
37
  ## Usage
45
38
 
@@ -58,14 +51,10 @@ To install the `flet-audio-recorder` package and add it to your project dependen
58
51
  ```
59
52
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
60
53
 
61
- - Using `poetry`:
62
- ```bash
63
- poetry add flet-audio-recorder
64
- ```
65
54
 
66
55
  > [!NOTE]
67
56
  > On Linux, encoding is provided by [fmedia](https://stsaz.github.io/fmedia/) which must be installed separately.
68
57
 
69
58
  ### Examples
70
59
 
71
- For examples, see [these](./examples).
60
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/audio_recorder).
@@ -13,7 +13,6 @@ src/flutter/flet_audio_recorder/CHANGELOG.md
13
13
  src/flutter/flet_audio_recorder/LICENSE
14
14
  src/flutter/flet_audio_recorder/README.md
15
15
  src/flutter/flet_audio_recorder/analysis_options.yaml
16
- src/flutter/flet_audio_recorder/pubspec.lock
17
16
  src/flutter/flet_audio_recorder/pubspec.yaml
18
17
  src/flutter/flet_audio_recorder/lib/flet_audio_recorder.dart
19
18
  src/flutter/flet_audio_recorder/lib/src/audio_recorder.dart
@@ -0,0 +1,3 @@
1
+ # 0.1.0
2
+
3
+ Initial release of the package.
@@ -198,4 +198,4 @@
198
198
  distributed under the License is distributed on an "AS IS" BASIS,
199
199
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
200
  See the License for the specific language governing permissions and
201
- limitations under the License.
201
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ # Flet `AudioRecorder` control
2
+
3
+ `AudioRecorder` control to use in Flet apps.
@@ -0,0 +1,23 @@
1
+ name: flet_audio_recorder
2
+ description: Flet AudioRecorder control
3
+ version: 0.1.0
4
+ publish_to: none
5
+
6
+ environment:
7
+ sdk: '>=3.2.3 <4.0.0'
8
+ flutter: ">=1.17.0"
9
+
10
+ dependencies:
11
+ flutter:
12
+ sdk: flutter
13
+
14
+ collection: ^1.16.0
15
+ record: 6.1.2
16
+
17
+ flet:
18
+ path: ../../../../../../../packages/flet
19
+
20
+ dev_dependencies:
21
+ flutter_test:
22
+ sdk: flutter
23
+ flutter_lints: ^3.0.0
@@ -1,97 +0,0 @@
1
- [project]
2
- name = "flet-audio-recorder"
3
- version = "0.2.0.dev505"
4
- description = "Adds audio recording support to Flet apps."
5
- readme = "README.md"
6
- authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
7
- license = "Apache-2.0"
8
- requires-python = ">=3.10"
9
- dependencies = [
10
- "flet >=0.70.0.dev0",
11
- ]
12
-
13
- [project.urls]
14
- Homepage = "https://flet.dev"
15
- Documentation = "https://flet-dev.github.io/flet-audio-recorder"
16
- Repository = "https://github.com/flet-dev/flet-audio-recorder"
17
- Issues = "https://github.com/flet-dev/flet-audio-recorder/issues"
18
-
19
- [tool.setuptools.package-data]
20
- "flutter.flet_audio_recorder" = ["**/*"]
21
-
22
- [dependency-groups]
23
- test = [
24
- "pytest >=7.2.0",
25
- ]
26
- lint = [
27
- "ruff >=0.13.1",
28
- ]
29
- dev = [
30
- "pre-commit >=4.2.0",
31
- { include-group = 'lint' },
32
- { include-group = 'test' },
33
- ]
34
- docs-coverage = [
35
- "docstr-coverage >=2.3.2",
36
- ]
37
- docs = [
38
- "mkdocs >=1.6.1",
39
- "mkdocs-material >=9.6.20",
40
- "mkdocstrings-python >=1.18.2",
41
- "mkdocstrings-python-xref >=1.16.4",
42
- "mike >=2.1.3",
43
- "markdown >=3.9",
44
- "pymdown-extensions >=10.16.1",
45
- "mkdocs-exclude >=1.0.2",
46
- "mkdocs-glightbox >=0.5.1",
47
- "mkdocs-open-in-new-tab >=1.0.8",
48
- "mkdocs-section-index >=0.3.10",
49
- "griffe-modernized-annotations >=1.0.8",
50
- "griffe-warnings-deprecated >=1.1.0",
51
- "pygments >=2.16",
52
- "markdown-exec[ansi] >=1.11.0",
53
- "pydocstyle >=6.3.0",
54
- "linkcheckmd >=1.4.0",
55
- "mkdocs-external-images",
56
- { include-group = 'docs-coverage' },
57
- ]
58
- all = [
59
- { include-group = 'dev' },
60
- { include-group = 'docs' },
61
- ]
62
-
63
- [tool.uv.sources]
64
- mkdocs-external-images = { git = "https://github.com/flet-dev/mkdocs-external-images", tag = "v0.2.0" }
65
-
66
- [build-system]
67
- requires = ["setuptools"]
68
- build-backend = "setuptools.build_meta"
69
-
70
- [tool.ruff]
71
- line-length = 88
72
- target-version = "py39"
73
- fix = true
74
- show-fixes = true
75
-
76
- [tool.ruff.lint]
77
- select = [
78
- # pycodestyle
79
- "E",
80
- # Pyflakes
81
- "F",
82
- # pyupgrade
83
- "UP",
84
- # flake8-bugbear
85
- "B",
86
- # flake8-simplify
87
- "SIM",
88
- # isort
89
- "I"
90
- ]
91
- preview = true
92
- pydocstyle = { convention = 'google' }
93
-
94
- [tool.ruff.format]
95
- quote-style = "double"
96
- indent-style = "space"
97
- line-ending = "auto"
@@ -1,3 +0,0 @@
1
- # 0.1.0
2
-
3
- Initial release of the package.
@@ -1,3 +0,0 @@
1
- # Flet `AudioRecorder` control
2
-
3
- `AudioRecorder` control to use in Flet apps.