basedpyright 1.18.3 → 1.18.4

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 (214) hide show
  1. package/README.md +3 -3
  2. package/dist/pyright-langserver.js +1 -1
  3. package/dist/pyright-langserver.js.map +1 -1
  4. package/dist/pyright.js +1 -1
  5. package/dist/pyright.js.map +1 -1
  6. package/dist/typeshed-fallback/commit.txt +1 -1
  7. package/dist/typeshed-fallback/stdlib/VERSIONS +2 -0
  8. package/dist/typeshed-fallback/stdlib/_ast.pyi +140 -1667
  9. package/dist/typeshed-fallback/stdlib/_csv.pyi +14 -3
  10. package/dist/typeshed-fallback/stdlib/_curses.pyi +857 -65
  11. package/dist/typeshed-fallback/stdlib/_decimal.pyi +29 -820
  12. package/dist/typeshed-fallback/stdlib/_socket.pyi +4 -12
  13. package/dist/typeshed-fallback/stdlib/_sqlite3.pyi +387 -0
  14. package/dist/typeshed-fallback/stdlib/_ssl.pyi +406 -0
  15. package/dist/typeshed-fallback/stdlib/_weakref.pyi +2 -41
  16. package/dist/typeshed-fallback/stdlib/ast.pyi +1843 -172
  17. package/dist/typeshed-fallback/stdlib/builtins.pyi +5 -0
  18. package/dist/typeshed-fallback/stdlib/cProfile.pyi +3 -3
  19. package/dist/typeshed-fallback/stdlib/calendar.pyi +3 -3
  20. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +3 -2
  21. package/dist/typeshed-fallback/stdlib/contextlib.pyi +6 -8
  22. package/dist/typeshed-fallback/stdlib/csv.pyi +4 -3
  23. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +7 -2
  24. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +4 -4
  25. package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +3 -3
  26. package/dist/typeshed-fallback/stdlib/decimal.pyi +840 -2
  27. package/dist/typeshed-fallback/stdlib/email/_policybase.pyi +27 -18
  28. package/dist/typeshed-fallback/stdlib/email/feedparser.pyi +5 -5
  29. package/dist/typeshed-fallback/stdlib/email/generator.pyi +46 -9
  30. package/dist/typeshed-fallback/stdlib/email/message.pyi +8 -6
  31. package/dist/typeshed-fallback/stdlib/email/parser.pyi +6 -4
  32. package/dist/typeshed-fallback/stdlib/email/policy.pyi +28 -10
  33. package/dist/typeshed-fallback/stdlib/http/client.pyi +3 -2
  34. package/dist/typeshed-fallback/stdlib/io.pyi +6 -22
  35. package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +27 -19
  36. package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +5 -2
  37. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -2
  38. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -2
  39. package/dist/typeshed-fallback/stdlib/profile.pyi +3 -3
  40. package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +1 -5
  41. package/dist/typeshed-fallback/stdlib/re.pyi +10 -1
  42. package/dist/typeshed-fallback/stdlib/socket.pyi +12 -4
  43. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +739 -1
  44. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +220 -884
  45. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +1 -8
  46. package/dist/typeshed-fallback/stdlib/ssl.pyi +40 -128
  47. package/dist/typeshed-fallback/stdlib/tarfile.pyi +111 -6
  48. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +127 -21
  49. package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
  50. package/dist/typeshed-fallback/stdlib/typing.pyi +7 -7
  51. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -1
  52. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +2 -2
  53. package/dist/typeshed-fallback/stdlib/weakref.pyi +49 -14
  54. package/dist/typeshed-fallback/stdlib/xml/parsers/expat/__init__.pyi +6 -0
  55. package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +1 -1
  56. package/dist/typeshed-fallback/stdlib/xmlrpc/server.pyi +3 -2
  57. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +41 -44
  58. package/dist/typeshed-fallback/stdlib/zoneinfo/_common.pyi +13 -0
  59. package/dist/typeshed-fallback/stdlib/zoneinfo/_tzpath.pyi +13 -0
  60. package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
  61. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
  62. package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +1 -0
  63. package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +3 -1
  64. package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +1 -2
  65. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +15 -2
  66. package/dist/typeshed-fallback/stubs/docutils/docutils/readers/doctree.pyi +1 -1
  67. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +21 -2
  68. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +4 -4
  69. package/dist/typeshed-fallback/stubs/greenlet/METADATA.toml +1 -1
  70. package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
  71. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +5 -2
  72. package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +49 -5
  73. package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +32 -6
  74. package/dist/typeshed-fallback/stubs/icalendar/icalendar/caselessdict.pyi +2 -0
  75. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +25 -1
  76. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +7 -3
  77. package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +112 -72
  78. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/__init__.pyi +8 -0
  79. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/provider.pyi +29 -0
  80. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/pytz.pyi +22 -0
  81. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +30 -0
  82. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/zoneinfo.pyi +33 -0
  83. package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +2 -0
  84. package/dist/typeshed-fallback/stubs/icalendar/icalendar/version.pyi +8 -0
  85. package/dist/typeshed-fallback/stubs/jwcrypto/METADATA.toml +3 -0
  86. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/common.pyi +48 -0
  87. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwa.pyi +35 -0
  88. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwe.pyi +51 -0
  89. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +115 -0
  90. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jws.pyi +52 -0
  91. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwt.pyi +78 -0
  92. package/dist/typeshed-fallback/stubs/m3u8/METADATA.toml +2 -0
  93. package/dist/typeshed-fallback/stubs/m3u8/m3u8/__init__.pyi +74 -0
  94. package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +19 -0
  95. package/dist/typeshed-fallback/stubs/m3u8/m3u8/mixins.pyi +25 -0
  96. package/dist/typeshed-fallback/stubs/m3u8/m3u8/model.pyi +406 -0
  97. package/dist/typeshed-fallback/stubs/m3u8/m3u8/parser.pyi +14 -0
  98. package/dist/typeshed-fallback/stubs/m3u8/m3u8/protocol.pyi +41 -0
  99. package/dist/typeshed-fallback/stubs/m3u8/m3u8/version_matching.pyi +5 -0
  100. package/dist/typeshed-fallback/stubs/m3u8/m3u8/version_matching_rules.pyi +24 -0
  101. package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
  102. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  103. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -3
  104. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +0 -1
  105. package/dist/typeshed-fallback/stubs/pytz/pytz/__init__.pyi +4 -4
  106. package/dist/typeshed-fallback/stubs/pytz/pytz/tzinfo.pyi +1 -1
  107. package/dist/typeshed-fallback/stubs/qrcode/METADATA.toml +3 -2
  108. package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +18 -0
  109. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  110. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +2 -2
  111. package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +9 -1
  112. package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +4 -0
  113. package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +11 -2
  114. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
  115. package/dist/typeshed-fallback/stubs/vobject/vobject/change_tz.pyi +4 -0
  116. package/dist/typeshed-fallback/stubs/vobject/vobject/ics_diff.pyi +0 -3
  117. package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +1 -1
  118. package/dist/typeshed-fallback/stubs/waitress/waitress/__init__.pyi +2 -2
  119. package/package.json +1 -1
  120. package/dist/typeshed-fallback/stubs/Pillow/METADATA.toml +0 -8
  121. package/dist/typeshed-fallback/stubs/Pillow/PIL/BdfFontFile.pyi +0 -11
  122. package/dist/typeshed-fallback/stubs/Pillow/PIL/BlpImagePlugin.pyi +0 -39
  123. package/dist/typeshed-fallback/stubs/Pillow/PIL/BmpImagePlugin.pyi +0 -25
  124. package/dist/typeshed-fallback/stubs/Pillow/PIL/BufrStubImagePlugin.pyi +0 -9
  125. package/dist/typeshed-fallback/stubs/Pillow/PIL/ContainerIO.pyi +0 -14
  126. package/dist/typeshed-fallback/stubs/Pillow/PIL/CurImagePlugin.pyi +0 -6
  127. package/dist/typeshed-fallback/stubs/Pillow/PIL/DcxImagePlugin.pyi +0 -13
  128. package/dist/typeshed-fallback/stubs/Pillow/PIL/DdsImagePlugin.pyi +0 -314
  129. package/dist/typeshed-fallback/stubs/Pillow/PIL/EpsImagePlugin.pyi +0 -34
  130. package/dist/typeshed-fallback/stubs/Pillow/PIL/ExifTags.pyi +0 -347
  131. package/dist/typeshed-fallback/stubs/Pillow/PIL/FitsImagePlugin.pyi +0 -7
  132. package/dist/typeshed-fallback/stubs/Pillow/PIL/FliImagePlugin.pyi +0 -9
  133. package/dist/typeshed-fallback/stubs/Pillow/PIL/FontFile.pyi +0 -16
  134. package/dist/typeshed-fallback/stubs/Pillow/PIL/FpxImagePlugin.pyi +0 -23
  135. package/dist/typeshed-fallback/stubs/Pillow/PIL/FtexImagePlugin.pyi +0 -15
  136. package/dist/typeshed-fallback/stubs/Pillow/PIL/GbrImagePlugin.pyi +0 -11
  137. package/dist/typeshed-fallback/stubs/Pillow/PIL/GdImageFile.pyi +0 -9
  138. package/dist/typeshed-fallback/stubs/Pillow/PIL/GifImagePlugin.pyi +0 -31
  139. package/dist/typeshed-fallback/stubs/Pillow/PIL/GimpGradientFile.pyi +0 -19
  140. package/dist/typeshed-fallback/stubs/Pillow/PIL/GimpPaletteFile.pyi +0 -7
  141. package/dist/typeshed-fallback/stubs/Pillow/PIL/GribStubImagePlugin.pyi +0 -9
  142. package/dist/typeshed-fallback/stubs/Pillow/PIL/Hdf5StubImagePlugin.pyi +0 -9
  143. package/dist/typeshed-fallback/stubs/Pillow/PIL/IcnsImagePlugin.pyi +0 -36
  144. package/dist/typeshed-fallback/stubs/Pillow/PIL/IcoImagePlugin.pyi +0 -26
  145. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImImagePlugin.pyi +0 -34
  146. package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +0 -342
  147. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageChops.pyi +0 -23
  148. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageCms.pyi +0 -84
  149. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageColor.pyi +0 -10
  150. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageDraw.pyi +0 -155
  151. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageDraw2.pyi +0 -37
  152. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageEnhance.pyi +0 -25
  153. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFile.pyi +0 -89
  154. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFilter.pyi +0 -136
  155. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFont.pyi +0 -114
  156. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageGrab.pyi +0 -36
  157. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMath.pyi +0 -49
  158. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMode.pyi +0 -10
  159. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageMorph.pyi +0 -26
  160. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageOps.pyi +0 -53
  161. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImagePalette.pyi +0 -26
  162. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImagePath.pyi +0 -3
  163. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageQt.pyi +0 -26
  164. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageSequence.pyi +0 -14
  165. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageShow.pyi +0 -58
  166. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageStat.pyi +0 -14
  167. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +0 -51
  168. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTransform.pyi +0 -21
  169. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageWin.pyi +0 -38
  170. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImtImagePlugin.pyi +0 -10
  171. package/dist/typeshed-fallback/stubs/Pillow/PIL/IptcImagePlugin.pyi +0 -23
  172. package/dist/typeshed-fallback/stubs/Pillow/PIL/Jpeg2KImagePlugin.pyi +0 -23
  173. package/dist/typeshed-fallback/stubs/Pillow/PIL/JpegImagePlugin.pyi +0 -30
  174. package/dist/typeshed-fallback/stubs/Pillow/PIL/JpegPresets.pyi +0 -3
  175. package/dist/typeshed-fallback/stubs/Pillow/PIL/McIdasImagePlugin.pyi +0 -7
  176. package/dist/typeshed-fallback/stubs/Pillow/PIL/MicImagePlugin.pyi +0 -18
  177. package/dist/typeshed-fallback/stubs/Pillow/PIL/MpegImagePlugin.pyi +0 -18
  178. package/dist/typeshed-fallback/stubs/Pillow/PIL/MpoImagePlugin.pyi +0 -15
  179. package/dist/typeshed-fallback/stubs/Pillow/PIL/MspImagePlugin.pyi +0 -10
  180. package/dist/typeshed-fallback/stubs/Pillow/PIL/PSDraw.pyi +0 -19
  181. package/dist/typeshed-fallback/stubs/Pillow/PIL/PaletteFile.pyi +0 -7
  182. package/dist/typeshed-fallback/stubs/Pillow/PIL/PalmImagePlugin.pyi +0 -5
  183. package/dist/typeshed-fallback/stubs/Pillow/PIL/PcdImagePlugin.pyi +0 -10
  184. package/dist/typeshed-fallback/stubs/Pillow/PIL/PcfFontFile.pyi +0 -25
  185. package/dist/typeshed-fallback/stubs/Pillow/PIL/PcxImagePlugin.pyi +0 -10
  186. package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +0 -167
  187. package/dist/typeshed-fallback/stubs/Pillow/PIL/PixarImagePlugin.pyi +0 -7
  188. package/dist/typeshed-fallback/stubs/Pillow/PIL/PngImagePlugin.pyi +0 -115
  189. package/dist/typeshed-fallback/stubs/Pillow/PIL/PpmImagePlugin.pyi +0 -17
  190. package/dist/typeshed-fallback/stubs/Pillow/PIL/PsdImagePlugin.pyi +0 -17
  191. package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +0 -69
  192. package/dist/typeshed-fallback/stubs/Pillow/PIL/QoiImagePlugin.pyi +0 -11
  193. package/dist/typeshed-fallback/stubs/Pillow/PIL/SgiImagePlugin.pyi +0 -13
  194. package/dist/typeshed-fallback/stubs/Pillow/PIL/SpiderImagePlugin.pyi +0 -28
  195. package/dist/typeshed-fallback/stubs/Pillow/PIL/SunImagePlugin.pyi +0 -7
  196. package/dist/typeshed-fallback/stubs/Pillow/PIL/TarIO.pyi +0 -12
  197. package/dist/typeshed-fallback/stubs/Pillow/PIL/TgaImagePlugin.pyi +0 -12
  198. package/dist/typeshed-fallback/stubs/Pillow/PIL/TiffImagePlugin.pyi +0 -295
  199. package/dist/typeshed-fallback/stubs/Pillow/PIL/TiffTags.pyi +0 -46
  200. package/dist/typeshed-fallback/stubs/Pillow/PIL/WalImageFile.pyi +0 -14
  201. package/dist/typeshed-fallback/stubs/Pillow/PIL/WebPImagePlugin.pyi +0 -18
  202. package/dist/typeshed-fallback/stubs/Pillow/PIL/WmfImagePlugin.pyi +0 -19
  203. package/dist/typeshed-fallback/stubs/Pillow/PIL/XVThumbImagePlugin.pyi +0 -9
  204. package/dist/typeshed-fallback/stubs/Pillow/PIL/XbmImagePlugin.pyi +0 -10
  205. package/dist/typeshed-fallback/stubs/Pillow/PIL/XpmImagePlugin.pyi +0 -11
  206. package/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi +0 -3
  207. package/dist/typeshed-fallback/stubs/Pillow/PIL/_binary.pyi +0 -13
  208. package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +0 -29
  209. package/dist/typeshed-fallback/stubs/Pillow/PIL/_tkinter_finder.pyi +0 -2
  210. package/dist/typeshed-fallback/stubs/Pillow/PIL/_version.pyi +0 -1
  211. package/dist/typeshed-fallback/stubs/Pillow/PIL/features.pyi +0 -23
  212. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone_cache.pyi +0 -0
  213. /package/dist/typeshed-fallback/stubs/icalendar/icalendar/{windows_to_olson.pyi → timezone/windows_to_olson.pyi} +0 -0
  214. /package/dist/typeshed-fallback/stubs/{Pillow/PIL/PdfImagePlugin.pyi → jwcrypto/jwcrypto/__init__.pyi} +0 -0
@@ -1,347 +0,0 @@
1
- from collections.abc import Mapping
2
- from enum import IntEnum
3
-
4
- class Base(IntEnum):
5
- InteropIndex = 0x0001
6
- ProcessingSoftware = 0x000B
7
- NewSubfileType = 0x00FE
8
- SubfileType = 0x00FF
9
- ImageWidth = 0x0100
10
- ImageLength = 0x0101
11
- BitsPerSample = 0x0102
12
- Compression = 0x0103
13
- PhotometricInterpretation = 0x0106
14
- Thresholding = 0x0107
15
- CellWidth = 0x0108
16
- CellLength = 0x0109
17
- FillOrder = 0x010A
18
- DocumentName = 0x010D
19
- ImageDescription = 0x010E
20
- Make = 0x010F
21
- Model = 0x0110
22
- StripOffsets = 0x0111
23
- Orientation = 0x0112
24
- SamplesPerPixel = 0x0115
25
- RowsPerStrip = 0x0116
26
- StripByteCounts = 0x0117
27
- MinSampleValue = 0x0118
28
- MaxSampleValue = 0x0119
29
- XResolution = 0x011A
30
- YResolution = 0x011B
31
- PlanarConfiguration = 0x011C
32
- PageName = 0x011D
33
- FreeOffsets = 0x0120
34
- FreeByteCounts = 0x0121
35
- GrayResponseUnit = 0x0122
36
- GrayResponseCurve = 0x0123
37
- T4Options = 0x0124
38
- T6Options = 0x0125
39
- ResolutionUnit = 0x0128
40
- PageNumber = 0x0129
41
- TransferFunction = 0x012D
42
- Software = 0x0131
43
- DateTime = 0x0132
44
- Artist = 0x013B
45
- HostComputer = 0x013C
46
- Predictor = 0x013D
47
- WhitePoint = 0x013E
48
- PrimaryChromaticities = 0x013F
49
- ColorMap = 0x0140
50
- HalftoneHints = 0x0141
51
- TileWidth = 0x0142
52
- TileLength = 0x0143
53
- TileOffsets = 0x0144
54
- TileByteCounts = 0x0145
55
- SubIFDs = 0x014A
56
- InkSet = 0x014C
57
- InkNames = 0x014D
58
- NumberOfInks = 0x014E
59
- DotRange = 0x0150
60
- TargetPrinter = 0x0151
61
- ExtraSamples = 0x0152
62
- SampleFormat = 0x0153
63
- SMinSampleValue = 0x0154
64
- SMaxSampleValue = 0x0155
65
- TransferRange = 0x0156
66
- ClipPath = 0x0157
67
- XClipPathUnits = 0x0158
68
- YClipPathUnits = 0x0159
69
- Indexed = 0x015A
70
- JPEGTables = 0x015B
71
- OPIProxy = 0x015F
72
- JPEGProc = 0x0200
73
- JpegIFOffset = 0x0201
74
- JpegIFByteCount = 0x0202
75
- JpegRestartInterval = 0x0203
76
- JpegLosslessPredictors = 0x0205
77
- JpegPointTransforms = 0x0206
78
- JpegQTables = 0x0207
79
- JpegDCTables = 0x0208
80
- JpegACTables = 0x0209
81
- YCbCrCoefficients = 0x0211
82
- YCbCrSubSampling = 0x0212
83
- YCbCrPositioning = 0x0213
84
- ReferenceBlackWhite = 0x0214
85
- XMLPacket = 0x02BC
86
- RelatedImageFileFormat = 0x1000
87
- RelatedImageWidth = 0x1001
88
- RelatedImageLength = 0x1002
89
- Rating = 0x4746
90
- RatingPercent = 0x4749
91
- ImageID = 0x800D
92
- CFARepeatPatternDim = 0x828D
93
- BatteryLevel = 0x828F
94
- Copyright = 0x8298
95
- ExposureTime = 0x829A
96
- FNumber = 0x829D
97
- IPTCNAA = 0x83BB
98
- ImageResources = 0x8649
99
- ExifOffset = 0x8769
100
- InterColorProfile = 0x8773
101
- ExposureProgram = 0x8822
102
- SpectralSensitivity = 0x8824
103
- GPSInfo = 0x8825
104
- ISOSpeedRatings = 0x8827
105
- OECF = 0x8828
106
- Interlace = 0x8829
107
- TimeZoneOffset = 0x882A
108
- SelfTimerMode = 0x882B
109
- SensitivityType = 0x8830
110
- StandardOutputSensitivity = 0x8831
111
- RecommendedExposureIndex = 0x8832
112
- ISOSpeed = 0x8833
113
- ISOSpeedLatitudeyyy = 0x8834
114
- ISOSpeedLatitudezzz = 0x8835
115
- ExifVersion = 0x9000
116
- DateTimeOriginal = 0x9003
117
- DateTimeDigitized = 0x9004
118
- OffsetTime = 0x9010
119
- OffsetTimeOriginal = 0x9011
120
- OffsetTimeDigitized = 0x9012
121
- ComponentsConfiguration = 0x9101
122
- CompressedBitsPerPixel = 0x9102
123
- ShutterSpeedValue = 0x9201
124
- ApertureValue = 0x9202
125
- BrightnessValue = 0x9203
126
- ExposureBiasValue = 0x9204
127
- MaxApertureValue = 0x9205
128
- SubjectDistance = 0x9206
129
- MeteringMode = 0x9207
130
- LightSource = 0x9208
131
- Flash = 0x9209
132
- FocalLength = 0x920A
133
- Noise = 0x920D
134
- ImageNumber = 0x9211
135
- SecurityClassification = 0x9212
136
- ImageHistory = 0x9213
137
- TIFFEPStandardID = 0x9216
138
- MakerNote = 0x927C
139
- UserComment = 0x9286
140
- SubsecTime = 0x9290
141
- SubsecTimeOriginal = 0x9291
142
- SubsecTimeDigitized = 0x9292
143
- AmbientTemperature = 0x9400
144
- Humidity = 0x9401
145
- Pressure = 0x9402
146
- WaterDepth = 0x9403
147
- Acceleration = 0x9404
148
- CameraElevationAngle = 0x9405
149
- XPTitle = 0x9C9B
150
- XPComment = 0x9C9C
151
- XPAuthor = 0x9C9D
152
- XPKeywords = 0x9C9E
153
- XPSubject = 0x9C9F
154
- FlashPixVersion = 0xA000
155
- ColorSpace = 0xA001
156
- ExifImageWidth = 0xA002
157
- ExifImageHeight = 0xA003
158
- RelatedSoundFile = 0xA004
159
- ExifInteroperabilityOffset = 0xA005
160
- FlashEnergy = 0xA20B
161
- SpatialFrequencyResponse = 0xA20C
162
- FocalPlaneXResolution = 0xA20E
163
- FocalPlaneYResolution = 0xA20F
164
- FocalPlaneResolutionUnit = 0xA210
165
- SubjectLocation = 0xA214
166
- ExposureIndex = 0xA215
167
- SensingMethod = 0xA217
168
- FileSource = 0xA300
169
- SceneType = 0xA301
170
- CFAPattern = 0xA302
171
- CustomRendered = 0xA401
172
- ExposureMode = 0xA402
173
- WhiteBalance = 0xA403
174
- DigitalZoomRatio = 0xA404
175
- FocalLengthIn35mmFilm = 0xA405
176
- SceneCaptureType = 0xA406
177
- GainControl = 0xA407
178
- Contrast = 0xA408
179
- Saturation = 0xA409
180
- Sharpness = 0xA40A
181
- DeviceSettingDescription = 0xA40B
182
- SubjectDistanceRange = 0xA40C
183
- ImageUniqueID = 0xA420
184
- CameraOwnerName = 0xA430
185
- BodySerialNumber = 0xA431
186
- LensSpecification = 0xA432
187
- LensMake = 0xA433
188
- LensModel = 0xA434
189
- LensSerialNumber = 0xA435
190
- CompositeImage = 0xA460
191
- CompositeImageCount = 0xA461
192
- CompositeImageExposureTimes = 0xA462
193
- Gamma = 0xA500
194
- PrintImageMatching = 0xC4A5
195
- DNGVersion = 0xC612
196
- DNGBackwardVersion = 0xC613
197
- UniqueCameraModel = 0xC614
198
- LocalizedCameraModel = 0xC615
199
- CFAPlaneColor = 0xC616
200
- CFALayout = 0xC617
201
- LinearizationTable = 0xC618
202
- BlackLevelRepeatDim = 0xC619
203
- BlackLevel = 0xC61A
204
- BlackLevelDeltaH = 0xC61B
205
- BlackLevelDeltaV = 0xC61C
206
- WhiteLevel = 0xC61D
207
- DefaultScale = 0xC61E
208
- DefaultCropOrigin = 0xC61F
209
- DefaultCropSize = 0xC620
210
- ColorMatrix1 = 0xC621
211
- ColorMatrix2 = 0xC622
212
- CameraCalibration1 = 0xC623
213
- CameraCalibration2 = 0xC624
214
- ReductionMatrix1 = 0xC625
215
- ReductionMatrix2 = 0xC626
216
- AnalogBalance = 0xC627
217
- AsShotNeutral = 0xC628
218
- AsShotWhiteXY = 0xC629
219
- BaselineExposure = 0xC62A
220
- BaselineNoise = 0xC62B
221
- BaselineSharpness = 0xC62C
222
- BayerGreenSplit = 0xC62D
223
- LinearResponseLimit = 0xC62E
224
- CameraSerialNumber = 0xC62F
225
- LensInfo = 0xC630
226
- ChromaBlurRadius = 0xC631
227
- AntiAliasStrength = 0xC632
228
- ShadowScale = 0xC633
229
- DNGPrivateData = 0xC634
230
- MakerNoteSafety = 0xC635
231
- CalibrationIlluminant1 = 0xC65A
232
- CalibrationIlluminant2 = 0xC65B
233
- BestQualityScale = 0xC65C
234
- RawDataUniqueID = 0xC65D
235
- OriginalRawFileName = 0xC68B
236
- OriginalRawFileData = 0xC68C
237
- ActiveArea = 0xC68D
238
- MaskedAreas = 0xC68E
239
- AsShotICCProfile = 0xC68F
240
- AsShotPreProfileMatrix = 0xC690
241
- CurrentICCProfile = 0xC691
242
- CurrentPreProfileMatrix = 0xC692
243
- ColorimetricReference = 0xC6BF
244
- CameraCalibrationSignature = 0xC6F3
245
- ProfileCalibrationSignature = 0xC6F4
246
- AsShotProfileName = 0xC6F6
247
- NoiseReductionApplied = 0xC6F7
248
- ProfileName = 0xC6F8
249
- ProfileHueSatMapDims = 0xC6F9
250
- ProfileHueSatMapData1 = 0xC6FA
251
- ProfileHueSatMapData2 = 0xC6FB
252
- ProfileToneCurve = 0xC6FC
253
- ProfileEmbedPolicy = 0xC6FD
254
- ProfileCopyright = 0xC6FE
255
- ForwardMatrix1 = 0xC714
256
- ForwardMatrix2 = 0xC715
257
- PreviewApplicationName = 0xC716
258
- PreviewApplicationVersion = 0xC717
259
- PreviewSettingsName = 0xC718
260
- PreviewSettingsDigest = 0xC719
261
- PreviewColorSpace = 0xC71A
262
- PreviewDateTime = 0xC71B
263
- RawImageDigest = 0xC71C
264
- OriginalRawFileDigest = 0xC71D
265
- SubTileBlockSize = 0xC71E
266
- RowInterleaveFactor = 0xC71F
267
- ProfileLookTableDims = 0xC725
268
- ProfileLookTableData = 0xC726
269
- OpcodeList1 = 0xC740
270
- OpcodeList2 = 0xC741
271
- OpcodeList3 = 0xC74E
272
- NoiseProfile = 0xC761
273
-
274
- TAGS: Mapping[int, str]
275
-
276
- class GPS(IntEnum):
277
- GPSVersionID = 0
278
- GPSLatitudeRef = 1
279
- GPSLatitude = 2
280
- GPSLongitudeRef = 3
281
- GPSLongitude = 4
282
- GPSAltitudeRef = 5
283
- GPSAltitude = 6
284
- GPSTimeStamp = 7
285
- GPSSatellites = 8
286
- GPSStatus = 9
287
- GPSMeasureMode = 10
288
- GPSDOP = 11
289
- GPSSpeedRef = 12
290
- GPSSpeed = 13
291
- GPSTrackRef = 14
292
- GPSTrack = 15
293
- GPSImgDirectionRef = 16
294
- GPSImgDirection = 17
295
- GPSMapDatum = 18
296
- GPSDestLatitudeRef = 19
297
- GPSDestLatitude = 20
298
- GPSDestLongitudeRef = 21
299
- GPSDestLongitude = 22
300
- GPSDestBearingRef = 23
301
- GPSDestBearing = 24
302
- GPSDestDistanceRef = 25
303
- GPSDestDistance = 26
304
- GPSProcessingMethod = 27
305
- GPSAreaInformation = 28
306
- GPSDateStamp = 29
307
- GPSDifferential = 30
308
- GPSHPositioningError = 31
309
-
310
- GPSTAGS: Mapping[int, str]
311
-
312
- class Interop(IntEnum):
313
- InteropIndex = 1
314
- InteropVersion = 2
315
- RelatedImageFileFormat = 4096
316
- RelatedImageWidth = 4097
317
- RleatedImageHeight = 4098
318
-
319
- class IFD(IntEnum):
320
- Exif = 34665
321
- GPSInfo = 34853
322
- Makernote = 37500
323
- Interop = 40965
324
- IFD1 = -1
325
-
326
- class LightSource(IntEnum):
327
- Unknown = 0
328
- Daylight = 1
329
- Fluorescent = 2
330
- Tungsten = 3
331
- Flash = 4
332
- Fine = 9
333
- Cloudy = 10
334
- Shade = 11
335
- DaylightFluorescent = 12
336
- DayWhiteFluorescent = 13
337
- CoolWhiteFluorescent = 14
338
- WhiteFluorescent = 15
339
- StandardLightA = 17
340
- StandardLightB = 18
341
- StandardLightC = 19
342
- D55 = 20
343
- D65 = 21
344
- D75 = 22
345
- D50 = 23
346
- ISO = 24
347
- Other = 255
@@ -1,7 +0,0 @@
1
- from typing import ClassVar
2
-
3
- from . import Image as Image, ImageFile as ImageFile
4
-
5
- class FitsImageFile(ImageFile.ImageFile):
6
- format: ClassVar[str]
7
- format_description: ClassVar[str]
@@ -1,9 +0,0 @@
1
- from typing import ClassVar, Literal
2
-
3
- from .ImageFile import ImageFile
4
-
5
- class FliImageFile(ImageFile):
6
- format: ClassVar[Literal["FLI"]]
7
- format_description: ClassVar[str]
8
- def seek(self, frame) -> None: ...
9
- def tell(self): ...
@@ -1,16 +0,0 @@
1
- from _typeshed import Incomplete
2
-
3
- WIDTH: int
4
-
5
- def puti16(fp, values) -> None: ...
6
-
7
- class FontFile:
8
- bitmap: Incomplete
9
- info: Incomplete
10
- glyph: Incomplete
11
- def __init__(self) -> None: ...
12
- def __getitem__(self, ix): ...
13
- ysize: Incomplete
14
- metrics: Incomplete
15
- def compile(self): ...
16
- def save(self, filename) -> None: ...
@@ -1,23 +0,0 @@
1
- from _typeshed import Incomplete
2
- from typing import Any, ClassVar, Literal
3
- from typing_extensions import TypeAlias
4
-
5
- from ._imaging import _PixelAccessor
6
- from .ImageFile import ImageFile
7
-
8
- _OleFileIO: TypeAlias = Any # olefile.OleFileIO
9
- _OleStream: TypeAlias = Any # olefile.OleStream
10
-
11
- MODES: dict[tuple[int, ...], tuple[str, str]]
12
-
13
- class FpxImageFile(ImageFile):
14
- ole: _OleFileIO
15
- format: ClassVar[Literal["FPX"]]
16
- format_description: ClassVar[str]
17
- fp: _OleStream | None
18
- maxid: int
19
- rawmode: str
20
- jpeg: dict[int, Incomplete]
21
- tile_prefix: Incomplete
22
- stream: list[str]
23
- def load(self) -> _PixelAccessor: ...
@@ -1,15 +0,0 @@
1
- from enum import IntEnum
2
- from typing import ClassVar, Literal
3
-
4
- from .ImageFile import ImageFile
5
-
6
- MAGIC: bytes
7
-
8
- class Format(IntEnum):
9
- DXT1 = 0
10
- UNCOMPRESSED = 1
11
-
12
- class FtexImageFile(ImageFile):
13
- format: ClassVar[Literal["FTEX"]]
14
- format_description: ClassVar[str]
15
- def load_seek(self, pos) -> None: ...
@@ -1,11 +0,0 @@
1
- from _typeshed import Incomplete
2
- from typing import ClassVar, Literal
3
-
4
- from ._imaging import _PixelAccessor
5
- from .ImageFile import ImageFile
6
-
7
- class GbrImageFile(ImageFile):
8
- format: ClassVar[Literal["GBR"]]
9
- format_description: ClassVar[str]
10
- im: Incomplete
11
- def load(self) -> _PixelAccessor: ...
@@ -1,9 +0,0 @@
1
- from typing import ClassVar, Literal
2
-
3
- from .ImageFile import ImageFile
4
-
5
- class GdImageFile(ImageFile):
6
- format: ClassVar[Literal["GD"]]
7
- format_description: ClassVar[str]
8
-
9
- def open(fp, mode: str = "r"): ...
@@ -1,31 +0,0 @@
1
- from _typeshed import Incomplete
2
- from enum import IntEnum
3
- from typing import ClassVar, Literal
4
-
5
- from .ImageFile import ImageFile
6
-
7
- class LoadingStrategy(IntEnum):
8
- RGB_AFTER_FIRST = 0
9
- RGB_AFTER_DIFFERENT_PALETTE_ONLY = 1
10
- RGB_ALWAYS = 2
11
-
12
- LOADING_STRATEGY: LoadingStrategy
13
-
14
- class GifImageFile(ImageFile):
15
- format: ClassVar[Literal["GIF"]]
16
- format_description: ClassVar[str]
17
- global_palette: Incomplete
18
- def data(self): ...
19
- @property
20
- def n_frames(self): ...
21
- @property
22
- def is_animated(self): ...
23
- im: Incomplete
24
- def seek(self, frame) -> None: ...
25
- def tell(self): ...
26
-
27
- RAWMODE: Incomplete
28
-
29
- def get_interlace(im): ...
30
- def getheader(im, palette: Incomplete | None = None, info: Incomplete | None = None): ...
31
- def getdata(im, offset=(0, 0), **params): ...
@@ -1,19 +0,0 @@
1
- from _typeshed import Incomplete
2
-
3
- EPSILON: float
4
-
5
- def linear(middle, pos): ...
6
- def curved(middle, pos): ...
7
- def sine(middle, pos): ...
8
- def sphere_increasing(middle, pos): ...
9
- def sphere_decreasing(middle, pos): ...
10
-
11
- SEGMENTS: Incomplete
12
-
13
- class GradientFile:
14
- gradient: Incomplete
15
- def getpalette(self, entries: int = 256): ...
16
-
17
- class GimpGradientFile(GradientFile):
18
- gradient: Incomplete
19
- def __init__(self, fp) -> None: ...
@@ -1,7 +0,0 @@
1
- from _typeshed import Incomplete
2
-
3
- class GimpPaletteFile:
4
- rawmode: str
5
- palette: Incomplete
6
- def __init__(self, fp) -> None: ...
7
- def getpalette(self): ...
@@ -1,9 +0,0 @@
1
- from typing import ClassVar, Literal
2
-
3
- from .ImageFile import StubImageFile
4
-
5
- def register_handler(handler) -> None: ...
6
-
7
- class GribStubImageFile(StubImageFile):
8
- format: ClassVar[Literal["GRIB"]]
9
- format_description: ClassVar[str]
@@ -1,9 +0,0 @@
1
- from typing import ClassVar, Literal
2
-
3
- from .ImageFile import StubImageFile
4
-
5
- def register_handler(handler) -> None: ...
6
-
7
- class HDF5StubImageFile(StubImageFile):
8
- format: ClassVar[Literal["HDF5"]]
9
- format_description: ClassVar[str]
@@ -1,36 +0,0 @@
1
- from _typeshed import Incomplete
2
- from typing import ClassVar, Final, Literal
3
-
4
- from ._imaging import _PixelAccessor
5
- from .ImageFile import ImageFile
6
-
7
- enable_jpeg2k: Incomplete
8
- MAGIC: Final = b"icns"
9
- HEADERSIZE: Final = 8
10
-
11
- def nextheader(fobj): ...
12
- def read_32t(fobj, start_length, size): ...
13
- def read_32(fobj, start_length, size): ...
14
- def read_mk(fobj, start_length, size): ...
15
- def read_png_or_jpeg2000(fobj, start_length, size): ...
16
-
17
- class IcnsFile:
18
- SIZES: Incomplete
19
- dct: Incomplete
20
- fobj: Incomplete
21
- def __init__(self, fobj) -> None: ...
22
- def itersizes(self): ...
23
- def bestsize(self): ...
24
- def dataforsize(self, size): ...
25
- def getimage(self, size: Incomplete | None = None): ...
26
-
27
- class IcnsImageFile(ImageFile):
28
- format: ClassVar[Literal["ICNS"]]
29
- format_description: ClassVar[str]
30
- @property
31
- def size(self): ...
32
- @size.setter
33
- def size(self, value) -> None: ...
34
- best_size: Incomplete
35
- im: Incomplete
36
- def load(self) -> _PixelAccessor: ...
@@ -1,26 +0,0 @@
1
- from _typeshed import Incomplete
2
- from typing import ClassVar, Literal
3
-
4
- from ._imaging import _PixelAccessor
5
- from .ImageFile import ImageFile
6
-
7
- class IcoFile:
8
- buf: Incomplete
9
- entry: Incomplete
10
- nb_items: Incomplete
11
- def __init__(self, buf): ...
12
- def sizes(self): ...
13
- def getentryindex(self, size, bpp: bool = False): ...
14
- def getimage(self, size, bpp: bool = False): ...
15
- def frame(self, idx): ...
16
-
17
- class IcoImageFile(ImageFile):
18
- format: ClassVar[Literal["ICO"]]
19
- format_description: ClassVar[str]
20
- @property
21
- def size(self): ...
22
- @size.setter
23
- def size(self, value) -> None: ...
24
- im: Incomplete
25
- def load(self) -> _PixelAccessor: ...
26
- def load_seek(self) -> None: ...
@@ -1,34 +0,0 @@
1
- from _typeshed import Incomplete
2
- from typing import ClassVar, Literal
3
-
4
- from .ImageFile import ImageFile
5
-
6
- COMMENT: str
7
- DATE: str
8
- EQUIPMENT: str
9
- FRAMES: str
10
- LUT: str
11
- NAME: str
12
- SCALE: str
13
- SIZE: str
14
- MODE: str
15
- TAGS: Incomplete
16
- OPEN: Incomplete
17
- split: Incomplete
18
-
19
- def number(s): ...
20
-
21
- class ImImageFile(ImageFile):
22
- format: ClassVar[Literal["IM"]]
23
- format_description: ClassVar[str]
24
- @property
25
- def n_frames(self): ...
26
- @property
27
- def is_animated(self): ...
28
- frame: Incomplete
29
- fp: Incomplete
30
- tile: Incomplete
31
- def seek(self, frame) -> None: ...
32
- def tell(self): ...
33
-
34
- SAVE: Incomplete