winrt-Windows.Storage.FileProperties 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,284 @@
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.devices.geolocation as windows_devices_geolocation
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.storage as windows_storage
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+
18
+ from winrt.windows.storage.fileproperties import PhotoOrientation, PropertyPrefetchOptions, ThumbnailMode, ThumbnailOptions, ThumbnailType, VideoOrientation
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class BasicProperties(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> BasicProperties: ...
26
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
27
+ @typing.overload
28
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
29
+ @typing.overload
30
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
31
+ @_property
32
+ def date_modified(self) -> datetime.datetime: ...
33
+ @_property
34
+ def item_date(self) -> datetime.datetime: ...
35
+ @_property
36
+ def size(self) -> winrt.system.UInt64: ...
37
+
38
+ @typing.final
39
+ class DocumentProperties(winrt.system.Object):
40
+ @staticmethod
41
+ def _from(obj: winrt.system.Object, /) -> DocumentProperties: ...
42
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
43
+ @typing.overload
44
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
45
+ @typing.overload
46
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
47
+ @_property
48
+ def title(self) -> str: ...
49
+ @title.setter
50
+ def title(self, value: str) -> None: ...
51
+ @_property
52
+ def comment(self) -> str: ...
53
+ @comment.setter
54
+ def comment(self, value: str) -> None: ...
55
+ @_property
56
+ def author(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
57
+ @_property
58
+ def keywords(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
59
+
60
+ @typing.final
61
+ class GeotagHelper_Static(type):
62
+ def get_geotag_async(cls, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[windows_devices_geolocation.Geopoint]: ...
63
+ def set_geotag_async(cls, file: typing.Optional[windows_storage.IStorageFile], geopoint: typing.Optional[windows_devices_geolocation.Geopoint], /) -> windows_foundation.IAsyncAction: ...
64
+ def set_geotag_from_geolocator_async(cls, file: typing.Optional[windows_storage.IStorageFile], geolocator: typing.Optional[windows_devices_geolocation.Geolocator], /) -> windows_foundation.IAsyncAction: ...
65
+
66
+ @typing.final
67
+ class GeotagHelper(winrt.system.Object, metaclass=GeotagHelper_Static):
68
+ pass
69
+
70
+ @typing.final
71
+ class ImageProperties(winrt.system.Object):
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> ImageProperties: ...
74
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
75
+ @typing.overload
76
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
77
+ @typing.overload
78
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
79
+ @_property
80
+ def title(self) -> str: ...
81
+ @title.setter
82
+ def title(self, value: str) -> None: ...
83
+ @_property
84
+ def rating(self) -> winrt.system.UInt32: ...
85
+ @rating.setter
86
+ def rating(self, value: winrt.system.UInt32) -> None: ...
87
+ @_property
88
+ def date_taken(self) -> datetime.datetime: ...
89
+ @date_taken.setter
90
+ def date_taken(self, value: datetime.datetime) -> None: ...
91
+ @_property
92
+ def camera_model(self) -> str: ...
93
+ @camera_model.setter
94
+ def camera_model(self, value: str) -> None: ...
95
+ @_property
96
+ def camera_manufacturer(self) -> str: ...
97
+ @camera_manufacturer.setter
98
+ def camera_manufacturer(self, value: str) -> None: ...
99
+ @_property
100
+ def height(self) -> winrt.system.UInt32: ...
101
+ @_property
102
+ def keywords(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
103
+ @_property
104
+ def latitude(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
105
+ @_property
106
+ def longitude(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
107
+ @_property
108
+ def orientation(self) -> PhotoOrientation: ...
109
+ @_property
110
+ def people_names(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
111
+ @_property
112
+ def width(self) -> winrt.system.UInt32: ...
113
+
114
+ @typing.final
115
+ class MusicProperties(winrt.system.Object):
116
+ @staticmethod
117
+ def _from(obj: winrt.system.Object, /) -> MusicProperties: ...
118
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
119
+ @typing.overload
120
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
121
+ @typing.overload
122
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
123
+ @_property
124
+ def year(self) -> winrt.system.UInt32: ...
125
+ @year.setter
126
+ def year(self, value: winrt.system.UInt32) -> None: ...
127
+ @_property
128
+ def track_number(self) -> winrt.system.UInt32: ...
129
+ @track_number.setter
130
+ def track_number(self, value: winrt.system.UInt32) -> None: ...
131
+ @_property
132
+ def title(self) -> str: ...
133
+ @title.setter
134
+ def title(self, value: str) -> None: ...
135
+ @_property
136
+ def subtitle(self) -> str: ...
137
+ @subtitle.setter
138
+ def subtitle(self, value: str) -> None: ...
139
+ @_property
140
+ def rating(self) -> winrt.system.UInt32: ...
141
+ @rating.setter
142
+ def rating(self, value: winrt.system.UInt32) -> None: ...
143
+ @_property
144
+ def publisher(self) -> str: ...
145
+ @publisher.setter
146
+ def publisher(self, value: str) -> None: ...
147
+ @_property
148
+ def artist(self) -> str: ...
149
+ @artist.setter
150
+ def artist(self, value: str) -> None: ...
151
+ @_property
152
+ def album_artist(self) -> str: ...
153
+ @album_artist.setter
154
+ def album_artist(self, value: str) -> None: ...
155
+ @_property
156
+ def album(self) -> str: ...
157
+ @album.setter
158
+ def album(self, value: str) -> None: ...
159
+ @_property
160
+ def bitrate(self) -> winrt.system.UInt32: ...
161
+ @_property
162
+ def composers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
163
+ @_property
164
+ def conductors(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
165
+ @_property
166
+ def duration(self) -> datetime.timedelta: ...
167
+ @_property
168
+ def genre(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
169
+ @_property
170
+ def producers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
171
+ @_property
172
+ def writers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
173
+
174
+ @typing.final
175
+ class StorageItemContentProperties(winrt.system.Object):
176
+ @staticmethod
177
+ def _from(obj: winrt.system.Object, /) -> StorageItemContentProperties: ...
178
+ def get_document_properties_async(self) -> windows_foundation.IAsyncOperation[DocumentProperties]: ...
179
+ def get_image_properties_async(self) -> windows_foundation.IAsyncOperation[ImageProperties]: ...
180
+ def get_music_properties_async(self) -> windows_foundation.IAsyncOperation[MusicProperties]: ...
181
+ def get_video_properties_async(self) -> windows_foundation.IAsyncOperation[VideoProperties]: ...
182
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
183
+ @typing.overload
184
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
185
+ @typing.overload
186
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
187
+
188
+ @typing.final
189
+ class StorageItemThumbnail(winrt.system.Object):
190
+ def __enter__(self: Self) -> Self: ...
191
+ def __exit__(self, *args) -> None: ...
192
+ @staticmethod
193
+ def _from(obj: winrt.system.Object, /) -> StorageItemThumbnail: ...
194
+ def clone_stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
195
+ def close(self) -> None: ...
196
+ def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
197
+ def get_input_stream_at(self, position: winrt.system.UInt64, /) -> typing.Optional[windows_storage_streams.IInputStream]: ...
198
+ def get_output_stream_at(self, position: winrt.system.UInt64, /) -> typing.Optional[windows_storage_streams.IOutputStream]: ...
199
+ def read_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], count: winrt.system.UInt32, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IBuffer, winrt.system.UInt32]: ...
200
+ def seek(self, position: winrt.system.UInt64, /) -> None: ...
201
+ def write_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
202
+ @_property
203
+ def original_height(self) -> winrt.system.UInt32: ...
204
+ @_property
205
+ def original_width(self) -> winrt.system.UInt32: ...
206
+ @_property
207
+ def returned_smaller_cached_size(self) -> bool: ...
208
+ @_property
209
+ def type(self) -> ThumbnailType: ...
210
+ @_property
211
+ def content_type(self) -> str: ...
212
+ @_property
213
+ def size(self) -> winrt.system.UInt64: ...
214
+ @size.setter
215
+ def size(self, value: winrt.system.UInt64) -> None: ...
216
+ @_property
217
+ def can_read(self) -> bool: ...
218
+ @_property
219
+ def can_write(self) -> bool: ...
220
+ @_property
221
+ def position(self) -> winrt.system.UInt64: ...
222
+
223
+ @typing.final
224
+ class VideoProperties(winrt.system.Object):
225
+ @staticmethod
226
+ def _from(obj: winrt.system.Object, /) -> VideoProperties: ...
227
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
228
+ @typing.overload
229
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
230
+ @typing.overload
231
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
232
+ @_property
233
+ def year(self) -> winrt.system.UInt32: ...
234
+ @year.setter
235
+ def year(self, value: winrt.system.UInt32) -> None: ...
236
+ @_property
237
+ def title(self) -> str: ...
238
+ @title.setter
239
+ def title(self, value: str) -> None: ...
240
+ @_property
241
+ def subtitle(self) -> str: ...
242
+ @subtitle.setter
243
+ def subtitle(self, value: str) -> None: ...
244
+ @_property
245
+ def rating(self) -> winrt.system.UInt32: ...
246
+ @rating.setter
247
+ def rating(self, value: winrt.system.UInt32) -> None: ...
248
+ @_property
249
+ def publisher(self) -> str: ...
250
+ @publisher.setter
251
+ def publisher(self, value: str) -> None: ...
252
+ @_property
253
+ def bitrate(self) -> winrt.system.UInt32: ...
254
+ @_property
255
+ def directors(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
256
+ @_property
257
+ def duration(self) -> datetime.timedelta: ...
258
+ @_property
259
+ def height(self) -> winrt.system.UInt32: ...
260
+ @_property
261
+ def keywords(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
262
+ @_property
263
+ def latitude(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
264
+ @_property
265
+ def longitude(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
266
+ @_property
267
+ def orientation(self) -> VideoOrientation: ...
268
+ @_property
269
+ def producers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
270
+ @_property
271
+ def width(self) -> winrt.system.UInt32: ...
272
+ @_property
273
+ def writers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
274
+
275
+ @typing.final
276
+ class IStorageItemExtraProperties(winrt.system.Object):
277
+ @staticmethod
278
+ def _from(obj: winrt.system.Object, /) -> IStorageItemExtraProperties: ...
279
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
280
+ @typing.overload
281
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
282
+ @typing.overload
283
+ def save_properties_async(self, properties_to_save: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
284
+
@@ -0,0 +1,77 @@
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_fileproperties
7
+
8
+ __all__ = [
9
+ "PhotoOrientation",
10
+ "PropertyPrefetchOptions",
11
+ "ThumbnailMode",
12
+ "ThumbnailOptions",
13
+ "ThumbnailType",
14
+ "VideoOrientation",
15
+ "BasicProperties",
16
+ "DocumentProperties",
17
+ "GeotagHelper",
18
+ "ImageProperties",
19
+ "MusicProperties",
20
+ "StorageItemContentProperties",
21
+ "StorageItemThumbnail",
22
+ "VideoProperties",
23
+ "IStorageItemExtraProperties",
24
+ ]
25
+
26
+ class PhotoOrientation(enum.IntEnum):
27
+ UNSPECIFIED = 0
28
+ NORMAL = 1
29
+ FLIP_HORIZONTAL = 2
30
+ ROTATE180 = 3
31
+ FLIP_VERTICAL = 4
32
+ TRANSPOSE = 5
33
+ ROTATE270 = 6
34
+ TRANSVERSE = 7
35
+ ROTATE90 = 8
36
+
37
+ class PropertyPrefetchOptions(enum.IntFlag):
38
+ NONE = 0x0
39
+ MUSIC_PROPERTIES = 0x1
40
+ VIDEO_PROPERTIES = 0x2
41
+ IMAGE_PROPERTIES = 0x4
42
+ DOCUMENT_PROPERTIES = 0x8
43
+ BASIC_PROPERTIES = 0x10
44
+
45
+ class ThumbnailMode(enum.IntEnum):
46
+ PICTURES_VIEW = 0
47
+ VIDEOS_VIEW = 1
48
+ MUSIC_VIEW = 2
49
+ DOCUMENTS_VIEW = 3
50
+ LIST_VIEW = 4
51
+ SINGLE_ITEM = 5
52
+
53
+ class ThumbnailOptions(enum.IntFlag):
54
+ NONE = 0x0
55
+ RETURN_ONLY_IF_CACHED = 0x1
56
+ RESIZE_THUMBNAIL = 0x2
57
+ USE_CURRENT_SCALE = 0x4
58
+
59
+ class ThumbnailType(enum.IntEnum):
60
+ IMAGE = 0
61
+ ICON = 1
62
+
63
+ class VideoOrientation(enum.IntEnum):
64
+ NORMAL = 0
65
+ ROTATE90 = 90
66
+ ROTATE180 = 180
67
+ ROTATE270 = 270
68
+
69
+ BasicProperties = _winrt_windows_storage_fileproperties.BasicProperties
70
+ DocumentProperties = _winrt_windows_storage_fileproperties.DocumentProperties
71
+ GeotagHelper = _winrt_windows_storage_fileproperties.GeotagHelper
72
+ ImageProperties = _winrt_windows_storage_fileproperties.ImageProperties
73
+ MusicProperties = _winrt_windows_storage_fileproperties.MusicProperties
74
+ StorageItemContentProperties = _winrt_windows_storage_fileproperties.StorageItemContentProperties
75
+ StorageItemThumbnail = _winrt_windows_storage_fileproperties.StorageItemThumbnail
76
+ VideoProperties = _winrt_windows_storage_fileproperties.VideoProperties
77
+ IStorageItemExtraProperties = _winrt_windows_storage_fileproperties.IStorageItemExtraProperties
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.FileProperties
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.Devices.Geolocation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Storage.FileProperties
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.FileProperties` namespace.
28
+
29
+ This package provides the `winrt.windows.storage.fileproperties` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_fileproperties.cp313-win_arm64.pyd,sha256=0sAUnNC_fd8-MNTO-HawRU_5Xbdj6HStenQVzlS4gY8,380928
2
+ winrt/_winrt_windows_storage_fileproperties.pyi,sha256=6LYWsCZAKDfHJcelTQOiZqZS5BRohoBGHJV_7up7zuo,13652
3
+ winrt/windows/storage/fileproperties/__init__.py,sha256=FToub6B6bS-6bhwCAS3NatF_geRFzzbI_v1vng6Mq-Q,2160
4
+ winrt/windows/storage/fileproperties/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage.FileProperties-2.2.0.dist-info/METADATA,sha256=muEbg5_hRQe9J-widij_W-0r3Shrx-obMnLqU8DcTAE,1378
6
+ winrt_Windows.Storage.FileProperties-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Storage.FileProperties-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage.FileProperties-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
+