winrt-Windows.ApplicationModel.Contacts 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.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/PKG-INFO +12 -2
  2. winrt_windows_applicationmodel_contacts-2.0.1/all-requirements.txt +10 -0
  3. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/py.Windows.ApplicationModel.Contacts.cpp +1 -1
  4. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_applicationmodel_contacts-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_applicationmodel_contacts-2.0.1/setup.py +31 -0
  8. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt/_winrt_windows_applicationmodel_contacts.pyi +58 -1
  9. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt/windows/applicationmodel/contacts/__init__.py +1 -1
  10. winrt_windows_applicationmodel_contacts-2.0.1/winrt/windows/applicationmodel/contacts/py.typed +0 -0
  11. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt_Windows.ApplicationModel.Contacts.egg-info/PKG-INFO +12 -2
  12. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt_Windows.ApplicationModel.Contacts.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_applicationmodel_contacts-2.0.1/winrt_Windows.ApplicationModel.Contacts.egg-info/requires.txt +11 -0
  14. winrt-Windows.ApplicationModel.Contacts-2.0.0b1/all-requirements.txt +0 -10
  15. winrt-Windows.ApplicationModel.Contacts-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.ApplicationModel.Contacts-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.ApplicationModel.Contacts-2.0.0b1/winrt_Windows.ApplicationModel.Contacts.egg-info/requires.txt +0 -11
  18. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/README.md +0 -0
  19. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt_Windows.ApplicationModel.Contacts.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.ApplicationModel.Contacts-2.0.0b1 → winrt_windows_applicationmodel_contacts-2.0.1}/winrt_Windows.ApplicationModel.Contacts.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Contacts
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,16 @@ 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.Data.Text[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
24
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
15
25
 
16
26
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
27
 
@@ -0,0 +1,10 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Data.Text[all]==2.0.1
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Storage.Streams[all]==2.0.1
7
+ winrt-Windows.System[all]==2.0.1
8
+ winrt-Windows.UI[all]==2.0.1
9
+ winrt-Windows.UI.Popups[all]==2.0.1
10
+ winrt-Windows.UI.ViewManagement[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.ApplicationModel.Contacts.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_applicationmodel_contacts",
26
+ sources=["py.Windows.ApplicationModel.Contacts.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
@@ -22,6 +22,7 @@ from winrt.windows.applicationmodel.contacts import ContactAddressKind, ContactA
22
22
 
23
23
  Self = typing.TypeVar('Self')
24
24
 
25
+ @typing.final
25
26
  class AggregateContactManager(winrt.system.Object):
26
27
  @staticmethod
27
28
  def _from(obj: winrt.system.Object, /) -> AggregateContactManager: ...
@@ -31,6 +32,7 @@ class AggregateContactManager(winrt.system.Object):
31
32
  def try_set_preferred_source_for_picture_async(self, aggregate_contact: typing.Optional[Contact], raw_contact: typing.Optional[Contact], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
32
33
  def unlink_raw_contact_async(self, contact: typing.Optional[Contact], /) -> winrt.windows.foundation.IAsyncAction: ...
33
34
 
35
+ @typing.final
34
36
  class Contact(winrt.system.Object):
35
37
  @staticmethod
36
38
  def _from(obj: winrt.system.Object, /) -> Contact: ...
@@ -152,6 +154,7 @@ class Contact(winrt.system.Object):
152
154
  @_property
153
155
  def yomi_display_name(self) -> str: ...
154
156
 
157
+ @typing.final
155
158
  class ContactAddress(winrt.system.Object):
156
159
  @staticmethod
157
160
  def _from(obj: winrt.system.Object, /) -> ContactAddress: ...
@@ -185,6 +188,7 @@ class ContactAddress(winrt.system.Object):
185
188
  @country.setter
186
189
  def country(self, value: str) -> None: ...
187
190
 
191
+ @typing.final
188
192
  class ContactAnnotation(winrt.system.Object):
189
193
  @staticmethod
190
194
  def _from(obj: winrt.system.Object, /) -> ContactAnnotation: ...
@@ -214,6 +218,7 @@ class ContactAnnotation(winrt.system.Object):
214
218
  @contact_list_id.setter
215
219
  def contact_list_id(self, value: str) -> None: ...
216
220
 
221
+ @typing.final
217
222
  class ContactAnnotationList(winrt.system.Object):
218
223
  @staticmethod
219
224
  def _from(obj: winrt.system.Object, /) -> ContactAnnotationList: ...
@@ -230,6 +235,7 @@ class ContactAnnotationList(winrt.system.Object):
230
235
  @_property
231
236
  def user_data_account_id(self) -> str: ...
232
237
 
238
+ @typing.final
233
239
  class ContactAnnotationStore(winrt.system.Object):
234
240
  @staticmethod
235
241
  def _from(obj: winrt.system.Object, /) -> ContactAnnotationStore: ...
@@ -245,6 +251,7 @@ class ContactAnnotationStore(winrt.system.Object):
245
251
  def find_contact_ids_by_phone_number_async(self, phone_number: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[str]]: ...
246
252
  def get_annotation_list_async(self, annotation_list_id: str, /) -> winrt.windows.foundation.IAsyncOperation[ContactAnnotationList]: ...
247
253
 
254
+ @typing.final
248
255
  class ContactBatch(winrt.system.Object):
249
256
  @staticmethod
250
257
  def _from(obj: winrt.system.Object, /) -> ContactBatch: ...
@@ -253,6 +260,7 @@ class ContactBatch(winrt.system.Object):
253
260
  @_property
254
261
  def status(self) -> ContactBatchStatus: ...
255
262
 
263
+ @typing.final
256
264
  class ContactCardDelayedDataLoader(winrt.system.Object):
257
265
  def __enter__(self: Self) -> Self: ...
258
266
  def __exit__(self, *args) -> None: ...
@@ -261,6 +269,7 @@ class ContactCardDelayedDataLoader(winrt.system.Object):
261
269
  def close(self) -> None: ...
262
270
  def set_data(self, contact: typing.Optional[Contact], /) -> None: ...
263
271
 
272
+ @typing.final
264
273
  class ContactCardOptions(winrt.system.Object):
265
274
  @staticmethod
266
275
  def _from(obj: winrt.system.Object, /) -> ContactCardOptions: ...
@@ -276,6 +285,7 @@ class ContactCardOptions(winrt.system.Object):
276
285
  @_property
277
286
  def server_search_contact_list_ids(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
278
287
 
288
+ @typing.final
279
289
  class ContactChange(winrt.system.Object):
280
290
  @staticmethod
281
291
  def _from(obj: winrt.system.Object, /) -> ContactChange: ...
@@ -284,6 +294,7 @@ class ContactChange(winrt.system.Object):
284
294
  @_property
285
295
  def contact(self) -> typing.Optional[Contact]: ...
286
296
 
297
+ @typing.final
287
298
  class ContactChangeReader(winrt.system.Object):
288
299
  @staticmethod
289
300
  def _from(obj: winrt.system.Object, /) -> ContactChangeReader: ...
@@ -291,6 +302,7 @@ class ContactChangeReader(winrt.system.Object):
291
302
  def accept_changes_through(self, last_change_to_accept: typing.Optional[ContactChange], /) -> None: ...
292
303
  def read_batch_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[ContactChange]]: ...
293
304
 
305
+ @typing.final
294
306
  class ContactChangeTracker(winrt.system.Object):
295
307
  @staticmethod
296
308
  def _from(obj: winrt.system.Object, /) -> ContactChangeTracker: ...
@@ -300,16 +312,19 @@ class ContactChangeTracker(winrt.system.Object):
300
312
  @_property
301
313
  def is_tracking(self) -> bool: ...
302
314
 
315
+ @typing.final
303
316
  class ContactChangedDeferral(winrt.system.Object):
304
317
  @staticmethod
305
318
  def _from(obj: winrt.system.Object, /) -> ContactChangedDeferral: ...
306
319
  def complete(self) -> None: ...
307
320
 
321
+ @typing.final
308
322
  class ContactChangedEventArgs(winrt.system.Object):
309
323
  @staticmethod
310
324
  def _from(obj: winrt.system.Object, /) -> ContactChangedEventArgs: ...
311
325
  def get_deferral(self) -> typing.Optional[ContactChangedDeferral]: ...
312
326
 
327
+ @typing.final
313
328
  class ContactConnectedServiceAccount(winrt.system.Object):
314
329
  @staticmethod
315
330
  def _from(obj: winrt.system.Object, /) -> ContactConnectedServiceAccount: ...
@@ -323,6 +338,7 @@ class ContactConnectedServiceAccount(winrt.system.Object):
323
338
  @id.setter
324
339
  def id(self, value: str) -> None: ...
325
340
 
341
+ @typing.final
326
342
  class ContactDate(winrt.system.Object):
327
343
  @staticmethod
328
344
  def _from(obj: winrt.system.Object, /) -> ContactDate: ...
@@ -348,6 +364,7 @@ class ContactDate(winrt.system.Object):
348
364
  @day.setter
349
365
  def day(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
350
366
 
367
+ @typing.final
351
368
  class ContactEmail(winrt.system.Object):
352
369
  @staticmethod
353
370
  def _from(obj: winrt.system.Object, /) -> ContactEmail: ...
@@ -365,6 +382,7 @@ class ContactEmail(winrt.system.Object):
365
382
  @address.setter
366
383
  def address(self, value: str) -> None: ...
367
384
 
385
+ @typing.final
368
386
  class ContactField(winrt.system.Object):
369
387
  @staticmethod
370
388
  def _from(obj: winrt.system.Object, /) -> ContactField: ...
@@ -383,6 +401,7 @@ class ContactField(winrt.system.Object):
383
401
  @_property
384
402
  def value(self) -> str: ...
385
403
 
404
+ @typing.final
386
405
  class ContactFieldFactory(winrt.system.Object):
387
406
  @staticmethod
388
407
  def _from(obj: winrt.system.Object, /) -> ContactFieldFactory: ...
@@ -406,10 +425,12 @@ class ContactFieldFactory(winrt.system.Object):
406
425
  @typing.overload
407
426
  def create_location(self, unstructured_address: str, category: ContactFieldCategory, street: str, city: str, region: str, country: str, postal_code: str, /) -> typing.Optional[ContactLocationField]: ...
408
427
 
428
+ @typing.final
409
429
  class ContactGroup(winrt.system.Object):
410
430
  @staticmethod
411
431
  def _from(obj: winrt.system.Object, /) -> ContactGroup: ...
412
432
 
433
+ @typing.final
413
434
  class ContactInformation(winrt.system.Object):
414
435
  @staticmethod
415
436
  def _from(obj: winrt.system.Object, /) -> ContactInformation: ...
@@ -428,6 +449,7 @@ class ContactInformation(winrt.system.Object):
428
449
  @_property
429
450
  def phone_numbers(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ContactField]]: ...
430
451
 
452
+ @typing.final
431
453
  class ContactInstantMessageField(winrt.system.Object):
432
454
  @staticmethod
433
455
  def _from(obj: winrt.system.Object, /) -> ContactInstantMessageField: ...
@@ -454,6 +476,7 @@ class ContactInstantMessageField(winrt.system.Object):
454
476
  @_property
455
477
  def user_name(self) -> str: ...
456
478
 
479
+ @typing.final
457
480
  class ContactJobInfo(winrt.system.Object):
458
481
  @staticmethod
459
482
  def _from(obj: winrt.system.Object, /) -> ContactJobInfo: ...
@@ -491,6 +514,7 @@ class ContactJobInfo(winrt.system.Object):
491
514
  @company_address.setter
492
515
  def company_address(self, value: str) -> None: ...
493
516
 
517
+ @typing.final
494
518
  class ContactLaunchActionVerbs_Static(type):
495
519
  @_property
496
520
  def call(cls) -> str: ...
@@ -503,10 +527,12 @@ class ContactLaunchActionVerbs_Static(type):
503
527
  @_property
504
528
  def video_call(cls) -> str: ...
505
529
 
530
+ @typing.final
506
531
  class ContactLaunchActionVerbs(winrt.system.Object, metaclass=ContactLaunchActionVerbs_Static):
507
532
  @staticmethod
508
533
  def _from(obj: winrt.system.Object, /) -> ContactLaunchActionVerbs: ...
509
534
 
535
+ @typing.final
510
536
  class ContactList(winrt.system.Object):
511
537
  @staticmethod
512
538
  def _from(obj: winrt.system.Object, /) -> ContactList: ...
@@ -560,12 +586,14 @@ class ContactList(winrt.system.Object):
560
586
  @_property
561
587
  def limited_write_operations(self) -> typing.Optional[ContactListLimitedWriteOperations]: ...
562
588
 
589
+ @typing.final
563
590
  class ContactListLimitedWriteOperations(winrt.system.Object):
564
591
  @staticmethod
565
592
  def _from(obj: winrt.system.Object, /) -> ContactListLimitedWriteOperations: ...
566
593
  def try_create_or_update_contact_async(self, contact: typing.Optional[Contact], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
567
594
  def try_delete_contact_async(self, contact_id: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
568
595
 
596
+ @typing.final
569
597
  class ContactListSyncConstraints(winrt.system.Object):
570
598
  @staticmethod
571
599
  def _from(obj: winrt.system.Object, /) -> ContactListSyncConstraints: ...
@@ -682,6 +710,7 @@ class ContactListSyncConstraints(winrt.system.Object):
682
710
  @max_sibling_relationships.setter
683
711
  def max_sibling_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
684
712
 
713
+ @typing.final
685
714
  class ContactListSyncManager(winrt.system.Object):
686
715
  @staticmethod
687
716
  def _from(obj: winrt.system.Object, /) -> ContactListSyncManager: ...
@@ -701,6 +730,7 @@ class ContactListSyncManager(winrt.system.Object):
701
730
  @last_attempted_sync_time.setter
702
731
  def last_attempted_sync_time(self, value: datetime.datetime) -> None: ...
703
732
 
733
+ @typing.final
704
734
  class ContactLocationField(winrt.system.Object):
705
735
  @staticmethod
706
736
  def _from(obj: winrt.system.Object, /) -> ContactLocationField: ...
@@ -731,6 +761,7 @@ class ContactLocationField(winrt.system.Object):
731
761
  @_property
732
762
  def unstructured_address(self) -> str: ...
733
763
 
764
+ @typing.final
734
765
  class ContactManager_Static(type):
735
766
  @typing.overload
736
767
  def convert_contact_to_v_card_async(cls, contact: typing.Optional[Contact], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.RandomAccessStreamReference]: ...
@@ -770,10 +801,12 @@ class ContactManager_Static(type):
770
801
  @include_middle_name_in_system_display_and_sort.setter
771
802
  def include_middle_name_in_system_display_and_sort(cls, value: bool) -> None: ...
772
803
 
804
+ @typing.final
773
805
  class ContactManager(winrt.system.Object, metaclass=ContactManager_Static):
774
806
  @staticmethod
775
807
  def _from(obj: winrt.system.Object, /) -> ContactManager: ...
776
808
 
809
+ @typing.final
777
810
  class ContactManagerForUser(winrt.system.Object):
778
811
  @staticmethod
779
812
  def _from(obj: winrt.system.Object, /) -> ContactManagerForUser: ...
@@ -796,6 +829,7 @@ class ContactManagerForUser(winrt.system.Object):
796
829
  @_property
797
830
  def user(self) -> typing.Optional[winrt.windows.system.User]: ...
798
831
 
832
+ @typing.final
799
833
  class ContactMatchReason(winrt.system.Object):
800
834
  @staticmethod
801
835
  def _from(obj: winrt.system.Object, /) -> ContactMatchReason: ...
@@ -806,6 +840,7 @@ class ContactMatchReason(winrt.system.Object):
806
840
  @_property
807
841
  def text(self) -> str: ...
808
842
 
843
+ @typing.final
809
844
  class ContactPanel(winrt.system.Object):
810
845
  @staticmethod
811
846
  def _from(obj: winrt.system.Object, /) -> ContactPanel: ...
@@ -819,11 +854,13 @@ class ContactPanel(winrt.system.Object):
819
854
  @header_color.setter
820
855
  def header_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
821
856
 
857
+ @typing.final
822
858
  class ContactPanelClosingEventArgs(winrt.system.Object):
823
859
  @staticmethod
824
860
  def _from(obj: winrt.system.Object, /) -> ContactPanelClosingEventArgs: ...
825
861
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
826
862
 
863
+ @typing.final
827
864
  class ContactPanelLaunchFullAppRequestedEventArgs(winrt.system.Object):
828
865
  @staticmethod
829
866
  def _from(obj: winrt.system.Object, /) -> ContactPanelLaunchFullAppRequestedEventArgs: ...
@@ -832,6 +869,7 @@ class ContactPanelLaunchFullAppRequestedEventArgs(winrt.system.Object):
832
869
  @handled.setter
833
870
  def handled(self, value: bool) -> None: ...
834
871
 
872
+ @typing.final
835
873
  class ContactPhone(winrt.system.Object):
836
874
  @staticmethod
837
875
  def _from(obj: winrt.system.Object, /) -> ContactPhone: ...
@@ -849,10 +887,12 @@ class ContactPhone(winrt.system.Object):
849
887
  @description.setter
850
888
  def description(self, value: str) -> None: ...
851
889
 
890
+ @typing.final
852
891
  class ContactPicker_Static(type):
853
892
  def create_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[ContactPicker]: ...
854
893
  def is_supported_async(cls) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
855
894
 
895
+ @typing.final
856
896
  class ContactPicker(winrt.system.Object, metaclass=ContactPicker_Static):
857
897
  @staticmethod
858
898
  def _from(obj: winrt.system.Object, /) -> ContactPicker: ...
@@ -876,6 +916,7 @@ class ContactPicker(winrt.system.Object, metaclass=ContactPicker_Static):
876
916
  @_property
877
917
  def user(self) -> typing.Optional[winrt.windows.system.User]: ...
878
918
 
919
+ @typing.final
879
920
  class ContactQueryOptions(winrt.system.Object):
880
921
  @staticmethod
881
922
  def _from(obj: winrt.system.Object, /) -> ContactQueryOptions: ...
@@ -904,6 +945,7 @@ class ContactQueryOptions(winrt.system.Object):
904
945
  @_property
905
946
  def text_search(self) -> typing.Optional[ContactQueryTextSearch]: ...
906
947
 
948
+ @typing.final
907
949
  class ContactQueryTextSearch(winrt.system.Object):
908
950
  @staticmethod
909
951
  def _from(obj: winrt.system.Object, /) -> ContactQueryTextSearch: ...
@@ -920,12 +962,14 @@ class ContactQueryTextSearch(winrt.system.Object):
920
962
  @fields.setter
921
963
  def fields(self, value: ContactQuerySearchFields) -> None: ...
922
964
 
965
+ @typing.final
923
966
  class ContactReader(winrt.system.Object):
924
967
  @staticmethod
925
968
  def _from(obj: winrt.system.Object, /) -> ContactReader: ...
926
969
  def get_matching_properties_with_match_reason(self, contact: typing.Optional[Contact], /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ContactMatchReason]]: ...
927
970
  def read_batch_async(self) -> winrt.windows.foundation.IAsyncOperation[ContactBatch]: ...
928
971
 
972
+ @typing.final
929
973
  class ContactSignificantOther(winrt.system.Object):
930
974
  @staticmethod
931
975
  def _from(obj: winrt.system.Object, /) -> ContactSignificantOther: ...
@@ -943,6 +987,7 @@ class ContactSignificantOther(winrt.system.Object):
943
987
  @relationship.setter
944
988
  def relationship(self, value: ContactRelationship) -> None: ...
945
989
 
990
+ @typing.final
946
991
  class ContactStore(winrt.system.Object):
947
992
  @staticmethod
948
993
  def _from(obj: winrt.system.Object, /) -> ContactStore: ...
@@ -970,10 +1015,12 @@ class ContactStore(winrt.system.Object):
970
1015
  @_property
971
1016
  def change_tracker(self) -> typing.Optional[ContactChangeTracker]: ...
972
1017
 
1018
+ @typing.final
973
1019
  class ContactStoreNotificationTriggerDetails(winrt.system.Object):
974
1020
  @staticmethod
975
1021
  def _from(obj: winrt.system.Object, /) -> ContactStoreNotificationTriggerDetails: ...
976
1022
 
1023
+ @typing.final
977
1024
  class ContactWebsite(winrt.system.Object):
978
1025
  @staticmethod
979
1026
  def _from(obj: winrt.system.Object, /) -> ContactWebsite: ...
@@ -991,6 +1038,7 @@ class ContactWebsite(winrt.system.Object):
991
1038
  @raw_value.setter
992
1039
  def raw_value(self, value: str) -> None: ...
993
1040
 
1041
+ @typing.final
994
1042
  class FullContactCardOptions(winrt.system.Object):
995
1043
  @staticmethod
996
1044
  def _from(obj: winrt.system.Object, /) -> FullContactCardOptions: ...
@@ -1000,6 +1048,7 @@ class FullContactCardOptions(winrt.system.Object):
1000
1048
  @desired_remaining_view.setter
1001
1049
  def desired_remaining_view(self, value: winrt.windows.ui.viewmanagement.ViewSizePreference) -> None: ...
1002
1050
 
1051
+ @typing.final
1003
1052
  class KnownContactField_Static(type):
1004
1053
  def convert_name_to_type(cls, name: str, /) -> ContactFieldType: ...
1005
1054
  def convert_type_to_name(cls, type: ContactFieldType, /) -> str: ...
@@ -1012,21 +1061,25 @@ class KnownContactField_Static(type):
1012
1061
  @_property
1013
1062
  def phone_number(cls) -> str: ...
1014
1063
 
1064
+ @typing.final
1015
1065
  class KnownContactField(winrt.system.Object, metaclass=KnownContactField_Static):
1016
1066
  @staticmethod
1017
1067
  def _from(obj: winrt.system.Object, /) -> KnownContactField: ...
1018
1068
 
1069
+ @typing.final
1019
1070
  class PinnedContactIdsQueryResult(winrt.system.Object):
1020
1071
  @staticmethod
1021
1072
  def _from(obj: winrt.system.Object, /) -> PinnedContactIdsQueryResult: ...
1022
1073
  @_property
1023
1074
  def contact_ids(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
1024
1075
 
1076
+ @typing.final
1025
1077
  class PinnedContactManager_Static(type):
1026
1078
  def get_default(cls) -> typing.Optional[PinnedContactManager]: ...
1027
1079
  def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[PinnedContactManager]: ...
1028
1080
  def is_supported(cls) -> bool: ...
1029
1081
 
1082
+ @typing.final
1030
1083
  class PinnedContactManager(winrt.system.Object, metaclass=PinnedContactManager_Static):
1031
1084
  @staticmethod
1032
1085
  def _from(obj: winrt.system.Object, /) -> PinnedContactManager: ...
@@ -1040,6 +1093,7 @@ class PinnedContactManager(winrt.system.Object, metaclass=PinnedContactManager_S
1040
1093
  @_property
1041
1094
  def user(self) -> typing.Optional[winrt.windows.system.User]: ...
1042
1095
 
1096
+ @typing.final
1043
1097
  class IContactField(winrt.system.Object):
1044
1098
  @staticmethod
1045
1099
  def _from(obj: winrt.system.Object, /) -> IContactField: ...
@@ -1052,6 +1106,7 @@ class IContactField(winrt.system.Object):
1052
1106
  @_property
1053
1107
  def value(self) -> str: ...
1054
1108
 
1109
+ @typing.final
1055
1110
  class IContactFieldFactory(winrt.system.Object):
1056
1111
  @staticmethod
1057
1112
  def _from(obj: winrt.system.Object, /) -> IContactFieldFactory: ...
@@ -1062,6 +1117,7 @@ class IContactFieldFactory(winrt.system.Object):
1062
1117
  @typing.overload
1063
1118
  def create_field(self, name: str, value: str, type: ContactFieldType, category: ContactFieldCategory, /) -> typing.Optional[ContactField]: ...
1064
1119
 
1120
+ @typing.final
1065
1121
  class IContactInstantMessageFieldFactory(winrt.system.Object):
1066
1122
  @staticmethod
1067
1123
  def _from(obj: winrt.system.Object, /) -> IContactInstantMessageFieldFactory: ...
@@ -1072,6 +1128,7 @@ class IContactInstantMessageFieldFactory(winrt.system.Object):
1072
1128
  @typing.overload
1073
1129
  def create_instant_message(self, user_name: str, category: ContactFieldCategory, service: str, display_text: str, verb: typing.Optional[winrt.windows.foundation.Uri], /) -> typing.Optional[ContactInstantMessageField]: ...
1074
1130
 
1131
+ @typing.final
1075
1132
  class IContactLocationFieldFactory(winrt.system.Object):
1076
1133
  @staticmethod
1077
1134
  def _from(obj: winrt.system.Object, /) -> IContactLocationFieldFactory: ...
@@ -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.ApplicationModel.Contacts
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,16 @@ 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.Data.Text[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
24
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
15
25
 
16
26
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
27
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_applicationmodel_contacts.pyi
9
9
  winrt/windows/applicationmodel/contacts/__init__.py
10
+ winrt/windows/applicationmodel/contacts/py.typed
10
11
  winrt_Windows.ApplicationModel.Contacts.egg-info/PKG-INFO
11
12
  winrt_Windows.ApplicationModel.Contacts.egg-info/SOURCES.txt
12
13
  winrt_Windows.ApplicationModel.Contacts.egg-info/dependency_links.txt
@@ -0,0 +1,11 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Data.Text[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
8
+ winrt-Windows.System[all]==2.0.1
9
+ winrt-Windows.UI[all]==2.0.1
10
+ winrt-Windows.UI.Popups[all]==2.0.1
11
+ winrt-Windows.UI.ViewManagement[all]==2.0.1
@@ -1,10 +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.Data.Text[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
7
- winrt-Windows.System[all]==2.0.0-beta.1
8
- winrt-Windows.UI[all]==2.0.0-beta.1
9
- winrt-Windows.UI.Popups[all]==2.0.0-beta.1
10
- winrt-Windows.UI.ViewManagement[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_applicationmodel_contacts",
10
- sources=["py.Windows.ApplicationModel.Contacts.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,11 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Data.Text[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
8
- winrt-Windows.System[all]==2.0.0-beta.1
9
- winrt-Windows.UI[all]==2.0.0-beta.1
10
- winrt-Windows.UI.Popups[all]==2.0.0-beta.1
11
- winrt-Windows.UI.ViewManagement[all]==2.0.0-beta.1