winrt-Windows.Storage.Pickers 2.2.0__cp313-cp313-win_arm64.whl

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.
@@ -0,0 +1,210 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage as windows_storage
15
+ import winrt.windows.system as windows_system
16
+
17
+ from winrt.windows.storage.pickers import PickerLocationId, PickerViewMode
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class FileExtensionVector(winrt.system.Object, winrt._winrt.MutableSequence[str]):
23
+ def __len__(self) -> int: ...
24
+ def __iter__(self) -> windows_foundation_collections.IIterator[str]: ...
25
+ @typing.overload
26
+ def __getitem__(self, index: typing.SupportsIndex) -> str: ...
27
+ @typing.overload
28
+ def __getitem__(self, index: slice) -> winrt.system.Array[str]: ...
29
+ @typing.overload
30
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
31
+ @typing.overload
32
+ def __delitem__(self, index: slice) -> None: ...
33
+ @typing.overload
34
+ def __setitem__(self, index: typing.SupportsIndex, value: str) -> None: ...
35
+ @typing.overload
36
+ def __setitem__(self, index: slice, value: typing.Iterable[str]) -> None: ...
37
+ @staticmethod
38
+ def _from(obj: winrt.system.Object, /) -> FileExtensionVector: ...
39
+ def append(self, value: str, /) -> None: ...
40
+ def clear(self) -> None: ...
41
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[str]]: ...
42
+ def get_at(self, index: winrt.system.UInt32, /) -> str: ...
43
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[str], /) -> winrt.system.UInt32: ...
44
+ def get_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
45
+ def index_of(self, value: str, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
46
+ def insert_at(self, index: winrt.system.UInt32, value: str, /) -> None: ...
47
+ def remove_at(self, index: winrt.system.UInt32, /) -> None: ...
48
+ def remove_at_end(self) -> None: ...
49
+ def replace_all(self, items: winrt.system.Array[str], /) -> None: ...
50
+ def set_at(self, index: winrt.system.UInt32, value: str, /) -> None: ...
51
+ @_property
52
+ def size(self) -> winrt.system.UInt32: ...
53
+
54
+ @typing.final
55
+ class FileOpenPicker_Static(type):
56
+ def create_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[FileOpenPicker]: ...
57
+ def resume_pick_single_file_async(cls) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
58
+
59
+ @typing.final
60
+ class FileOpenPicker(winrt.system.Object, metaclass=FileOpenPicker_Static):
61
+ @staticmethod
62
+ def _from(obj: winrt.system.Object, /) -> FileOpenPicker: ...
63
+ def __new__(cls: typing.Type[FileOpenPicker]) -> FileOpenPicker: ...
64
+ def pick_multiple_files_and_continue(self) -> None: ...
65
+ def pick_multiple_files_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFile]]: ...
66
+ def pick_single_file_and_continue(self) -> None: ...
67
+ @typing.overload
68
+ def pick_single_file_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
69
+ @typing.overload
70
+ def pick_single_file_async(self, picker_operation_id: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
71
+ @_property
72
+ def view_mode(self) -> PickerViewMode: ...
73
+ @view_mode.setter
74
+ def view_mode(self, value: PickerViewMode) -> None: ...
75
+ @_property
76
+ def suggested_start_location(self) -> PickerLocationId: ...
77
+ @suggested_start_location.setter
78
+ def suggested_start_location(self, value: PickerLocationId) -> None: ...
79
+ @_property
80
+ def settings_identifier(self) -> str: ...
81
+ @settings_identifier.setter
82
+ def settings_identifier(self, value: str) -> None: ...
83
+ @_property
84
+ def commit_button_text(self) -> str: ...
85
+ @commit_button_text.setter
86
+ def commit_button_text(self, value: str) -> None: ...
87
+ @_property
88
+ def file_type_filter(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
89
+ @_property
90
+ def continuation_data(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
91
+ @_property
92
+ def user(self) -> typing.Optional[windows_system.User]: ...
93
+
94
+ @typing.final
95
+ class FilePickerFileTypesOrderedMap(winrt.system.Object, winrt._winrt.MutableMapping[str, windows_foundation_collections.IVector[str]]):
96
+ def __len__(self) -> int: ...
97
+ def __iter__(self) -> typing.Iterator[str]: ...
98
+ def __contains__(self, key: object) -> bool: ...
99
+ def __getitem__(self, key: str) -> windows_foundation_collections.IVector[str]: ...
100
+ def __setitem__(self, key: str, value: windows_foundation_collections.IVector[str]) -> None: ...
101
+ def __delitem__(self, key: str) -> None: ...
102
+ @staticmethod
103
+ def _from(obj: winrt.system.Object, /) -> FilePickerFileTypesOrderedMap: ...
104
+ def clear(self) -> None: ...
105
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, windows_foundation_collections.IVector[str]]]]: ...
106
+ def get_view(self) -> typing.Optional[windows_foundation_collections.IMapView[str, windows_foundation_collections.IVector[str]]]: ...
107
+ def has_key(self, key: str, /) -> bool: ...
108
+ def insert(self, key: str, value: windows_foundation_collections.IVector[str], /) -> bool: ...
109
+ def lookup(self, key: str, /) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
110
+ def remove(self, key: str, /) -> None: ...
111
+ @_property
112
+ def size(self) -> winrt.system.UInt32: ...
113
+
114
+ @typing.final
115
+ class FilePickerSelectedFilesArray(winrt.system.Object, winrt._winrt.Sequence[windows_storage.StorageFile]):
116
+ def __len__(self) -> int: ...
117
+ def __iter__(self) -> windows_foundation_collections.IIterator[windows_storage.StorageFile]: ...
118
+ @typing.overload
119
+ def __getitem__(self, index: typing.SupportsIndex) -> windows_storage.StorageFile: ...
120
+ @typing.overload
121
+ def __getitem__(self, index: slice) -> winrt.system.Array[windows_storage.StorageFile]: ...
122
+ @staticmethod
123
+ def _from(obj: winrt.system.Object, /) -> FilePickerSelectedFilesArray: ...
124
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_storage.StorageFile]]: ...
125
+ def get_at(self, index: winrt.system.UInt32, /) -> typing.Optional[windows_storage.StorageFile]: ...
126
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[windows_storage.StorageFile], /) -> winrt.system.UInt32: ...
127
+ def index_of(self, value: typing.Optional[windows_storage.StorageFile], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
128
+ @_property
129
+ def size(self) -> winrt.system.UInt32: ...
130
+
131
+ @typing.final
132
+ class FileSavePicker_Static(type):
133
+ def create_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[FileSavePicker]: ...
134
+
135
+ @typing.final
136
+ class FileSavePicker(winrt.system.Object, metaclass=FileSavePicker_Static):
137
+ @staticmethod
138
+ def _from(obj: winrt.system.Object, /) -> FileSavePicker: ...
139
+ def __new__(cls: typing.Type[FileSavePicker]) -> FileSavePicker: ...
140
+ def pick_save_file_and_continue(self) -> None: ...
141
+ def pick_save_file_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
142
+ @_property
143
+ def suggested_start_location(self) -> PickerLocationId: ...
144
+ @suggested_start_location.setter
145
+ def suggested_start_location(self, value: PickerLocationId) -> None: ...
146
+ @_property
147
+ def suggested_save_file(self) -> typing.Optional[windows_storage.StorageFile]: ...
148
+ @suggested_save_file.setter
149
+ def suggested_save_file(self, value: typing.Optional[windows_storage.StorageFile]) -> None: ...
150
+ @_property
151
+ def suggested_file_name(self) -> str: ...
152
+ @suggested_file_name.setter
153
+ def suggested_file_name(self, value: str) -> None: ...
154
+ @_property
155
+ def settings_identifier(self) -> str: ...
156
+ @settings_identifier.setter
157
+ def settings_identifier(self, value: str) -> None: ...
158
+ @_property
159
+ def default_file_extension(self) -> str: ...
160
+ @default_file_extension.setter
161
+ def default_file_extension(self, value: str) -> None: ...
162
+ @_property
163
+ def commit_button_text(self) -> str: ...
164
+ @commit_button_text.setter
165
+ def commit_button_text(self, value: str) -> None: ...
166
+ @_property
167
+ def file_type_choices(self) -> typing.Optional[windows_foundation_collections.IMap[str, windows_foundation_collections.IVector[str]]]: ...
168
+ @_property
169
+ def continuation_data(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
170
+ @_property
171
+ def enterprise_id(self) -> str: ...
172
+ @enterprise_id.setter
173
+ def enterprise_id(self, value: str) -> None: ...
174
+ @_property
175
+ def user(self) -> typing.Optional[windows_system.User]: ...
176
+
177
+ @typing.final
178
+ class FolderPicker_Static(type):
179
+ def create_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[FolderPicker]: ...
180
+
181
+ @typing.final
182
+ class FolderPicker(winrt.system.Object, metaclass=FolderPicker_Static):
183
+ @staticmethod
184
+ def _from(obj: winrt.system.Object, /) -> FolderPicker: ...
185
+ def __new__(cls: typing.Type[FolderPicker]) -> FolderPicker: ...
186
+ def pick_folder_and_continue(self) -> None: ...
187
+ def pick_single_folder_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
188
+ @_property
189
+ def view_mode(self) -> PickerViewMode: ...
190
+ @view_mode.setter
191
+ def view_mode(self, value: PickerViewMode) -> None: ...
192
+ @_property
193
+ def suggested_start_location(self) -> PickerLocationId: ...
194
+ @suggested_start_location.setter
195
+ def suggested_start_location(self, value: PickerLocationId) -> None: ...
196
+ @_property
197
+ def settings_identifier(self) -> str: ...
198
+ @settings_identifier.setter
199
+ def settings_identifier(self, value: str) -> None: ...
200
+ @_property
201
+ def commit_button_text(self) -> str: ...
202
+ @commit_button_text.setter
203
+ def commit_button_text(self, value: str) -> None: ...
204
+ @_property
205
+ def file_type_filter(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
206
+ @_property
207
+ def continuation_data(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
208
+ @_property
209
+ def user(self) -> typing.Optional[windows_system.User]: ...
210
+
@@ -0,0 +1,43 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_storage_pickers
7
+
8
+ __all__ = [
9
+ "PickerLocationId",
10
+ "PickerViewMode",
11
+ "FileExtensionVector",
12
+ "FileOpenPicker",
13
+ "FilePickerFileTypesOrderedMap",
14
+ "FilePickerSelectedFilesArray",
15
+ "FileSavePicker",
16
+ "FolderPicker",
17
+ ]
18
+
19
+ class PickerLocationId(enum.IntEnum):
20
+ DOCUMENTS_LIBRARY = 0
21
+ COMPUTER_FOLDER = 1
22
+ DESKTOP = 2
23
+ DOWNLOADS = 3
24
+ HOME_GROUP = 4
25
+ MUSIC_LIBRARY = 5
26
+ PICTURES_LIBRARY = 6
27
+ VIDEOS_LIBRARY = 7
28
+ OBJECTS3_D = 8
29
+ UNSPECIFIED = 9
30
+
31
+ class PickerViewMode(enum.IntEnum):
32
+ LIST = 0
33
+ THUMBNAIL = 1
34
+
35
+ FileExtensionVector = _winrt_windows_storage_pickers.FileExtensionVector
36
+ winrt.system._mixin_mutable_sequence(FileExtensionVector)
37
+ FileOpenPicker = _winrt_windows_storage_pickers.FileOpenPicker
38
+ FilePickerFileTypesOrderedMap = _winrt_windows_storage_pickers.FilePickerFileTypesOrderedMap
39
+ winrt.system._mixin_mutable_mapping(FilePickerFileTypesOrderedMap)
40
+ FilePickerSelectedFilesArray = _winrt_windows_storage_pickers.FilePickerSelectedFilesArray
41
+ winrt.system._mixin_sequence(FilePickerSelectedFilesArray)
42
+ FileSavePicker = _winrt_windows_storage_pickers.FileSavePicker
43
+ FolderPicker = _winrt_windows_storage_pickers.FolderPicker
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.Pickers
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Storage.Pickers
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.Pickers` namespace.
27
+
28
+ This package provides the `winrt.windows.storage.pickers` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_pickers.cp313-win_arm64.pyd,sha256=iAUvtgZk1QlFfw9-8G7bh36xzl3ogA_9LVokjb-tOyI,260096
2
+ winrt/_winrt_windows_storage_pickers.pyi,sha256=s6pt8mipznG3IhwP1jCM07W7RtpLDvngf8CerL0ZTqY,10484
3
+ winrt/windows/storage/pickers/__init__.py,sha256=LDQRZcNFGvNbDZfgn30aDyJWBB1BY_7-fZA-CAqZRlM,1334
4
+ winrt/windows/storage/pickers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage.Pickers-2.2.0.dist-info/METADATA,sha256=nKWV_HfBmIHhxjSp5K0ouv9JY9GeoFArwOolP4ckVeY,1261
6
+ winrt_Windows.Storage.Pickers-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Storage.Pickers-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage.Pickers-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+