winrt-Windows.Storage.AccessCache 2.2.0__cp313-cp313-win_amd64.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,168 @@
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.accesscache import AccessCacheOptions, RecentStorageItemVisibility
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class AccessListEntry:
23
+ token: str
24
+ metadata: str
25
+ def __init__(self, token: str, metadata: str) -> None: ...
26
+
27
+ @typing.final
28
+ class AccessListEntryView(winrt.system.Object, winrt._winrt.Sequence[AccessListEntry]):
29
+ def __len__(self) -> int: ...
30
+ def __iter__(self) -> windows_foundation_collections.IIterator[AccessListEntry]: ...
31
+ @typing.overload
32
+ def __getitem__(self, index: typing.SupportsIndex) -> AccessListEntry: ...
33
+ @typing.overload
34
+ def __getitem__(self, index: slice) -> winrt.system.Array[AccessListEntry]: ...
35
+ @staticmethod
36
+ def _from(obj: winrt.system.Object, /) -> AccessListEntryView: ...
37
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[AccessListEntry]]: ...
38
+ def get_at(self, index: winrt.system.UInt32, /) -> AccessListEntry: ...
39
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[AccessListEntry], /) -> winrt.system.UInt32: ...
40
+ def index_of(self, value: AccessListEntry, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
41
+ @_property
42
+ def size(self) -> winrt.system.UInt32: ...
43
+
44
+ @typing.final
45
+ class ItemRemovedEventArgs(winrt.system.Object):
46
+ @staticmethod
47
+ def _from(obj: winrt.system.Object, /) -> ItemRemovedEventArgs: ...
48
+ @_property
49
+ def removed_entry(self) -> AccessListEntry: ...
50
+
51
+ @typing.final
52
+ class StorageApplicationPermissions_Static(type):
53
+ def get_future_access_list_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[StorageItemAccessList]: ...
54
+ def get_most_recently_used_list_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[StorageItemMostRecentlyUsedList]: ...
55
+ @_property
56
+ def future_access_list(cls) -> typing.Optional[StorageItemAccessList]: ...
57
+ @_property
58
+ def most_recently_used_list(cls) -> typing.Optional[StorageItemMostRecentlyUsedList]: ...
59
+
60
+ @typing.final
61
+ class StorageApplicationPermissions(winrt.system.Object, metaclass=StorageApplicationPermissions_Static):
62
+ pass
63
+
64
+ @typing.final
65
+ class StorageItemAccessList(winrt.system.Object):
66
+ @staticmethod
67
+ def _from(obj: winrt.system.Object, /) -> StorageItemAccessList: ...
68
+ @typing.overload
69
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], /) -> str: ...
70
+ @typing.overload
71
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> str: ...
72
+ @typing.overload
73
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], /) -> None: ...
74
+ @typing.overload
75
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> None: ...
76
+ def check_access(self, file: typing.Optional[windows_storage.IStorageItem], /) -> bool: ...
77
+ def clear(self) -> None: ...
78
+ def contains_item(self, token: str, /) -> bool: ...
79
+ @typing.overload
80
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
81
+ @typing.overload
82
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
83
+ @typing.overload
84
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
85
+ @typing.overload
86
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
87
+ @typing.overload
88
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
89
+ @typing.overload
90
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
91
+ def remove(self, token: str, /) -> None: ...
92
+ @_property
93
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
94
+ @_property
95
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
96
+
97
+ @typing.final
98
+ class StorageItemMostRecentlyUsedList(winrt.system.Object):
99
+ @staticmethod
100
+ def _from(obj: winrt.system.Object, /) -> StorageItemMostRecentlyUsedList: ...
101
+ @typing.overload
102
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], /) -> str: ...
103
+ @typing.overload
104
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> str: ...
105
+ @typing.overload
106
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], metadata: str, visibility: RecentStorageItemVisibility, /) -> str: ...
107
+ @typing.overload
108
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], /) -> None: ...
109
+ @typing.overload
110
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> None: ...
111
+ @typing.overload
112
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], metadata: str, visibility: RecentStorageItemVisibility, /) -> None: ...
113
+ def check_access(self, file: typing.Optional[windows_storage.IStorageItem], /) -> bool: ...
114
+ def clear(self) -> None: ...
115
+ def contains_item(self, token: str, /) -> bool: ...
116
+ @typing.overload
117
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
118
+ @typing.overload
119
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
120
+ @typing.overload
121
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
122
+ @typing.overload
123
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
124
+ @typing.overload
125
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
126
+ @typing.overload
127
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
128
+ def remove(self, token: str, /) -> None: ...
129
+ def add_item_removed(self, handler: windows_foundation.TypedEventHandler[StorageItemMostRecentlyUsedList, ItemRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
130
+ def remove_item_removed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
131
+ @_property
132
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
133
+ @_property
134
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
135
+
136
+ @typing.final
137
+ class IStorageItemAccessList(winrt.system.Object):
138
+ @staticmethod
139
+ def _from(obj: winrt.system.Object, /) -> IStorageItemAccessList: ...
140
+ @typing.overload
141
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], /) -> str: ...
142
+ @typing.overload
143
+ def add(self, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> str: ...
144
+ @typing.overload
145
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], /) -> None: ...
146
+ @typing.overload
147
+ def add_or_replace(self, token: str, file: typing.Optional[windows_storage.IStorageItem], metadata: str, /) -> None: ...
148
+ def check_access(self, file: typing.Optional[windows_storage.IStorageItem], /) -> bool: ...
149
+ def clear(self) -> None: ...
150
+ def contains_item(self, token: str, /) -> bool: ...
151
+ @typing.overload
152
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
153
+ @typing.overload
154
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
155
+ @typing.overload
156
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
157
+ @typing.overload
158
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
159
+ @typing.overload
160
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
161
+ @typing.overload
162
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
163
+ def remove(self, token: str, /) -> None: ...
164
+ @_property
165
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
166
+ @_property
167
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
168
+
@@ -0,0 +1,38 @@
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_accesscache
7
+
8
+ __all__ = [
9
+ "AccessCacheOptions",
10
+ "RecentStorageItemVisibility",
11
+ "AccessListEntry",
12
+ "AccessListEntryView",
13
+ "ItemRemovedEventArgs",
14
+ "StorageApplicationPermissions",
15
+ "StorageItemAccessList",
16
+ "StorageItemMostRecentlyUsedList",
17
+ "IStorageItemAccessList",
18
+ ]
19
+
20
+ class AccessCacheOptions(enum.IntFlag):
21
+ NONE = 0x0
22
+ DISALLOW_USER_INPUT = 0x1
23
+ FAST_LOCATIONS_ONLY = 0x2
24
+ USE_READ_ONLY_CACHED_COPY = 0x4
25
+ SUPPRESS_ACCESS_TIME_UPDATE = 0x8
26
+
27
+ class RecentStorageItemVisibility(enum.IntEnum):
28
+ APP_ONLY = 0
29
+ APP_AND_SYSTEM = 1
30
+
31
+ AccessListEntry = _winrt_windows_storage_accesscache.AccessListEntry
32
+ AccessListEntryView = _winrt_windows_storage_accesscache.AccessListEntryView
33
+ winrt.system._mixin_sequence(AccessListEntryView)
34
+ ItemRemovedEventArgs = _winrt_windows_storage_accesscache.ItemRemovedEventArgs
35
+ StorageApplicationPermissions = _winrt_windows_storage_accesscache.StorageApplicationPermissions
36
+ StorageItemAccessList = _winrt_windows_storage_accesscache.StorageItemAccessList
37
+ StorageItemMostRecentlyUsedList = _winrt_windows_storage_accesscache.StorageItemMostRecentlyUsedList
38
+ IStorageItemAccessList = _winrt_windows_storage_accesscache.IStorageItemAccessList
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.AccessCache
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.AccessCache
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.AccessCache` namespace.
27
+
28
+ This package provides the `winrt.windows.storage.accesscache` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_accesscache.cp313-win_amd64.pyd,sha256=UEZd6xWTI3VMDgnD_6zxD7li4Rh9FVL8J_yr0a0VyRM,156160
2
+ winrt/_winrt_windows_storage_accesscache.pyi,sha256=nPCv4D_lmp7BbTYS0GfhIKA7kCm4YM8FW1vTdJlzh-4,9223
3
+ winrt/windows/storage/accesscache/__init__.py,sha256=0UrUNf0RZzy6VX6awz8WDHr6Wew0xcIuzW0PTxTGju4,1374
4
+ winrt/windows/storage/accesscache/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage.AccessCache-2.2.0.dist-info/METADATA,sha256=nP9uDiiTTMeDsF3TdHbfoxeN0t7gXZ9ojjUNb0TAD9s,1277
6
+ winrt_Windows.Storage.AccessCache-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Storage.AccessCache-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage.AccessCache-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_amd64
5
+