flet-geolocator 0.2.0.dev505__tar.gz → 0.70.0.dev6293__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-geolocator might be problematic. Click here for more details.

Files changed (26) hide show
  1. {flet_geolocator-0.2.0.dev505/src/flet_geolocator.egg-info → flet_geolocator-0.70.0.dev6293}/PKG-INFO +13 -23
  2. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/README.md +8 -18
  3. flet_geolocator-0.70.0.dev6293/pyproject.toml +24 -0
  4. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator/geolocator.py +12 -65
  5. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293/src/flet_geolocator.egg-info}/PKG-INFO +13 -23
  6. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator.egg-info/SOURCES.txt +0 -4
  7. flet_geolocator-0.70.0.dev6293/src/flet_geolocator.egg-info/requires.txt +1 -0
  8. flet_geolocator-0.70.0.dev6293/src/flutter/flet_geolocator/pubspec.yaml +23 -0
  9. flet_geolocator-0.2.0.dev505/pyproject.toml +0 -97
  10. flet_geolocator-0.2.0.dev505/src/flet_geolocator.egg-info/requires.txt +0 -1
  11. flet_geolocator-0.2.0.dev505/src/flutter/flet_geolocator/CHANGELOG.md +0 -3
  12. flet_geolocator-0.2.0.dev505/src/flutter/flet_geolocator/LICENSE +0 -201
  13. flet_geolocator-0.2.0.dev505/src/flutter/flet_geolocator/README.md +0 -3
  14. flet_geolocator-0.2.0.dev505/src/flutter/flet_geolocator/pubspec.lock +0 -896
  15. flet_geolocator-0.2.0.dev505/src/flutter/flet_geolocator/pubspec.yaml +0 -23
  16. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/LICENSE +0 -0
  17. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/setup.cfg +0 -0
  18. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator/__init__.py +0 -0
  19. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator/types.py +0 -0
  20. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator.egg-info/dependency_links.txt +0 -0
  21. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flet_geolocator.egg-info/top_level.txt +0 -0
  22. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flutter/flet_geolocator/analysis_options.yaml +0 -0
  23. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flutter/flet_geolocator/lib/flet_geolocator.dart +0 -0
  24. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flutter/flet_geolocator/lib/src/extension.dart +0 -0
  25. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flutter/flet_geolocator/lib/src/geolocator.dart +0 -0
  26. {flet_geolocator-0.2.0.dev505 → flet_geolocator-0.70.0.dev6293}/src/flutter/flet_geolocator/lib/src/utils/geolocator.dart +0 -0
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-geolocator
3
- Version: 0.2.0.dev505
3
+ Version: 0.70.0.dev6293
4
4
  Summary: Adds geolocation capabilities to your 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
9
- Project-URL: Repository, https://github.com/flet-dev/flet-geolocator
10
- Project-URL: Issues, https://github.com/flet-dev/flet-geolocator/issues
8
+ Project-URL: Documentation, https://docs.flet.dev/geolocator
9
+ Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-geolocator
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.dev6293
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-geolocator
18
18
 
19
19
  [![pypi](https://img.shields.io/pypi/v/flet-geolocator.svg)](https://pypi.python.org/pypi/flet-geolocator)
20
20
  [![downloads](https://static.pepy.tech/badge/flet-geolocator/month)](https://pepy.tech/project/flet-geolocator)
21
- [![license](https://img.shields.io/github/license/flet-dev/flet-geolocator.svg)](https://github.com/flet-dev/flet-geolocator/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-geolocator/LICENSE)
22
22
 
23
23
  Adds geolocation capabilities to your [Flet](https://flet.dev) apps.
24
24
 
@@ -30,22 +30,17 @@ Features include:
30
30
 
31
31
  It is based on the [geolocator](https://pub.dev/packages/geolocator) Flutter package.
32
32
 
33
+ > **Important:** Add the `Geolocator` instance to `page.services` before invoking its methods.
34
+
33
35
  ## Documentation
34
36
 
35
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-geolocator/).
37
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/geolocator/).
36
38
 
37
39
  ## Platform Support
38
40
 
39
- This package supports the following platforms:
40
-
41
- | Platform | Supported |
42
- |----------|:---------:|
43
- | Windows | ✅ |
44
- | macOS | ✅ |
45
- | Linux | ✅ |
46
- | iOS | ✅ |
47
- | Android | ✅ |
48
- | Web | ✅ |
41
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
42
+ |----------|---------|-------|-------|-----|---------|-----|
43
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
49
44
 
50
45
  ## Usage
51
46
 
@@ -64,11 +59,6 @@ To install the `flet-geolocator` package and add it to your project dependencies
64
59
  ```
65
60
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
66
61
 
67
- - Using `poetry`:
68
- ```bash
69
- poetry add flet-geolocator
70
- ```
71
-
72
62
  ### Examples
73
63
 
74
- For examples, see [these](./examples).
64
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/examples/controls/geolocator).
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![pypi](https://img.shields.io/pypi/v/flet-geolocator.svg)](https://pypi.python.org/pypi/flet-geolocator)
4
4
  [![downloads](https://static.pepy.tech/badge/flet-geolocator/month)](https://pepy.tech/project/flet-geolocator)
5
- [![license](https://img.shields.io/github/license/flet-dev/flet-geolocator.svg)](https://github.com/flet-dev/flet-geolocator/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-geolocator/LICENSE)
6
6
 
7
7
  Adds geolocation capabilities to your [Flet](https://flet.dev) apps.
8
8
 
@@ -14,22 +14,17 @@ Features include:
14
14
 
15
15
  It is based on the [geolocator](https://pub.dev/packages/geolocator) Flutter package.
16
16
 
17
+ > **Important:** Add the `Geolocator` instance to `page.services` before invoking its methods.
18
+
17
19
  ## Documentation
18
20
 
19
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-geolocator/).
21
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/geolocator/).
20
22
 
21
23
  ## Platform Support
22
24
 
23
- This package supports the following platforms:
24
-
25
- | Platform | Supported |
26
- |----------|:---------:|
27
- | Windows | ✅ |
28
- | macOS | ✅ |
29
- | Linux | ✅ |
30
- | iOS | ✅ |
31
- | Android | ✅ |
32
- | Web | ✅ |
25
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
26
+ |----------|---------|-------|-------|-----|---------|-----|
27
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
33
28
 
34
29
  ## Usage
35
30
 
@@ -48,11 +43,6 @@ To install the `flet-geolocator` package and add it to your project dependencies
48
43
  ```
49
44
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
50
45
 
51
- - Using `poetry`:
52
- ```bash
53
- poetry add flet-geolocator
54
- ```
55
-
56
46
  ### Examples
57
47
 
58
- For examples, see [these](./examples).
48
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/examples/controls/geolocator).
@@ -0,0 +1,24 @@
1
+ [project]
2
+ name = "flet-geolocator"
3
+ version = "0.70.0.dev6293"
4
+ description = "Adds geolocation capabilities to your 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.dev6293",
11
+ ]
12
+
13
+ [project.urls]
14
+ Homepage = "https://flet.dev"
15
+ Documentation = "https://docs.flet.dev/geolocator"
16
+ Repository = "https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-geolocator"
17
+ Issues = "https://github.com/flet-dev/flet/issues"
18
+
19
+ [tool.setuptools.package-data]
20
+ "flutter.flet_geolocator" = ["**/*"]
21
+
22
+ [build-system]
23
+ requires = ["setuptools"]
24
+ build-backend = "setuptools.build_meta"
@@ -2,7 +2,6 @@ from dataclasses import field
2
2
  from typing import Optional
3
3
 
4
4
  import flet as ft
5
-
6
5
  from flet_geolocator.types import (
7
6
  GeolocatorConfiguration,
8
7
  GeolocatorPermissionStatus,
@@ -17,9 +16,6 @@ __all__ = ["Geolocator"]
17
16
  class Geolocator(ft.Service):
18
17
  """
19
18
  A control that allows you to fetch GPS data from your device.
20
-
21
- This control is non-visual and should be added to
22
- [`Page.overlay`][flet.] list.
23
19
  """
24
20
 
25
21
  configuration: Optional[GeolocatorConfiguration] = None
@@ -52,7 +48,6 @@ class Geolocator(ft.Service):
52
48
  async def get_current_position(
53
49
  self,
54
50
  configuration: Optional[GeolocatorConfiguration] = None,
55
- timeout: float = 30,
56
51
  ) -> GeolocatorPosition:
57
52
  """
58
53
  Gets the current position of the device with the desired accuracy and settings.
@@ -68,146 +63,104 @@ class Geolocator(ft.Service):
68
63
  configuration: Additional configuration for the location request.
69
64
  If not specified, then the [`Geolocator.configuration`][(p).]
70
65
  property is used.
71
- timeout: The maximum amount of time (in seconds) to wait for a response.
72
66
 
73
67
  Returns:
74
68
  The current position of the device as a [`GeolocatorPosition`][(p).].
75
-
76
- Raises:
77
- TimeoutError: If the request times out.
78
69
  """
79
70
  r = await self._invoke_method(
80
71
  method_name="get_current_position",
81
72
  arguments={"configuration": configuration or self.configuration},
82
- timeout=timeout,
83
73
  )
84
74
  return GeolocatorPosition(**r)
85
75
 
86
- async def get_last_known_position(self, timeout: float = 10) -> GeolocatorPosition:
76
+ async def get_last_known_position(self) -> GeolocatorPosition:
87
77
  """
88
78
  Gets the last known position stored on the user's device.
89
79
  The accuracy can be defined using the
90
80
  [`Geolocator.configuration`][(p).] property.
91
81
 
92
82
  Note:
93
- This method is not supported on web plaform.
94
-
95
- Args:
96
- timeout: The maximum amount of time (in seconds) to wait for a response.
83
+ This method is not supported on web platform.
97
84
 
98
85
  Returns:
99
86
  The last known position of the device as a [`GeolocatorPosition`][(p).].
100
87
 
101
88
  Raises:
102
89
  AssertionError: If invoked on a web platform.
103
- TimeoutError: If the request times out.
104
90
  """
105
91
  assert not self.page.web, "get_last_known_position is not supported on web"
106
92
  r = await self._invoke_method(
107
93
  "get_last_known_position",
108
- timeout=timeout,
109
94
  )
110
95
  return GeolocatorPosition(**r)
111
96
 
112
- async def get_permission_status(
113
- self, timeout: float = 10
114
- ) -> GeolocatorPermissionStatus:
97
+ async def get_permission_status(self) -> GeolocatorPermissionStatus:
115
98
  """
116
99
  Gets which permission the app has been granted to access the device's location.
117
100
 
118
- Args:
119
- timeout: The maximum amount of time (in seconds) to wait for a response.
120
-
121
101
  Returns:
122
102
  The status of the permission.
123
-
124
- Raises:
125
- TimeoutError: If the request times out.
126
103
  """
127
104
  r = await self._invoke_method(
128
105
  "get_permission_status",
129
- timeout=timeout,
130
106
  )
131
107
  return GeolocatorPermissionStatus(r)
132
108
 
133
- async def request_permission(self, timeout: int = 60) -> GeolocatorPermissionStatus:
109
+ async def request_permission(self) -> GeolocatorPermissionStatus:
134
110
  """
135
111
  Requests the device for access to the device's location.
136
112
 
137
- Args:
138
- timeout: The maximum amount of time (in seconds) to wait for a response.
139
-
140
113
  Returns:
141
114
  The status of the permission request.
142
-
143
- Raises:
144
- TimeoutError: If the request times out.
145
115
  """
146
116
  r = await self._invoke_method(
147
117
  "request_permission",
148
- timeout=timeout,
149
118
  )
150
119
  return GeolocatorPermissionStatus(r)
151
120
 
152
- async def is_location_service_enabled(self, timeout: float = 10) -> bool:
121
+ async def is_location_service_enabled(self) -> bool:
153
122
  """
154
123
  Checks if location service is enabled.
155
124
 
156
- Args:
157
- timeout: The maximum amount of time (in seconds) to wait for a response.
158
-
159
125
  Returns:
160
126
  `True` if location service is enabled, `False` otherwise.
161
-
162
- Raises:
163
- TimeoutError: If the request times out.
164
127
  """
165
- return await self._invoke_method("is_location_service_enabled", timeout=timeout)
128
+ return await self._invoke_method("is_location_service_enabled")
166
129
 
167
- async def open_app_settings(self, timeout: float = 10) -> bool:
130
+ async def open_app_settings(self) -> bool:
168
131
  """
169
132
  Attempts to open the app's settings.
170
133
 
171
134
  Note:
172
- This method is not supported on web plaform.
173
-
174
- Args:
175
- timeout: The maximum amount of time (in seconds) to wait for a response.
135
+ This method is not supported on web platform.
176
136
 
177
137
  Returns:
178
138
  `True` if the app's settings were opened successfully, `False` otherwise.
179
139
 
180
140
  Raises:
181
141
  AssertionError: If invoked on a web platform.
182
- TimeoutError: If the request times out.
183
142
  """
184
143
  assert not self.page.web, "open_app_settings is not supported on web"
185
144
  return await self._invoke_method(
186
145
  "open_app_settings",
187
- timeout=timeout,
188
146
  )
189
147
 
190
- async def open_location_settings(self, timeout: float = 10) -> bool:
148
+ async def open_location_settings(self) -> bool:
191
149
  """
192
150
  Attempts to open the device's location settings.
193
151
 
194
152
  Note:
195
- This method is not supported on web plaform.
196
-
197
- Args:
198
- timeout: The maximum amount of time (in seconds) to wait for a response.
153
+ This method is not supported on web platform.
199
154
 
200
155
  Returns:
201
156
  `True` if the device's settings were opened successfully, `False` otherwise.
202
157
 
203
158
  Raises:
204
159
  AssertionError: If invoked on a web platform.
205
- TimeoutError: If the request times out.
206
160
  """
207
161
  assert not self.page.web, "open_location_settings is not supported on web"
208
162
  return await self._invoke_method(
209
163
  "open_location_settings",
210
- timeout=timeout,
211
164
  )
212
165
 
213
166
  async def distance_between(
@@ -216,8 +169,7 @@ class Geolocator(ft.Service):
216
169
  start_longitude: ft.Number,
217
170
  end_latitude: ft.Number,
218
171
  end_longitude: ft.Number,
219
- timeout: float = 10,
220
- ):
172
+ ) -> ft.Number:
221
173
  """
222
174
  Calculates the distance between the supplied coordinates in meters.
223
175
 
@@ -229,15 +181,11 @@ class Geolocator(ft.Service):
229
181
  start_longitude: The longitude of the starting point, in degrees.
230
182
  end_latitude: The latitude of the ending point, in degrees.
231
183
  end_longitude: The longitude of the ending point, in degrees.
232
- timeout: The maximum amount of time (in seconds) to wait for a response.
233
184
 
234
185
  Returns:
235
186
  The distance between the coordinates in meters.
236
-
237
- Raises:
238
- TimeoutError: If the request times out.
239
187
  """
240
- await self._invoke_method(
188
+ return await self._invoke_method(
241
189
  method_name="distance_between",
242
190
  arguments={
243
191
  "start_latitude": start_latitude,
@@ -245,5 +193,4 @@ class Geolocator(ft.Service):
245
193
  "end_latitude": end_latitude,
246
194
  "end_longitude": end_longitude,
247
195
  },
248
- timeout=timeout,
249
196
  )
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-geolocator
3
- Version: 0.2.0.dev505
3
+ Version: 0.70.0.dev6293
4
4
  Summary: Adds geolocation capabilities to your 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
9
- Project-URL: Repository, https://github.com/flet-dev/flet-geolocator
10
- Project-URL: Issues, https://github.com/flet-dev/flet-geolocator/issues
8
+ Project-URL: Documentation, https://docs.flet.dev/geolocator
9
+ Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-geolocator
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.dev6293
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-geolocator
18
18
 
19
19
  [![pypi](https://img.shields.io/pypi/v/flet-geolocator.svg)](https://pypi.python.org/pypi/flet-geolocator)
20
20
  [![downloads](https://static.pepy.tech/badge/flet-geolocator/month)](https://pepy.tech/project/flet-geolocator)
21
- [![license](https://img.shields.io/github/license/flet-dev/flet-geolocator.svg)](https://github.com/flet-dev/flet-geolocator/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-geolocator/LICENSE)
22
22
 
23
23
  Adds geolocation capabilities to your [Flet](https://flet.dev) apps.
24
24
 
@@ -30,22 +30,17 @@ Features include:
30
30
 
31
31
  It is based on the [geolocator](https://pub.dev/packages/geolocator) Flutter package.
32
32
 
33
+ > **Important:** Add the `Geolocator` instance to `page.services` before invoking its methods.
34
+
33
35
  ## Documentation
34
36
 
35
- Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-geolocator/).
37
+ Detailed documentation to this package can be found [here](https://docs.flet.dev/geolocator/).
36
38
 
37
39
  ## Platform Support
38
40
 
39
- This package supports the following platforms:
40
-
41
- | Platform | Supported |
42
- |----------|:---------:|
43
- | Windows | ✅ |
44
- | macOS | ✅ |
45
- | Linux | ✅ |
46
- | iOS | ✅ |
47
- | Android | ✅ |
48
- | Web | ✅ |
41
+ | Platform | Windows | macOS | Linux | iOS | Android | Web |
42
+ |----------|---------|-------|-------|-----|---------|-----|
43
+ | Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
49
44
 
50
45
  ## Usage
51
46
 
@@ -64,11 +59,6 @@ To install the `flet-geolocator` package and add it to your project dependencies
64
59
  ```
65
60
  After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
66
61
 
67
- - Using `poetry`:
68
- ```bash
69
- poetry add flet-geolocator
70
- ```
71
-
72
62
  ### Examples
73
63
 
74
- For examples, see [these](./examples).
64
+ For examples, see [these](https://github.com/flet-dev/flet/tree/main/examples/controls/geolocator).
@@ -9,11 +9,7 @@ src/flet_geolocator.egg-info/SOURCES.txt
9
9
  src/flet_geolocator.egg-info/dependency_links.txt
10
10
  src/flet_geolocator.egg-info/requires.txt
11
11
  src/flet_geolocator.egg-info/top_level.txt
12
- src/flutter/flet_geolocator/CHANGELOG.md
13
- src/flutter/flet_geolocator/LICENSE
14
- src/flutter/flet_geolocator/README.md
15
12
  src/flutter/flet_geolocator/analysis_options.yaml
16
- src/flutter/flet_geolocator/pubspec.lock
17
13
  src/flutter/flet_geolocator/pubspec.yaml
18
14
  src/flutter/flet_geolocator/lib/flet_geolocator.dart
19
15
  src/flutter/flet_geolocator/lib/src/extension.dart
@@ -0,0 +1 @@
1
+ flet==0.70.0.dev6293
@@ -0,0 +1,23 @@
1
+ name: flet_geolocator
2
+ description: Flet Geolocator 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
+ geolocator: 14.0.2
15
+ collection: ^1.16.0
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-geolocator"
3
- version = "0.2.0.dev505"
4
- description = "Adds geolocation capabilities to your 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"
16
- Repository = "https://github.com/flet-dev/flet-geolocator"
17
- Issues = "https://github.com/flet-dev/flet-geolocator/issues"
18
-
19
- [tool.setuptools.package-data]
20
- "flutter.flet_geolocator" = ["**/*"]
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 +0,0 @@
1
- flet>=0.70.0.dev0
@@ -1,3 +0,0 @@
1
- # 0.1.0
2
-
3
- Initial release of the package.