@pairling/runtime-darwin-arm64 0.2.1 → 0.2.2

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 (248) hide show
  1. package/bin/pairling-connectd +0 -0
  2. package/manifest.json +4 -4
  3. package/package.json +1 -1
  4. package/python/bin/python3 +0 -0
  5. package/python/bin/python3.12 +0 -0
  6. package/python/lib/libpython3.12.dylib +0 -0
  7. package/python/lib/python3.12/__pycache__/__future__.cpython-312.pyc +0 -0
  8. package/python/lib/python3.12/__pycache__/_compression.cpython-312.pyc +0 -0
  9. package/python/lib/python3.12/__pycache__/_weakrefset.cpython-312.pyc +0 -0
  10. package/python/lib/python3.12/__pycache__/base64.cpython-312.pyc +0 -0
  11. package/python/lib/python3.12/__pycache__/bisect.cpython-312.pyc +0 -0
  12. package/python/lib/python3.12/__pycache__/bz2.cpython-312.pyc +0 -0
  13. package/python/lib/python3.12/__pycache__/calendar.cpython-312.pyc +0 -0
  14. package/python/lib/python3.12/__pycache__/contextlib.cpython-312.pyc +0 -0
  15. package/python/lib/python3.12/__pycache__/copyreg.cpython-312.pyc +0 -0
  16. package/python/lib/python3.12/__pycache__/datetime.cpython-312.pyc +0 -0
  17. package/python/lib/python3.12/__pycache__/enum.cpython-312.pyc +0 -0
  18. package/python/lib/python3.12/__pycache__/fnmatch.cpython-312.pyc +0 -0
  19. package/python/lib/python3.12/__pycache__/functools.cpython-312.pyc +0 -0
  20. package/python/lib/python3.12/__pycache__/hashlib.cpython-312.pyc +0 -0
  21. package/python/lib/python3.12/__pycache__/hmac.cpython-312.pyc +0 -0
  22. package/python/lib/python3.12/__pycache__/ipaddress.cpython-312.pyc +0 -0
  23. package/python/lib/python3.12/__pycache__/keyword.cpython-312.pyc +0 -0
  24. package/python/lib/python3.12/__pycache__/locale.cpython-312.pyc +0 -0
  25. package/python/lib/python3.12/__pycache__/lzma.cpython-312.pyc +0 -0
  26. package/python/lib/python3.12/__pycache__/operator.cpython-312.pyc +0 -0
  27. package/python/lib/python3.12/__pycache__/plistlib.cpython-312.pyc +0 -0
  28. package/python/lib/python3.12/__pycache__/pty.cpython-312.pyc +0 -0
  29. package/python/lib/python3.12/__pycache__/quopri.cpython-312.pyc +0 -0
  30. package/python/lib/python3.12/__pycache__/random.cpython-312.pyc +0 -0
  31. package/python/lib/python3.12/__pycache__/reprlib.cpython-312.pyc +0 -0
  32. package/python/lib/python3.12/__pycache__/selectors.cpython-312.pyc +0 -0
  33. package/python/lib/python3.12/__pycache__/shutil.cpython-312.pyc +0 -0
  34. package/python/lib/python3.12/__pycache__/signal.cpython-312.pyc +0 -0
  35. package/python/lib/python3.12/__pycache__/socket.cpython-312.pyc +0 -0
  36. package/python/lib/python3.12/__pycache__/ssl.cpython-312.pyc +0 -0
  37. package/python/lib/python3.12/__pycache__/string.cpython-312.pyc +0 -0
  38. package/python/lib/python3.12/__pycache__/struct.cpython-312.pyc +0 -0
  39. package/python/lib/python3.12/__pycache__/subprocess.cpython-312.pyc +0 -0
  40. package/python/lib/python3.12/__pycache__/tempfile.cpython-312.pyc +0 -0
  41. package/python/lib/python3.12/__pycache__/threading.cpython-312.pyc +0 -0
  42. package/python/lib/python3.12/__pycache__/tty.cpython-312.pyc +0 -0
  43. package/python/lib/python3.12/__pycache__/types.cpython-312.pyc +0 -0
  44. package/python/lib/python3.12/__pycache__/typing.cpython-312.pyc +0 -0
  45. package/python/lib/python3.12/__pycache__/warnings.cpython-312.pyc +0 -0
  46. package/python/lib/python3.12/__pycache__/weakref.cpython-312.pyc +0 -0
  47. package/python/lib/python3.12/collections/__pycache__/__init__.cpython-312.pyc +0 -0
  48. package/python/lib/python3.12/collections/__pycache__/abc.cpython-312.pyc +0 -0
  49. package/python/lib/python3.12/email/__pycache__/__init__.cpython-312.pyc +0 -0
  50. package/python/lib/python3.12/email/__pycache__/_encoded_words.cpython-312.pyc +0 -0
  51. package/python/lib/python3.12/email/__pycache__/_parseaddr.cpython-312.pyc +0 -0
  52. package/python/lib/python3.12/email/__pycache__/_policybase.cpython-312.pyc +0 -0
  53. package/python/lib/python3.12/email/__pycache__/base64mime.cpython-312.pyc +0 -0
  54. package/python/lib/python3.12/email/__pycache__/charset.cpython-312.pyc +0 -0
  55. package/python/lib/python3.12/email/__pycache__/encoders.cpython-312.pyc +0 -0
  56. package/python/lib/python3.12/email/__pycache__/errors.cpython-312.pyc +0 -0
  57. package/python/lib/python3.12/email/__pycache__/feedparser.cpython-312.pyc +0 -0
  58. package/python/lib/python3.12/email/__pycache__/header.cpython-312.pyc +0 -0
  59. package/python/lib/python3.12/email/__pycache__/iterators.cpython-312.pyc +0 -0
  60. package/python/lib/python3.12/email/__pycache__/message.cpython-312.pyc +0 -0
  61. package/python/lib/python3.12/email/__pycache__/parser.cpython-312.pyc +0 -0
  62. package/python/lib/python3.12/email/__pycache__/quoprimime.cpython-312.pyc +0 -0
  63. package/python/lib/python3.12/email/__pycache__/utils.cpython-312.pyc +0 -0
  64. package/python/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc +0 -0
  65. package/python/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc +0 -0
  66. package/python/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc +0 -0
  67. package/python/lib/python3.12/http/__pycache__/__init__.cpython-312.pyc +0 -0
  68. package/python/lib/python3.12/http/__pycache__/client.cpython-312.pyc +0 -0
  69. package/python/lib/python3.12/json/__pycache__/__init__.cpython-312.pyc +0 -0
  70. package/python/lib/python3.12/json/__pycache__/decoder.cpython-312.pyc +0 -0
  71. package/python/lib/python3.12/json/__pycache__/encoder.cpython-312.pyc +0 -0
  72. package/python/lib/python3.12/json/__pycache__/scanner.cpython-312.pyc +0 -0
  73. package/python/lib/python3.12/lib-dynload/_crypt.cpython-312-darwin.so +0 -0
  74. package/python/lib/python3.12/lib-dynload/_dbm.cpython-312-darwin.so +0 -0
  75. package/python/lib/python3.12/re/__pycache__/__init__.cpython-312.pyc +0 -0
  76. package/python/lib/python3.12/re/__pycache__/_casefix.cpython-312.pyc +0 -0
  77. package/python/lib/python3.12/re/__pycache__/_compiler.cpython-312.pyc +0 -0
  78. package/python/lib/python3.12/re/__pycache__/_constants.cpython-312.pyc +0 -0
  79. package/python/lib/python3.12/re/__pycache__/_parser.cpython-312.pyc +0 -0
  80. package/python/lib/python3.12/site-packages/_cffi_backend.cpython-312-darwin.so +0 -0
  81. package/python/lib/python3.12/site-packages/cffi/__init__.py +14 -0
  82. package/python/lib/python3.12/site-packages/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
  83. package/python/lib/python3.12/site-packages/cffi/__pycache__/api.cpython-312.pyc +0 -0
  84. package/python/lib/python3.12/site-packages/cffi/__pycache__/error.cpython-312.pyc +0 -0
  85. package/python/lib/python3.12/site-packages/cffi/__pycache__/lock.cpython-312.pyc +0 -0
  86. package/python/lib/python3.12/site-packages/cffi/__pycache__/model.cpython-312.pyc +0 -0
  87. package/python/lib/python3.12/site-packages/cffi/_cffi_errors.h +149 -0
  88. package/python/lib/python3.12/site-packages/cffi/_cffi_include.h +389 -0
  89. package/python/lib/python3.12/site-packages/cffi/_embedding.h +550 -0
  90. package/python/lib/python3.12/site-packages/cffi/_imp_emulation.py +83 -0
  91. package/python/lib/python3.12/site-packages/cffi/_shimmed_dist_utils.py +45 -0
  92. package/python/lib/python3.12/site-packages/cffi/api.py +967 -0
  93. package/python/lib/python3.12/site-packages/cffi/backend_ctypes.py +1121 -0
  94. package/python/lib/python3.12/site-packages/cffi/cffi_opcode.py +187 -0
  95. package/python/lib/python3.12/site-packages/cffi/commontypes.py +82 -0
  96. package/python/lib/python3.12/site-packages/cffi/cparser.py +1015 -0
  97. package/python/lib/python3.12/site-packages/cffi/error.py +31 -0
  98. package/python/lib/python3.12/site-packages/cffi/ffiplatform.py +113 -0
  99. package/python/lib/python3.12/site-packages/cffi/lock.py +30 -0
  100. package/python/lib/python3.12/site-packages/cffi/model.py +618 -0
  101. package/python/lib/python3.12/site-packages/cffi/parse_c_type.h +181 -0
  102. package/python/lib/python3.12/site-packages/cffi/pkgconfig.py +121 -0
  103. package/python/lib/python3.12/site-packages/cffi/recompiler.py +1598 -0
  104. package/python/lib/python3.12/site-packages/cffi/setuptools_ext.py +229 -0
  105. package/python/lib/python3.12/site-packages/cffi/vengine_cpy.py +1087 -0
  106. package/python/lib/python3.12/site-packages/cffi/vengine_gen.py +679 -0
  107. package/python/lib/python3.12/site-packages/cffi/verifier.py +306 -0
  108. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/INSTALLER +1 -0
  109. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/METADATA +68 -0
  110. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/RECORD +31 -0
  111. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/WHEEL +6 -0
  112. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/entry_points.txt +2 -0
  113. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS +8 -0
  114. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE +23 -0
  115. package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/top_level.txt +2 -0
  116. package/python/lib/python3.12/site-packages/cryptography/__about__.py +17 -0
  117. package/python/lib/python3.12/site-packages/cryptography/__init__.py +26 -0
  118. package/python/lib/python3.12/site-packages/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
  119. package/python/lib/python3.12/site-packages/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
  120. package/python/lib/python3.12/site-packages/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
  121. package/python/lib/python3.12/site-packages/cryptography/exceptions.py +52 -0
  122. package/python/lib/python3.12/site-packages/cryptography/fernet.py +224 -0
  123. package/python/lib/python3.12/site-packages/cryptography/hazmat/__init__.py +13 -0
  124. package/python/lib/python3.12/site-packages/cryptography/hazmat/_oid.py +348 -0
  125. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
  126. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
  127. package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/backend.py +308 -0
  128. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/__init__.py +3 -0
  129. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +37 -0
  130. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
  131. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
  132. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
  133. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
  134. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +75 -0
  135. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +107 -0
  136. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
  137. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
  138. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
  139. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
  140. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
  141. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
  142. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
  143. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +28 -0
  144. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
  145. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +49 -0
  146. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
  147. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
  148. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
  149. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
  150. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
  151. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
  152. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
  153. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
  154. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
  155. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
  156. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +3 -0
  157. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +191 -0
  158. package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/binding.py +122 -0
  159. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
  160. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
  161. package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +112 -0
  162. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/__init__.py +3 -0
  163. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
  164. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
  165. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_serialization.py +168 -0
  166. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +3 -0
  167. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +147 -0
  168. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +167 -0
  169. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +447 -0
  170. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +129 -0
  171. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +131 -0
  172. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +113 -0
  173. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +277 -0
  174. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +111 -0
  175. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +24 -0
  176. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +122 -0
  177. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +125 -0
  178. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
  179. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
  180. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +183 -0
  181. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
  182. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +268 -0
  183. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
  184. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
  185. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hashes.py +246 -0
  186. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
  187. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +23 -0
  188. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +13 -0
  189. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +125 -0
  190. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +101 -0
  191. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +305 -0
  192. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +62 -0
  193. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
  194. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +61 -0
  195. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/keywrap.py +177 -0
  196. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
  197. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
  198. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +65 -0
  199. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/base.py +14 -0
  200. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
  201. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +411 -0
  202. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1619 -0
  203. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
  204. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
  205. package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
  206. package/python/lib/python3.12/site-packages/cryptography/py.typed +0 -0
  207. package/python/lib/python3.12/site-packages/cryptography/utils.py +139 -0
  208. package/python/lib/python3.12/site-packages/cryptography/x509/__init__.py +270 -0
  209. package/python/lib/python3.12/site-packages/cryptography/x509/base.py +848 -0
  210. package/python/lib/python3.12/site-packages/cryptography/x509/certificate_transparency.py +35 -0
  211. package/python/lib/python3.12/site-packages/cryptography/x509/extensions.py +2528 -0
  212. package/python/lib/python3.12/site-packages/cryptography/x509/general_name.py +281 -0
  213. package/python/lib/python3.12/site-packages/cryptography/x509/name.py +477 -0
  214. package/python/lib/python3.12/site-packages/cryptography/x509/ocsp.py +379 -0
  215. package/python/lib/python3.12/site-packages/cryptography/x509/oid.py +37 -0
  216. package/python/lib/python3.12/site-packages/cryptography/x509/verification.py +34 -0
  217. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/INSTALLER +1 -0
  218. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/METADATA +139 -0
  219. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/RECORD +106 -0
  220. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/REQUESTED +0 -0
  221. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/WHEEL +4 -0
  222. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE +3 -0
  223. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.APACHE +202 -0
  224. package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.BSD +27 -0
  225. package/python/lib/python3.12/site-packages/pycparser/__init__.py +99 -0
  226. package/python/lib/python3.12/site-packages/pycparser/_ast_gen.py +355 -0
  227. package/python/lib/python3.12/site-packages/pycparser/_c_ast.cfg +195 -0
  228. package/python/lib/python3.12/site-packages/pycparser/ast_transforms.py +174 -0
  229. package/python/lib/python3.12/site-packages/pycparser/c_ast.py +1341 -0
  230. package/python/lib/python3.12/site-packages/pycparser/c_generator.py +573 -0
  231. package/python/lib/python3.12/site-packages/pycparser/c_lexer.py +706 -0
  232. package/python/lib/python3.12/site-packages/pycparser/c_parser.py +2376 -0
  233. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/INSTALLER +1 -0
  234. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/METADATA +244 -0
  235. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/RECORD +14 -0
  236. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/WHEEL +5 -0
  237. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/licenses/LICENSE +27 -0
  238. package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/top_level.txt +1 -0
  239. package/python/lib/python3.12/sqlite3/__pycache__/__init__.cpython-312.pyc +0 -0
  240. package/python/lib/python3.12/sqlite3/__pycache__/dbapi2.cpython-312.pyc +0 -0
  241. package/python/lib/python3.12/urllib/__pycache__/__init__.cpython-312.pyc +0 -0
  242. package/python/lib/python3.12/urllib/__pycache__/error.cpython-312.pyc +0 -0
  243. package/python/lib/python3.12/urllib/__pycache__/parse.cpython-312.pyc +0 -0
  244. package/python/lib/python3.12/urllib/__pycache__/request.cpython-312.pyc +0 -0
  245. package/python/lib/python3.12/urllib/__pycache__/response.cpython-312.pyc +0 -0
  246. package/python/lib/python3.12/xml/__pycache__/__init__.cpython-312.pyc +0 -0
  247. package/python/lib/python3.12/xml/parsers/__pycache__/__init__.cpython-312.pyc +0 -0
  248. package/python/lib/python3.12/xml/parsers/__pycache__/expat.cpython-312.pyc +0 -0
@@ -0,0 +1,181 @@
1
+
2
+ /* This part is from file 'cffi/parse_c_type.h'. It is copied at the
3
+ beginning of C sources generated by CFFI's ffi.set_source(). */
4
+
5
+ typedef void *_cffi_opcode_t;
6
+
7
+ #define _CFFI_OP(opcode, arg) (_cffi_opcode_t)(opcode | (((uintptr_t)(arg)) << 8))
8
+ #define _CFFI_GETOP(cffi_opcode) ((unsigned char)(uintptr_t)cffi_opcode)
9
+ #define _CFFI_GETARG(cffi_opcode) (((intptr_t)cffi_opcode) >> 8)
10
+
11
+ #define _CFFI_OP_PRIMITIVE 1
12
+ #define _CFFI_OP_POINTER 3
13
+ #define _CFFI_OP_ARRAY 5
14
+ #define _CFFI_OP_OPEN_ARRAY 7
15
+ #define _CFFI_OP_STRUCT_UNION 9
16
+ #define _CFFI_OP_ENUM 11
17
+ #define _CFFI_OP_FUNCTION 13
18
+ #define _CFFI_OP_FUNCTION_END 15
19
+ #define _CFFI_OP_NOOP 17
20
+ #define _CFFI_OP_BITFIELD 19
21
+ #define _CFFI_OP_TYPENAME 21
22
+ #define _CFFI_OP_CPYTHON_BLTN_V 23 // varargs
23
+ #define _CFFI_OP_CPYTHON_BLTN_N 25 // noargs
24
+ #define _CFFI_OP_CPYTHON_BLTN_O 27 // O (i.e. a single arg)
25
+ #define _CFFI_OP_CONSTANT 29
26
+ #define _CFFI_OP_CONSTANT_INT 31
27
+ #define _CFFI_OP_GLOBAL_VAR 33
28
+ #define _CFFI_OP_DLOPEN_FUNC 35
29
+ #define _CFFI_OP_DLOPEN_CONST 37
30
+ #define _CFFI_OP_GLOBAL_VAR_F 39
31
+ #define _CFFI_OP_EXTERN_PYTHON 41
32
+
33
+ #define _CFFI_PRIM_VOID 0
34
+ #define _CFFI_PRIM_BOOL 1
35
+ #define _CFFI_PRIM_CHAR 2
36
+ #define _CFFI_PRIM_SCHAR 3
37
+ #define _CFFI_PRIM_UCHAR 4
38
+ #define _CFFI_PRIM_SHORT 5
39
+ #define _CFFI_PRIM_USHORT 6
40
+ #define _CFFI_PRIM_INT 7
41
+ #define _CFFI_PRIM_UINT 8
42
+ #define _CFFI_PRIM_LONG 9
43
+ #define _CFFI_PRIM_ULONG 10
44
+ #define _CFFI_PRIM_LONGLONG 11
45
+ #define _CFFI_PRIM_ULONGLONG 12
46
+ #define _CFFI_PRIM_FLOAT 13
47
+ #define _CFFI_PRIM_DOUBLE 14
48
+ #define _CFFI_PRIM_LONGDOUBLE 15
49
+
50
+ #define _CFFI_PRIM_WCHAR 16
51
+ #define _CFFI_PRIM_INT8 17
52
+ #define _CFFI_PRIM_UINT8 18
53
+ #define _CFFI_PRIM_INT16 19
54
+ #define _CFFI_PRIM_UINT16 20
55
+ #define _CFFI_PRIM_INT32 21
56
+ #define _CFFI_PRIM_UINT32 22
57
+ #define _CFFI_PRIM_INT64 23
58
+ #define _CFFI_PRIM_UINT64 24
59
+ #define _CFFI_PRIM_INTPTR 25
60
+ #define _CFFI_PRIM_UINTPTR 26
61
+ #define _CFFI_PRIM_PTRDIFF 27
62
+ #define _CFFI_PRIM_SIZE 28
63
+ #define _CFFI_PRIM_SSIZE 29
64
+ #define _CFFI_PRIM_INT_LEAST8 30
65
+ #define _CFFI_PRIM_UINT_LEAST8 31
66
+ #define _CFFI_PRIM_INT_LEAST16 32
67
+ #define _CFFI_PRIM_UINT_LEAST16 33
68
+ #define _CFFI_PRIM_INT_LEAST32 34
69
+ #define _CFFI_PRIM_UINT_LEAST32 35
70
+ #define _CFFI_PRIM_INT_LEAST64 36
71
+ #define _CFFI_PRIM_UINT_LEAST64 37
72
+ #define _CFFI_PRIM_INT_FAST8 38
73
+ #define _CFFI_PRIM_UINT_FAST8 39
74
+ #define _CFFI_PRIM_INT_FAST16 40
75
+ #define _CFFI_PRIM_UINT_FAST16 41
76
+ #define _CFFI_PRIM_INT_FAST32 42
77
+ #define _CFFI_PRIM_UINT_FAST32 43
78
+ #define _CFFI_PRIM_INT_FAST64 44
79
+ #define _CFFI_PRIM_UINT_FAST64 45
80
+ #define _CFFI_PRIM_INTMAX 46
81
+ #define _CFFI_PRIM_UINTMAX 47
82
+ #define _CFFI_PRIM_FLOATCOMPLEX 48
83
+ #define _CFFI_PRIM_DOUBLECOMPLEX 49
84
+ #define _CFFI_PRIM_CHAR16 50
85
+ #define _CFFI_PRIM_CHAR32 51
86
+
87
+ #define _CFFI__NUM_PRIM 52
88
+ #define _CFFI__UNKNOWN_PRIM (-1)
89
+ #define _CFFI__UNKNOWN_FLOAT_PRIM (-2)
90
+ #define _CFFI__UNKNOWN_LONG_DOUBLE (-3)
91
+
92
+ #define _CFFI__IO_FILE_STRUCT (-1)
93
+
94
+
95
+ struct _cffi_global_s {
96
+ const char *name;
97
+ void *address;
98
+ _cffi_opcode_t type_op;
99
+ void *size_or_direct_fn; // OP_GLOBAL_VAR: size, or 0 if unknown
100
+ // OP_CPYTHON_BLTN_*: addr of direct function
101
+ };
102
+
103
+ struct _cffi_getconst_s {
104
+ unsigned long long value;
105
+ const struct _cffi_type_context_s *ctx;
106
+ int gindex;
107
+ };
108
+
109
+ struct _cffi_struct_union_s {
110
+ const char *name;
111
+ int type_index; // -> _cffi_types, on a OP_STRUCT_UNION
112
+ int flags; // _CFFI_F_* flags below
113
+ size_t size;
114
+ int alignment;
115
+ int first_field_index; // -> _cffi_fields array
116
+ int num_fields;
117
+ };
118
+ #define _CFFI_F_UNION 0x01 // is a union, not a struct
119
+ #define _CFFI_F_CHECK_FIELDS 0x02 // complain if fields are not in the
120
+ // "standard layout" or if some are missing
121
+ #define _CFFI_F_PACKED 0x04 // for CHECK_FIELDS, assume a packed struct
122
+ #define _CFFI_F_EXTERNAL 0x08 // in some other ffi.include()
123
+ #define _CFFI_F_OPAQUE 0x10 // opaque
124
+
125
+ struct _cffi_field_s {
126
+ const char *name;
127
+ size_t field_offset;
128
+ size_t field_size;
129
+ _cffi_opcode_t field_type_op;
130
+ };
131
+
132
+ struct _cffi_enum_s {
133
+ const char *name;
134
+ int type_index; // -> _cffi_types, on a OP_ENUM
135
+ int type_prim; // _CFFI_PRIM_xxx
136
+ const char *enumerators; // comma-delimited string
137
+ };
138
+
139
+ struct _cffi_typename_s {
140
+ const char *name;
141
+ int type_index; /* if opaque, points to a possibly artificial
142
+ OP_STRUCT which is itself opaque */
143
+ };
144
+
145
+ struct _cffi_type_context_s {
146
+ _cffi_opcode_t *types;
147
+ const struct _cffi_global_s *globals;
148
+ const struct _cffi_field_s *fields;
149
+ const struct _cffi_struct_union_s *struct_unions;
150
+ const struct _cffi_enum_s *enums;
151
+ const struct _cffi_typename_s *typenames;
152
+ int num_globals;
153
+ int num_struct_unions;
154
+ int num_enums;
155
+ int num_typenames;
156
+ const char *const *includes;
157
+ int num_types;
158
+ int flags; /* future extension */
159
+ };
160
+
161
+ struct _cffi_parse_info_s {
162
+ const struct _cffi_type_context_s *ctx;
163
+ _cffi_opcode_t *output;
164
+ unsigned int output_size;
165
+ size_t error_location;
166
+ const char *error_message;
167
+ };
168
+
169
+ struct _cffi_externpy_s {
170
+ const char *name;
171
+ size_t size_of_result;
172
+ void *reserved1, *reserved2;
173
+ };
174
+
175
+ #ifdef _CFFI_INTERNAL
176
+ static int parse_c_type(struct _cffi_parse_info_s *info, const char *input);
177
+ static int search_in_globals(const struct _cffi_type_context_s *ctx,
178
+ const char *search, size_t search_len);
179
+ static int search_in_struct_unions(const struct _cffi_type_context_s *ctx,
180
+ const char *search, size_t search_len);
181
+ #endif
@@ -0,0 +1,121 @@
1
+ # pkg-config, https://www.freedesktop.org/wiki/Software/pkg-config/ integration for cffi
2
+ import sys, os, subprocess
3
+
4
+ from .error import PkgConfigError
5
+
6
+
7
+ def merge_flags(cfg1, cfg2):
8
+ """Merge values from cffi config flags cfg2 to cf1
9
+
10
+ Example:
11
+ merge_flags({"libraries": ["one"]}, {"libraries": ["two"]})
12
+ {"libraries": ["one", "two"]}
13
+ """
14
+ for key, value in cfg2.items():
15
+ if key not in cfg1:
16
+ cfg1[key] = value
17
+ else:
18
+ if not isinstance(cfg1[key], list):
19
+ raise TypeError("cfg1[%r] should be a list of strings" % (key,))
20
+ if not isinstance(value, list):
21
+ raise TypeError("cfg2[%r] should be a list of strings" % (key,))
22
+ cfg1[key].extend(value)
23
+ return cfg1
24
+
25
+
26
+ def call(libname, flag, encoding=sys.getfilesystemencoding()):
27
+ """Calls pkg-config and returns the output if found
28
+ """
29
+ a = ["pkg-config", "--print-errors"]
30
+ a.append(flag)
31
+ a.append(libname)
32
+ try:
33
+ pc = subprocess.Popen(a, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
34
+ except EnvironmentError as e:
35
+ raise PkgConfigError("cannot run pkg-config: %s" % (str(e).strip(),))
36
+
37
+ bout, berr = pc.communicate()
38
+ if pc.returncode != 0:
39
+ try:
40
+ berr = berr.decode(encoding)
41
+ except Exception:
42
+ pass
43
+ raise PkgConfigError(berr.strip())
44
+
45
+ if sys.version_info >= (3,) and not isinstance(bout, str): # Python 3.x
46
+ try:
47
+ bout = bout.decode(encoding)
48
+ except UnicodeDecodeError:
49
+ raise PkgConfigError("pkg-config %s %s returned bytes that cannot "
50
+ "be decoded with encoding %r:\n%r" %
51
+ (flag, libname, encoding, bout))
52
+
53
+ if os.altsep != '\\' and '\\' in bout:
54
+ raise PkgConfigError("pkg-config %s %s returned an unsupported "
55
+ "backslash-escaped output:\n%r" %
56
+ (flag, libname, bout))
57
+ return bout
58
+
59
+
60
+ def flags_from_pkgconfig(libs):
61
+ r"""Return compiler line flags for FFI.set_source based on pkg-config output
62
+
63
+ Usage
64
+ ...
65
+ ffibuilder.set_source("_foo", pkgconfig = ["libfoo", "libbar >= 1.8.3"])
66
+
67
+ If pkg-config is installed on build machine, then arguments include_dirs,
68
+ library_dirs, libraries, define_macros, extra_compile_args and
69
+ extra_link_args are extended with an output of pkg-config for libfoo and
70
+ libbar.
71
+
72
+ Raises PkgConfigError in case the pkg-config call fails.
73
+ """
74
+
75
+ def get_include_dirs(string):
76
+ return [x[2:] for x in string.split() if x.startswith("-I")]
77
+
78
+ def get_library_dirs(string):
79
+ return [x[2:] for x in string.split() if x.startswith("-L")]
80
+
81
+ def get_libraries(string):
82
+ return [x[2:] for x in string.split() if x.startswith("-l")]
83
+
84
+ # convert -Dfoo=bar to list of tuples [("foo", "bar")] expected by distutils
85
+ def get_macros(string):
86
+ def _macro(x):
87
+ x = x[2:] # drop "-D"
88
+ if '=' in x:
89
+ return tuple(x.split("=", 1)) # "-Dfoo=bar" => ("foo", "bar")
90
+ else:
91
+ return (x, None) # "-Dfoo" => ("foo", None)
92
+ return [_macro(x) for x in string.split() if x.startswith("-D")]
93
+
94
+ def get_other_cflags(string):
95
+ return [x for x in string.split() if not x.startswith("-I") and
96
+ not x.startswith("-D")]
97
+
98
+ def get_other_libs(string):
99
+ return [x for x in string.split() if not x.startswith("-L") and
100
+ not x.startswith("-l")]
101
+
102
+ # return kwargs for given libname
103
+ def kwargs(libname):
104
+ fse = sys.getfilesystemencoding()
105
+ all_cflags = call(libname, "--cflags")
106
+ all_libs = call(libname, "--libs")
107
+ return {
108
+ "include_dirs": get_include_dirs(all_cflags),
109
+ "library_dirs": get_library_dirs(all_libs),
110
+ "libraries": get_libraries(all_libs),
111
+ "define_macros": get_macros(all_cflags),
112
+ "extra_compile_args": get_other_cflags(all_cflags),
113
+ "extra_link_args": get_other_libs(all_libs),
114
+ }
115
+
116
+ # merge all arguments together
117
+ ret = {}
118
+ for libname in libs:
119
+ lib_flags = kwargs(libname)
120
+ merge_flags(ret, lib_flags)
121
+ return ret