winrt-Windows.Devices.Bluetooth.GenericAttributeProfile 2.0.0b1__tar.gz → 2.0.1__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.
Files changed (21) hide show
  1. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/PKG-INFO +9 -2
  2. winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1/all-requirements.txt +7 -0
  3. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/py.Windows.Devices.Bluetooth.GenericAttributeProfile.cpp +1 -1
  4. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1/setup.py +31 -0
  8. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt/_winrt_windows_devices_bluetooth_genericattributeprofile.pyi +49 -1
  9. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt/windows/devices/bluetooth/genericattributeprofile/__init__.py +1 -1
  10. winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1/winrt/windows/devices/bluetooth/genericattributeprofile/py.typed +0 -0
  11. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/PKG-INFO +9 -2
  12. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/requires.txt +8 -0
  14. winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1/all-requirements.txt +0 -7
  15. winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/requires.txt +0 -8
  18. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/README.md +0 -0
  19. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.Devices.Bluetooth.GenericAttributeProfile-2.0.0b1 → winrt_windows_devices_bluetooth_genericattributeprofile-2.0.1}/winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Bluetooth[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Devices.Enumeration[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Devices.Bluetooth[all]==2.0.1
4
+ winrt-Windows.Devices.Enumeration[all]==2.0.1
5
+ winrt-Windows.Foundation[all]==2.0.1
6
+ winrt-Windows.Foundation.Collections[all]==2.0.1
7
+ winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.Devices.Bluetooth.GenericAttributeProfile.h"
4
4
 
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
19
19
  requires-python = ">=3.9,<3.13"
20
20
 
21
21
  [project.urls]
22
- # Homepage = "https://github.com/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
22
+ # Homepage = "https://github.com/pywinrt/pywinrt"
23
+ Documentation = "https://pywinrt.readthedocs.io"
24
+ Repository = "https://github.com/pywinrt/pywinrt"
25
25
  Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
26
 
27
27
  [tool.setuptools.dynamic]
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
+ [tool.setuptools.package-data]
33
+ "*" = ["*.pyi", "py.typed"]
34
+
32
35
  [tool.cibuildwheel]
33
36
  # use local winrt-sdk build dependency
34
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
3
+ winrt-runtime==2.0.1
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_devices_bluetooth_genericattributeprofile",
26
+ sources=["py.Windows.Devices.Bluetooth.GenericAttributeProfile.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -19,9 +19,11 @@ from winrt.windows.devices.bluetooth.genericattributeprofile import GattCharacte
19
19
 
20
20
  Self = typing.TypeVar('Self')
21
21
 
22
+ @typing.final
22
23
  class GattCharacteristic_Static(type):
23
24
  def convert_short_id_to_uuid(cls, short_id: winrt.system.UInt16, /) -> _uuid.UUID: ...
24
25
 
26
+ @typing.final
25
27
  class GattCharacteristic(winrt.system.Object, metaclass=GattCharacteristic_Static):
26
28
  @staticmethod
27
29
  def _from(obj: winrt.system.Object, /) -> GattCharacteristic: ...
@@ -69,6 +71,7 @@ class GattCharacteristic(winrt.system.Object, metaclass=GattCharacteristic_Stati
69
71
  @_property
70
72
  def service(self) -> typing.Optional[GattDeviceService]: ...
71
73
 
74
+ @typing.final
72
75
  class GattCharacteristicUuids_Static(type):
73
76
  @_property
74
77
  def heart_rate_measurement(cls) -> _uuid.UUID: ...
@@ -233,10 +236,12 @@ class GattCharacteristicUuids_Static(type):
233
236
  @_property
234
237
  def gap_device_name(cls) -> _uuid.UUID: ...
235
238
 
239
+ @typing.final
236
240
  class GattCharacteristicUuids(winrt.system.Object, metaclass=GattCharacteristicUuids_Static):
237
241
  @staticmethod
238
242
  def _from(obj: winrt.system.Object, /) -> GattCharacteristicUuids: ...
239
243
 
244
+ @typing.final
240
245
  class GattCharacteristicsResult(winrt.system.Object):
241
246
  @staticmethod
242
247
  def _from(obj: winrt.system.Object, /) -> GattCharacteristicsResult: ...
@@ -247,6 +252,7 @@ class GattCharacteristicsResult(winrt.system.Object):
247
252
  @_property
248
253
  def status(self) -> GattCommunicationStatus: ...
249
254
 
255
+ @typing.final
250
256
  class GattClientNotificationResult(winrt.system.Object):
251
257
  @staticmethod
252
258
  def _from(obj: winrt.system.Object, /) -> GattClientNotificationResult: ...
@@ -259,9 +265,11 @@ class GattClientNotificationResult(winrt.system.Object):
259
265
  @_property
260
266
  def bytes_sent(self) -> winrt.system.UInt16: ...
261
267
 
268
+ @typing.final
262
269
  class GattDescriptor_Static(type):
263
270
  def convert_short_id_to_uuid(cls, short_id: winrt.system.UInt16, /) -> _uuid.UUID: ...
264
271
 
272
+ @typing.final
265
273
  class GattDescriptor(winrt.system.Object, metaclass=GattDescriptor_Static):
266
274
  @staticmethod
267
275
  def _from(obj: winrt.system.Object, /) -> GattDescriptor: ...
@@ -280,6 +288,7 @@ class GattDescriptor(winrt.system.Object, metaclass=GattDescriptor_Static):
280
288
  @_property
281
289
  def uuid(self) -> _uuid.UUID: ...
282
290
 
291
+ @typing.final
283
292
  class GattDescriptorUuids_Static(type):
284
293
  @_property
285
294
  def characteristic_aggregate_format(cls) -> _uuid.UUID: ...
@@ -294,10 +303,12 @@ class GattDescriptorUuids_Static(type):
294
303
  @_property
295
304
  def server_characteristic_configuration(cls) -> _uuid.UUID: ...
296
305
 
306
+ @typing.final
297
307
  class GattDescriptorUuids(winrt.system.Object, metaclass=GattDescriptorUuids_Static):
298
308
  @staticmethod
299
309
  def _from(obj: winrt.system.Object, /) -> GattDescriptorUuids: ...
300
310
 
311
+ @typing.final
301
312
  class GattDescriptorsResult(winrt.system.Object):
302
313
  @staticmethod
303
314
  def _from(obj: winrt.system.Object, /) -> GattDescriptorsResult: ...
@@ -308,6 +319,7 @@ class GattDescriptorsResult(winrt.system.Object):
308
319
  @_property
309
320
  def status(self) -> GattCommunicationStatus: ...
310
321
 
322
+ @typing.final
311
323
  class GattDeviceService_Static(type):
312
324
  def convert_short_id_to_uuid(cls, short_id: winrt.system.UInt16, /) -> _uuid.UUID: ...
313
325
  @typing.overload
@@ -325,6 +337,7 @@ class GattDeviceService_Static(type):
325
337
  def get_device_selector_from_short_id(cls, service_short_id: winrt.system.UInt16, /) -> str: ...
326
338
  def get_device_selector_from_uuid(cls, service_uuid: _uuid.UUID, /) -> str: ...
327
339
 
340
+ @typing.final
328
341
  class GattDeviceService(winrt.system.Object, metaclass=GattDeviceService_Static):
329
342
  def __enter__(self: Self) -> Self: ...
330
343
  def __exit__(self, *args) -> None: ...
@@ -370,6 +383,7 @@ class GattDeviceService(winrt.system.Object, metaclass=GattDeviceService_Static)
370
383
  @_property
371
384
  def sharing_mode(self) -> GattSharingMode: ...
372
385
 
386
+ @typing.final
373
387
  class GattDeviceServicesResult(winrt.system.Object):
374
388
  @staticmethod
375
389
  def _from(obj: winrt.system.Object, /) -> GattDeviceServicesResult: ...
@@ -380,6 +394,7 @@ class GattDeviceServicesResult(winrt.system.Object):
380
394
  @_property
381
395
  def status(self) -> GattCommunicationStatus: ...
382
396
 
397
+ @typing.final
383
398
  class GattLocalCharacteristic(winrt.system.Object):
384
399
  @staticmethod
385
400
  def _from(obj: winrt.system.Object, /) -> GattLocalCharacteristic: ...
@@ -413,6 +428,7 @@ class GattLocalCharacteristic(winrt.system.Object):
413
428
  @_property
414
429
  def write_protection_level(self) -> GattProtectionLevel: ...
415
430
 
431
+ @typing.final
416
432
  class GattLocalCharacteristicParameters(winrt.system.Object):
417
433
  @staticmethod
418
434
  def _from(obj: winrt.system.Object, /) -> GattLocalCharacteristicParameters: ...
@@ -440,6 +456,7 @@ class GattLocalCharacteristicParameters(winrt.system.Object):
440
456
  @_property
441
457
  def presentation_formats(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[GattPresentationFormat]]: ...
442
458
 
459
+ @typing.final
443
460
  class GattLocalCharacteristicResult(winrt.system.Object):
444
461
  @staticmethod
445
462
  def _from(obj: winrt.system.Object, /) -> GattLocalCharacteristicResult: ...
@@ -448,6 +465,7 @@ class GattLocalCharacteristicResult(winrt.system.Object):
448
465
  @_property
449
466
  def error(self) -> winrt.windows.devices.bluetooth.BluetoothError: ...
450
467
 
468
+ @typing.final
451
469
  class GattLocalDescriptor(winrt.system.Object):
452
470
  @staticmethod
453
471
  def _from(obj: winrt.system.Object, /) -> GattLocalDescriptor: ...
@@ -464,6 +482,7 @@ class GattLocalDescriptor(winrt.system.Object):
464
482
  @_property
465
483
  def write_protection_level(self) -> GattProtectionLevel: ...
466
484
 
485
+ @typing.final
467
486
  class GattLocalDescriptorParameters(winrt.system.Object):
468
487
  @staticmethod
469
488
  def _from(obj: winrt.system.Object, /) -> GattLocalDescriptorParameters: ...
@@ -481,6 +500,7 @@ class GattLocalDescriptorParameters(winrt.system.Object):
481
500
  @read_protection_level.setter
482
501
  def read_protection_level(self, value: GattProtectionLevel) -> None: ...
483
502
 
503
+ @typing.final
484
504
  class GattLocalDescriptorResult(winrt.system.Object):
485
505
  @staticmethod
486
506
  def _from(obj: winrt.system.Object, /) -> GattLocalDescriptorResult: ...
@@ -489,6 +509,7 @@ class GattLocalDescriptorResult(winrt.system.Object):
489
509
  @_property
490
510
  def error(self) -> winrt.windows.devices.bluetooth.BluetoothError: ...
491
511
 
512
+ @typing.final
492
513
  class GattLocalService(winrt.system.Object):
493
514
  @staticmethod
494
515
  def _from(obj: winrt.system.Object, /) -> GattLocalService: ...
@@ -498,11 +519,13 @@ class GattLocalService(winrt.system.Object):
498
519
  @_property
499
520
  def uuid(self) -> _uuid.UUID: ...
500
521
 
522
+ @typing.final
501
523
  class GattPresentationFormat_Static(type):
502
524
  def from_parts(cls, format_type: winrt.system.UInt8, exponent: winrt.system.Int32, unit: winrt.system.UInt16, namespace_id: winrt.system.UInt8, description: winrt.system.UInt16, /) -> typing.Optional[GattPresentationFormat]: ...
503
525
  @_property
504
526
  def bluetooth_sig_assigned_numbers(cls) -> winrt.system.UInt8: ...
505
527
 
528
+ @typing.final
506
529
  class GattPresentationFormat(winrt.system.Object, metaclass=GattPresentationFormat_Static):
507
530
  @staticmethod
508
531
  def _from(obj: winrt.system.Object, /) -> GattPresentationFormat: ...
@@ -517,6 +540,7 @@ class GattPresentationFormat(winrt.system.Object, metaclass=GattPresentationForm
517
540
  @_property
518
541
  def unit(self) -> winrt.system.UInt16: ...
519
542
 
543
+ @typing.final
520
544
  class GattPresentationFormatTypes_Static(type):
521
545
  @_property
522
546
  def bit2(cls) -> winrt.system.UInt8: ...
@@ -573,10 +597,12 @@ class GattPresentationFormatTypes_Static(type):
573
597
  @_property
574
598
  def utf8(cls) -> winrt.system.UInt8: ...
575
599
 
600
+ @typing.final
576
601
  class GattPresentationFormatTypes(winrt.system.Object, metaclass=GattPresentationFormatTypes_Static):
577
602
  @staticmethod
578
603
  def _from(obj: winrt.system.Object, /) -> GattPresentationFormatTypes: ...
579
604
 
605
+ @typing.final
580
606
  class GattProtocolError_Static(type):
581
607
  @_property
582
608
  def attribute_not_found(cls) -> winrt.system.UInt8: ...
@@ -613,10 +639,12 @@ class GattProtocolError_Static(type):
613
639
  @_property
614
640
  def write_not_permitted(cls) -> winrt.system.UInt8: ...
615
641
 
642
+ @typing.final
616
643
  class GattProtocolError(winrt.system.Object, metaclass=GattProtocolError_Static):
617
644
  @staticmethod
618
645
  def _from(obj: winrt.system.Object, /) -> GattProtocolError: ...
619
646
 
647
+ @typing.final
620
648
  class GattReadClientCharacteristicConfigurationDescriptorResult(winrt.system.Object):
621
649
  @staticmethod
622
650
  def _from(obj: winrt.system.Object, /) -> GattReadClientCharacteristicConfigurationDescriptorResult: ...
@@ -627,6 +655,7 @@ class GattReadClientCharacteristicConfigurationDescriptorResult(winrt.system.Obj
627
655
  @_property
628
656
  def protocol_error(self) -> typing.Optional[typing.Optional[winrt.system.UInt8]]: ...
629
657
 
658
+ @typing.final
630
659
  class GattReadRequest(winrt.system.Object):
631
660
  @staticmethod
632
661
  def _from(obj: winrt.system.Object, /) -> GattReadRequest: ...
@@ -641,6 +670,7 @@ class GattReadRequest(winrt.system.Object):
641
670
  @_property
642
671
  def state(self) -> GattRequestState: ...
643
672
 
673
+ @typing.final
644
674
  class GattReadRequestedEventArgs(winrt.system.Object):
645
675
  @staticmethod
646
676
  def _from(obj: winrt.system.Object, /) -> GattReadRequestedEventArgs: ...
@@ -649,6 +679,7 @@ class GattReadRequestedEventArgs(winrt.system.Object):
649
679
  @_property
650
680
  def session(self) -> typing.Optional[GattSession]: ...
651
681
 
682
+ @typing.final
652
683
  class GattReadResult(winrt.system.Object):
653
684
  @staticmethod
654
685
  def _from(obj: winrt.system.Object, /) -> GattReadResult: ...
@@ -659,6 +690,7 @@ class GattReadResult(winrt.system.Object):
659
690
  @_property
660
691
  def protocol_error(self) -> typing.Optional[typing.Optional[winrt.system.UInt8]]: ...
661
692
 
693
+ @typing.final
662
694
  class GattReliableWriteTransaction(winrt.system.Object):
663
695
  @staticmethod
664
696
  def _from(obj: winrt.system.Object, /) -> GattReliableWriteTransaction: ...
@@ -667,6 +699,7 @@ class GattReliableWriteTransaction(winrt.system.Object):
667
699
  def commit_with_result_async(self) -> winrt.windows.foundation.IAsyncOperation[GattWriteResult]: ...
668
700
  def write_value(self, characteristic: typing.Optional[GattCharacteristic], value: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> None: ...
669
701
 
702
+ @typing.final
670
703
  class GattRequestStateChangedEventArgs(winrt.system.Object):
671
704
  @staticmethod
672
705
  def _from(obj: winrt.system.Object, /) -> GattRequestStateChangedEventArgs: ...
@@ -675,9 +708,11 @@ class GattRequestStateChangedEventArgs(winrt.system.Object):
675
708
  @_property
676
709
  def state(self) -> GattRequestState: ...
677
710
 
711
+ @typing.final
678
712
  class GattServiceProvider_Static(type):
679
713
  def create_async(cls, service_uuid: _uuid.UUID, /) -> winrt.windows.foundation.IAsyncOperation[GattServiceProviderResult]: ...
680
714
 
715
+ @typing.final
681
716
  class GattServiceProvider(winrt.system.Object, metaclass=GattServiceProvider_Static):
682
717
  @staticmethod
683
718
  def _from(obj: winrt.system.Object, /) -> GattServiceProvider: ...
@@ -693,6 +728,7 @@ class GattServiceProvider(winrt.system.Object, metaclass=GattServiceProvider_Sta
693
728
  @_property
694
729
  def service(self) -> typing.Optional[GattLocalService]: ...
695
730
 
731
+ @typing.final
696
732
  class GattServiceProviderAdvertisementStatusChangedEventArgs(winrt.system.Object):
697
733
  @staticmethod
698
734
  def _from(obj: winrt.system.Object, /) -> GattServiceProviderAdvertisementStatusChangedEventArgs: ...
@@ -701,6 +737,7 @@ class GattServiceProviderAdvertisementStatusChangedEventArgs(winrt.system.Object
701
737
  @_property
702
738
  def status(self) -> GattServiceProviderAdvertisementStatus: ...
703
739
 
740
+ @typing.final
704
741
  class GattServiceProviderAdvertisingParameters(winrt.system.Object):
705
742
  @staticmethod
706
743
  def _from(obj: winrt.system.Object, /) -> GattServiceProviderAdvertisingParameters: ...
@@ -718,6 +755,7 @@ class GattServiceProviderAdvertisingParameters(winrt.system.Object):
718
755
  @service_data.setter
719
756
  def service_data(self, value: typing.Optional[winrt.windows.storage.streams.IBuffer]) -> None: ...
720
757
 
758
+ @typing.final
721
759
  class GattServiceProviderResult(winrt.system.Object):
722
760
  @staticmethod
723
761
  def _from(obj: winrt.system.Object, /) -> GattServiceProviderResult: ...
@@ -726,6 +764,7 @@ class GattServiceProviderResult(winrt.system.Object):
726
764
  @_property
727
765
  def service_provider(self) -> typing.Optional[GattServiceProvider]: ...
728
766
 
767
+ @typing.final
729
768
  class GattServiceUuids_Static(type):
730
769
  @_property
731
770
  def battery(cls) -> _uuid.UUID: ...
@@ -772,13 +811,16 @@ class GattServiceUuids_Static(type):
772
811
  @_property
773
812
  def tx_power(cls) -> _uuid.UUID: ...
774
813
 
814
+ @typing.final
775
815
  class GattServiceUuids(winrt.system.Object, metaclass=GattServiceUuids_Static):
776
816
  @staticmethod
777
817
  def _from(obj: winrt.system.Object, /) -> GattServiceUuids: ...
778
818
 
819
+ @typing.final
779
820
  class GattSession_Static(type):
780
821
  def from_device_id_async(cls, device_id: typing.Optional[winrt.windows.devices.bluetooth.BluetoothDeviceId], /) -> winrt.windows.foundation.IAsyncOperation[GattSession]: ...
781
822
 
823
+ @typing.final
782
824
  class GattSession(winrt.system.Object, metaclass=GattSession_Static):
783
825
  def __enter__(self: Self) -> Self: ...
784
826
  def __exit__(self, *args) -> None: ...
@@ -802,6 +844,7 @@ class GattSession(winrt.system.Object, metaclass=GattSession_Static):
802
844
  @_property
803
845
  def session_status(self) -> GattSessionStatus: ...
804
846
 
847
+ @typing.final
805
848
  class GattSessionStatusChangedEventArgs(winrt.system.Object):
806
849
  @staticmethod
807
850
  def _from(obj: winrt.system.Object, /) -> GattSessionStatusChangedEventArgs: ...
@@ -810,6 +853,7 @@ class GattSessionStatusChangedEventArgs(winrt.system.Object):
810
853
  @_property
811
854
  def status(self) -> GattSessionStatus: ...
812
855
 
856
+ @typing.final
813
857
  class GattSubscribedClient(winrt.system.Object):
814
858
  @staticmethod
815
859
  def _from(obj: winrt.system.Object, /) -> GattSubscribedClient: ...
@@ -820,6 +864,7 @@ class GattSubscribedClient(winrt.system.Object):
820
864
  @_property
821
865
  def session(self) -> typing.Optional[GattSession]: ...
822
866
 
867
+ @typing.final
823
868
  class GattValueChangedEventArgs(winrt.system.Object):
824
869
  @staticmethod
825
870
  def _from(obj: winrt.system.Object, /) -> GattValueChangedEventArgs: ...
@@ -828,6 +873,7 @@ class GattValueChangedEventArgs(winrt.system.Object):
828
873
  @_property
829
874
  def timestamp(self) -> datetime.datetime: ...
830
875
 
876
+ @typing.final
831
877
  class GattWriteRequest(winrt.system.Object):
832
878
  @staticmethod
833
879
  def _from(obj: winrt.system.Object, /) -> GattWriteRequest: ...
@@ -844,6 +890,7 @@ class GattWriteRequest(winrt.system.Object):
844
890
  @_property
845
891
  def value(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
846
892
 
893
+ @typing.final
847
894
  class GattWriteRequestedEventArgs(winrt.system.Object):
848
895
  @staticmethod
849
896
  def _from(obj: winrt.system.Object, /) -> GattWriteRequestedEventArgs: ...
@@ -852,6 +899,7 @@ class GattWriteRequestedEventArgs(winrt.system.Object):
852
899
  @_property
853
900
  def session(self) -> typing.Optional[GattSession]: ...
854
901
 
902
+ @typing.final
855
903
  class GattWriteResult(winrt.system.Object):
856
904
  @staticmethod
857
905
  def _from(obj: winrt.system.Object, /) -> GattWriteResult: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
4
 
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Bluetooth[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Devices.Enumeration[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_devices_bluetooth_genericattributeprofile.pyi
9
9
  winrt/windows/devices/bluetooth/genericattributeprofile/__init__.py
10
+ winrt/windows/devices/bluetooth/genericattributeprofile/py.typed
10
11
  winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/PKG-INFO
11
12
  winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/SOURCES.txt
12
13
  winrt_Windows.Devices.Bluetooth.GenericAttributeProfile.egg-info/dependency_links.txt
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Devices.Bluetooth[all]==2.0.1
5
+ winrt-Windows.Devices.Enumeration[all]==2.0.1
6
+ winrt-Windows.Foundation[all]==2.0.1
7
+ winrt-Windows.Foundation.Collections[all]==2.0.1
8
+ winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
-
3
- winrt-Windows.Devices.Bluetooth[all]==2.0.0-beta.1
4
- winrt-Windows.Devices.Enumeration[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation[all]==2.0.0-beta.1
6
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
7
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
@@ -1,17 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- from setuptools import Extension, setup
4
- from winrt_sdk import get_include_dirs
5
-
6
- setup(
7
- ext_modules=[
8
- Extension(
9
- "winrt._winrt_windows_devices_bluetooth_genericattributeprofile",
10
- sources=["py.Windows.Devices.Bluetooth.GenericAttributeProfile.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- package_data={"winrt": ["*.pyi"]},
17
- )
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Devices.Bluetooth[all]==2.0.0-beta.1
5
- winrt-Windows.Devices.Enumeration[all]==2.0.0-beta.1
6
- winrt-Windows.Foundation[all]==2.0.0-beta.1
7
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1