@pairling/runtime-darwin-arm64 0.2.0 → 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.
- package/README.md +1 -1
- package/bin/pairling-connectd +0 -0
- package/manifest.json +4 -4
- package/package.json +3 -3
- package/python/bin/python3 +0 -0
- package/python/bin/python3.12 +0 -0
- package/python/lib/libpython3.12.dylib +0 -0
- package/python/lib/python3.12/__pycache__/__future__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/_compression.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/_weakrefset.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/base64.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/bisect.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/bz2.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/calendar.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/contextlib.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/copyreg.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/datetime.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/enum.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/fnmatch.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/functools.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/hashlib.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/hmac.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/ipaddress.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/keyword.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/locale.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/lzma.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/operator.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/plistlib.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/pty.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/quopri.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/random.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/reprlib.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/selectors.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/shutil.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/signal.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/socket.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/ssl.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/string.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/struct.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/subprocess.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/tempfile.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/threading.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/tty.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/types.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/typing.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/warnings.cpython-312.pyc +0 -0
- package/python/lib/python3.12/__pycache__/weakref.cpython-312.pyc +0 -0
- package/python/lib/python3.12/collections/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/collections/__pycache__/abc.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/_encoded_words.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/_parseaddr.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/_policybase.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/base64mime.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/charset.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/encoders.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/errors.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/feedparser.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/header.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/iterators.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/message.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/parser.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/quoprimime.cpython-312.pyc +0 -0
- package/python/lib/python3.12/email/__pycache__/utils.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc +0 -0
- package/python/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc +0 -0
- package/python/lib/python3.12/http/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/http/__pycache__/client.cpython-312.pyc +0 -0
- package/python/lib/python3.12/json/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/json/__pycache__/decoder.cpython-312.pyc +0 -0
- package/python/lib/python3.12/json/__pycache__/encoder.cpython-312.pyc +0 -0
- package/python/lib/python3.12/json/__pycache__/scanner.cpython-312.pyc +0 -0
- package/python/lib/python3.12/lib-dynload/_crypt.cpython-312-darwin.so +0 -0
- package/python/lib/python3.12/lib-dynload/_dbm.cpython-312-darwin.so +0 -0
- package/python/lib/python3.12/re/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/re/__pycache__/_casefix.cpython-312.pyc +0 -0
- package/python/lib/python3.12/re/__pycache__/_compiler.cpython-312.pyc +0 -0
- package/python/lib/python3.12/re/__pycache__/_constants.cpython-312.pyc +0 -0
- package/python/lib/python3.12/re/__pycache__/_parser.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/_cffi_backend.cpython-312-darwin.so +0 -0
- package/python/lib/python3.12/site-packages/cffi/__init__.py +14 -0
- package/python/lib/python3.12/site-packages/cffi/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cffi/__pycache__/api.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cffi/__pycache__/error.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cffi/__pycache__/lock.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cffi/__pycache__/model.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cffi/_cffi_errors.h +149 -0
- package/python/lib/python3.12/site-packages/cffi/_cffi_include.h +389 -0
- package/python/lib/python3.12/site-packages/cffi/_embedding.h +550 -0
- package/python/lib/python3.12/site-packages/cffi/_imp_emulation.py +83 -0
- package/python/lib/python3.12/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/python/lib/python3.12/site-packages/cffi/api.py +967 -0
- package/python/lib/python3.12/site-packages/cffi/backend_ctypes.py +1121 -0
- package/python/lib/python3.12/site-packages/cffi/cffi_opcode.py +187 -0
- package/python/lib/python3.12/site-packages/cffi/commontypes.py +82 -0
- package/python/lib/python3.12/site-packages/cffi/cparser.py +1015 -0
- package/python/lib/python3.12/site-packages/cffi/error.py +31 -0
- package/python/lib/python3.12/site-packages/cffi/ffiplatform.py +113 -0
- package/python/lib/python3.12/site-packages/cffi/lock.py +30 -0
- package/python/lib/python3.12/site-packages/cffi/model.py +618 -0
- package/python/lib/python3.12/site-packages/cffi/parse_c_type.h +181 -0
- package/python/lib/python3.12/site-packages/cffi/pkgconfig.py +121 -0
- package/python/lib/python3.12/site-packages/cffi/recompiler.py +1598 -0
- package/python/lib/python3.12/site-packages/cffi/setuptools_ext.py +229 -0
- package/python/lib/python3.12/site-packages/cffi/vengine_cpy.py +1087 -0
- package/python/lib/python3.12/site-packages/cffi/vengine_gen.py +679 -0
- package/python/lib/python3.12/site-packages/cffi/verifier.py +306 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/INSTALLER +1 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/METADATA +68 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/RECORD +31 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/WHEEL +6 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS +8 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE +23 -0
- package/python/lib/python3.12/site-packages/cffi-2.0.0.dist-info/top_level.txt +2 -0
- package/python/lib/python3.12/site-packages/cryptography/__about__.py +17 -0
- package/python/lib/python3.12/site-packages/cryptography/__init__.py +26 -0
- package/python/lib/python3.12/site-packages/cryptography/__pycache__/__about__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cryptography/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cryptography/__pycache__/utils.cpython-312.pyc +0 -0
- package/python/lib/python3.12/site-packages/cryptography/exceptions.py +52 -0
- package/python/lib/python3.12/site-packages/cryptography/fernet.py +224 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/__init__.py +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/_oid.py +348 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/backend.py +308 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/__init__.py +3 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +37 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +75 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +107 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +28 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +49 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +3 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +191 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/binding.py +122 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +112 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/__init__.py +3 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_serialization.py +168 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +3 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +147 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +167 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +447 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +129 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +131 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +113 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +277 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +111 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +24 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +122 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +125 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +183 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +268 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hashes.py +246 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +23 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +13 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +125 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +101 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +305 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +62 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +61 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/keywrap.py +177 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +65 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/base.py +14 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +411 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1619 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
- package/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
- package/python/lib/python3.12/site-packages/cryptography/py.typed +0 -0
- package/python/lib/python3.12/site-packages/cryptography/utils.py +139 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/__init__.py +270 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/base.py +848 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/certificate_transparency.py +35 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/extensions.py +2528 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/general_name.py +281 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/name.py +477 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/ocsp.py +379 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/oid.py +37 -0
- package/python/lib/python3.12/site-packages/cryptography/x509/verification.py +34 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/INSTALLER +1 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/METADATA +139 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/RECORD +106 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/REQUESTED +0 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/WHEEL +4 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE +3 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.APACHE +202 -0
- package/python/lib/python3.12/site-packages/cryptography-45.0.7.dist-info/licenses/LICENSE.BSD +27 -0
- package/python/lib/python3.12/site-packages/pycparser/__init__.py +99 -0
- package/python/lib/python3.12/site-packages/pycparser/_ast_gen.py +355 -0
- package/python/lib/python3.12/site-packages/pycparser/_c_ast.cfg +195 -0
- package/python/lib/python3.12/site-packages/pycparser/ast_transforms.py +174 -0
- package/python/lib/python3.12/site-packages/pycparser/c_ast.py +1341 -0
- package/python/lib/python3.12/site-packages/pycparser/c_generator.py +573 -0
- package/python/lib/python3.12/site-packages/pycparser/c_lexer.py +706 -0
- package/python/lib/python3.12/site-packages/pycparser/c_parser.py +2376 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/INSTALLER +1 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/METADATA +244 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/RECORD +14 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/WHEEL +5 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/licenses/LICENSE +27 -0
- package/python/lib/python3.12/site-packages/pycparser-3.0.dist-info/top_level.txt +1 -0
- package/python/lib/python3.12/sqlite3/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/sqlite3/__pycache__/dbapi2.cpython-312.pyc +0 -0
- package/python/lib/python3.12/urllib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/urllib/__pycache__/error.cpython-312.pyc +0 -0
- package/python/lib/python3.12/urllib/__pycache__/parse.cpython-312.pyc +0 -0
- package/python/lib/python3.12/urllib/__pycache__/request.cpython-312.pyc +0 -0
- package/python/lib/python3.12/urllib/__pycache__/response.cpython-312.pyc +0 -0
- package/python/lib/python3.12/xml/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/xml/parsers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/lib/python3.12/xml/parsers/__pycache__/expat.cpython-312.pyc +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
from .error import VerificationError
|
|
2
|
+
|
|
3
|
+
class CffiOp(object):
|
|
4
|
+
def __init__(self, op, arg):
|
|
5
|
+
self.op = op
|
|
6
|
+
self.arg = arg
|
|
7
|
+
|
|
8
|
+
def as_c_expr(self):
|
|
9
|
+
if self.op is None:
|
|
10
|
+
assert isinstance(self.arg, str)
|
|
11
|
+
return '(_cffi_opcode_t)(%s)' % (self.arg,)
|
|
12
|
+
classname = CLASS_NAME[self.op]
|
|
13
|
+
return '_CFFI_OP(_CFFI_OP_%s, %s)' % (classname, self.arg)
|
|
14
|
+
|
|
15
|
+
def as_python_bytes(self):
|
|
16
|
+
if self.op is None and self.arg.isdigit():
|
|
17
|
+
value = int(self.arg) # non-negative: '-' not in self.arg
|
|
18
|
+
if value >= 2**31:
|
|
19
|
+
raise OverflowError("cannot emit %r: limited to 2**31-1"
|
|
20
|
+
% (self.arg,))
|
|
21
|
+
return format_four_bytes(value)
|
|
22
|
+
if isinstance(self.arg, str):
|
|
23
|
+
raise VerificationError("cannot emit to Python: %r" % (self.arg,))
|
|
24
|
+
return format_four_bytes((self.arg << 8) | self.op)
|
|
25
|
+
|
|
26
|
+
def __str__(self):
|
|
27
|
+
classname = CLASS_NAME.get(self.op, self.op)
|
|
28
|
+
return '(%s %s)' % (classname, self.arg)
|
|
29
|
+
|
|
30
|
+
def format_four_bytes(num):
|
|
31
|
+
return '\\x%02X\\x%02X\\x%02X\\x%02X' % (
|
|
32
|
+
(num >> 24) & 0xFF,
|
|
33
|
+
(num >> 16) & 0xFF,
|
|
34
|
+
(num >> 8) & 0xFF,
|
|
35
|
+
(num ) & 0xFF)
|
|
36
|
+
|
|
37
|
+
OP_PRIMITIVE = 1
|
|
38
|
+
OP_POINTER = 3
|
|
39
|
+
OP_ARRAY = 5
|
|
40
|
+
OP_OPEN_ARRAY = 7
|
|
41
|
+
OP_STRUCT_UNION = 9
|
|
42
|
+
OP_ENUM = 11
|
|
43
|
+
OP_FUNCTION = 13
|
|
44
|
+
OP_FUNCTION_END = 15
|
|
45
|
+
OP_NOOP = 17
|
|
46
|
+
OP_BITFIELD = 19
|
|
47
|
+
OP_TYPENAME = 21
|
|
48
|
+
OP_CPYTHON_BLTN_V = 23 # varargs
|
|
49
|
+
OP_CPYTHON_BLTN_N = 25 # noargs
|
|
50
|
+
OP_CPYTHON_BLTN_O = 27 # O (i.e. a single arg)
|
|
51
|
+
OP_CONSTANT = 29
|
|
52
|
+
OP_CONSTANT_INT = 31
|
|
53
|
+
OP_GLOBAL_VAR = 33
|
|
54
|
+
OP_DLOPEN_FUNC = 35
|
|
55
|
+
OP_DLOPEN_CONST = 37
|
|
56
|
+
OP_GLOBAL_VAR_F = 39
|
|
57
|
+
OP_EXTERN_PYTHON = 41
|
|
58
|
+
|
|
59
|
+
PRIM_VOID = 0
|
|
60
|
+
PRIM_BOOL = 1
|
|
61
|
+
PRIM_CHAR = 2
|
|
62
|
+
PRIM_SCHAR = 3
|
|
63
|
+
PRIM_UCHAR = 4
|
|
64
|
+
PRIM_SHORT = 5
|
|
65
|
+
PRIM_USHORT = 6
|
|
66
|
+
PRIM_INT = 7
|
|
67
|
+
PRIM_UINT = 8
|
|
68
|
+
PRIM_LONG = 9
|
|
69
|
+
PRIM_ULONG = 10
|
|
70
|
+
PRIM_LONGLONG = 11
|
|
71
|
+
PRIM_ULONGLONG = 12
|
|
72
|
+
PRIM_FLOAT = 13
|
|
73
|
+
PRIM_DOUBLE = 14
|
|
74
|
+
PRIM_LONGDOUBLE = 15
|
|
75
|
+
|
|
76
|
+
PRIM_WCHAR = 16
|
|
77
|
+
PRIM_INT8 = 17
|
|
78
|
+
PRIM_UINT8 = 18
|
|
79
|
+
PRIM_INT16 = 19
|
|
80
|
+
PRIM_UINT16 = 20
|
|
81
|
+
PRIM_INT32 = 21
|
|
82
|
+
PRIM_UINT32 = 22
|
|
83
|
+
PRIM_INT64 = 23
|
|
84
|
+
PRIM_UINT64 = 24
|
|
85
|
+
PRIM_INTPTR = 25
|
|
86
|
+
PRIM_UINTPTR = 26
|
|
87
|
+
PRIM_PTRDIFF = 27
|
|
88
|
+
PRIM_SIZE = 28
|
|
89
|
+
PRIM_SSIZE = 29
|
|
90
|
+
PRIM_INT_LEAST8 = 30
|
|
91
|
+
PRIM_UINT_LEAST8 = 31
|
|
92
|
+
PRIM_INT_LEAST16 = 32
|
|
93
|
+
PRIM_UINT_LEAST16 = 33
|
|
94
|
+
PRIM_INT_LEAST32 = 34
|
|
95
|
+
PRIM_UINT_LEAST32 = 35
|
|
96
|
+
PRIM_INT_LEAST64 = 36
|
|
97
|
+
PRIM_UINT_LEAST64 = 37
|
|
98
|
+
PRIM_INT_FAST8 = 38
|
|
99
|
+
PRIM_UINT_FAST8 = 39
|
|
100
|
+
PRIM_INT_FAST16 = 40
|
|
101
|
+
PRIM_UINT_FAST16 = 41
|
|
102
|
+
PRIM_INT_FAST32 = 42
|
|
103
|
+
PRIM_UINT_FAST32 = 43
|
|
104
|
+
PRIM_INT_FAST64 = 44
|
|
105
|
+
PRIM_UINT_FAST64 = 45
|
|
106
|
+
PRIM_INTMAX = 46
|
|
107
|
+
PRIM_UINTMAX = 47
|
|
108
|
+
PRIM_FLOATCOMPLEX = 48
|
|
109
|
+
PRIM_DOUBLECOMPLEX = 49
|
|
110
|
+
PRIM_CHAR16 = 50
|
|
111
|
+
PRIM_CHAR32 = 51
|
|
112
|
+
|
|
113
|
+
_NUM_PRIM = 52
|
|
114
|
+
_UNKNOWN_PRIM = -1
|
|
115
|
+
_UNKNOWN_FLOAT_PRIM = -2
|
|
116
|
+
_UNKNOWN_LONG_DOUBLE = -3
|
|
117
|
+
|
|
118
|
+
_IO_FILE_STRUCT = -1
|
|
119
|
+
|
|
120
|
+
PRIMITIVE_TO_INDEX = {
|
|
121
|
+
'char': PRIM_CHAR,
|
|
122
|
+
'short': PRIM_SHORT,
|
|
123
|
+
'int': PRIM_INT,
|
|
124
|
+
'long': PRIM_LONG,
|
|
125
|
+
'long long': PRIM_LONGLONG,
|
|
126
|
+
'signed char': PRIM_SCHAR,
|
|
127
|
+
'unsigned char': PRIM_UCHAR,
|
|
128
|
+
'unsigned short': PRIM_USHORT,
|
|
129
|
+
'unsigned int': PRIM_UINT,
|
|
130
|
+
'unsigned long': PRIM_ULONG,
|
|
131
|
+
'unsigned long long': PRIM_ULONGLONG,
|
|
132
|
+
'float': PRIM_FLOAT,
|
|
133
|
+
'double': PRIM_DOUBLE,
|
|
134
|
+
'long double': PRIM_LONGDOUBLE,
|
|
135
|
+
'_cffi_float_complex_t': PRIM_FLOATCOMPLEX,
|
|
136
|
+
'_cffi_double_complex_t': PRIM_DOUBLECOMPLEX,
|
|
137
|
+
'_Bool': PRIM_BOOL,
|
|
138
|
+
'wchar_t': PRIM_WCHAR,
|
|
139
|
+
'char16_t': PRIM_CHAR16,
|
|
140
|
+
'char32_t': PRIM_CHAR32,
|
|
141
|
+
'int8_t': PRIM_INT8,
|
|
142
|
+
'uint8_t': PRIM_UINT8,
|
|
143
|
+
'int16_t': PRIM_INT16,
|
|
144
|
+
'uint16_t': PRIM_UINT16,
|
|
145
|
+
'int32_t': PRIM_INT32,
|
|
146
|
+
'uint32_t': PRIM_UINT32,
|
|
147
|
+
'int64_t': PRIM_INT64,
|
|
148
|
+
'uint64_t': PRIM_UINT64,
|
|
149
|
+
'intptr_t': PRIM_INTPTR,
|
|
150
|
+
'uintptr_t': PRIM_UINTPTR,
|
|
151
|
+
'ptrdiff_t': PRIM_PTRDIFF,
|
|
152
|
+
'size_t': PRIM_SIZE,
|
|
153
|
+
'ssize_t': PRIM_SSIZE,
|
|
154
|
+
'int_least8_t': PRIM_INT_LEAST8,
|
|
155
|
+
'uint_least8_t': PRIM_UINT_LEAST8,
|
|
156
|
+
'int_least16_t': PRIM_INT_LEAST16,
|
|
157
|
+
'uint_least16_t': PRIM_UINT_LEAST16,
|
|
158
|
+
'int_least32_t': PRIM_INT_LEAST32,
|
|
159
|
+
'uint_least32_t': PRIM_UINT_LEAST32,
|
|
160
|
+
'int_least64_t': PRIM_INT_LEAST64,
|
|
161
|
+
'uint_least64_t': PRIM_UINT_LEAST64,
|
|
162
|
+
'int_fast8_t': PRIM_INT_FAST8,
|
|
163
|
+
'uint_fast8_t': PRIM_UINT_FAST8,
|
|
164
|
+
'int_fast16_t': PRIM_INT_FAST16,
|
|
165
|
+
'uint_fast16_t': PRIM_UINT_FAST16,
|
|
166
|
+
'int_fast32_t': PRIM_INT_FAST32,
|
|
167
|
+
'uint_fast32_t': PRIM_UINT_FAST32,
|
|
168
|
+
'int_fast64_t': PRIM_INT_FAST64,
|
|
169
|
+
'uint_fast64_t': PRIM_UINT_FAST64,
|
|
170
|
+
'intmax_t': PRIM_INTMAX,
|
|
171
|
+
'uintmax_t': PRIM_UINTMAX,
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
F_UNION = 0x01
|
|
175
|
+
F_CHECK_FIELDS = 0x02
|
|
176
|
+
F_PACKED = 0x04
|
|
177
|
+
F_EXTERNAL = 0x08
|
|
178
|
+
F_OPAQUE = 0x10
|
|
179
|
+
|
|
180
|
+
G_FLAGS = dict([('_CFFI_' + _key, globals()[_key])
|
|
181
|
+
for _key in ['F_UNION', 'F_CHECK_FIELDS', 'F_PACKED',
|
|
182
|
+
'F_EXTERNAL', 'F_OPAQUE']])
|
|
183
|
+
|
|
184
|
+
CLASS_NAME = {}
|
|
185
|
+
for _name, _value in list(globals().items()):
|
|
186
|
+
if _name.startswith('OP_') and isinstance(_value, int):
|
|
187
|
+
CLASS_NAME[_value] = _name[3:]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from . import model
|
|
3
|
+
from .error import FFIError
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
COMMON_TYPES = {}
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
# fetch "bool" and all simple Windows types
|
|
10
|
+
from _cffi_backend import _get_common_types
|
|
11
|
+
_get_common_types(COMMON_TYPES)
|
|
12
|
+
except ImportError:
|
|
13
|
+
pass
|
|
14
|
+
|
|
15
|
+
COMMON_TYPES['FILE'] = model.unknown_type('FILE', '_IO_FILE')
|
|
16
|
+
COMMON_TYPES['bool'] = '_Bool' # in case we got ImportError above
|
|
17
|
+
COMMON_TYPES['float _Complex'] = '_cffi_float_complex_t'
|
|
18
|
+
COMMON_TYPES['double _Complex'] = '_cffi_double_complex_t'
|
|
19
|
+
|
|
20
|
+
for _type in model.PrimitiveType.ALL_PRIMITIVE_TYPES:
|
|
21
|
+
if _type.endswith('_t'):
|
|
22
|
+
COMMON_TYPES[_type] = _type
|
|
23
|
+
del _type
|
|
24
|
+
|
|
25
|
+
_CACHE = {}
|
|
26
|
+
|
|
27
|
+
def resolve_common_type(parser, commontype):
|
|
28
|
+
try:
|
|
29
|
+
return _CACHE[commontype]
|
|
30
|
+
except KeyError:
|
|
31
|
+
cdecl = COMMON_TYPES.get(commontype, commontype)
|
|
32
|
+
if not isinstance(cdecl, str):
|
|
33
|
+
result, quals = cdecl, 0 # cdecl is already a BaseType
|
|
34
|
+
elif cdecl in model.PrimitiveType.ALL_PRIMITIVE_TYPES:
|
|
35
|
+
result, quals = model.PrimitiveType(cdecl), 0
|
|
36
|
+
elif cdecl == 'set-unicode-needed':
|
|
37
|
+
raise FFIError("The Windows type %r is only available after "
|
|
38
|
+
"you call ffi.set_unicode()" % (commontype,))
|
|
39
|
+
else:
|
|
40
|
+
if commontype == cdecl:
|
|
41
|
+
raise FFIError(
|
|
42
|
+
"Unsupported type: %r. Please look at "
|
|
43
|
+
"http://cffi.readthedocs.io/en/latest/cdef.html#ffi-cdef-limitations "
|
|
44
|
+
"and file an issue if you think this type should really "
|
|
45
|
+
"be supported." % (commontype,))
|
|
46
|
+
result, quals = parser.parse_type_and_quals(cdecl) # recursive
|
|
47
|
+
|
|
48
|
+
assert isinstance(result, model.BaseTypeByIdentity)
|
|
49
|
+
_CACHE[commontype] = result, quals
|
|
50
|
+
return result, quals
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# ____________________________________________________________
|
|
54
|
+
# extra types for Windows (most of them are in commontypes.c)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def win_common_types():
|
|
58
|
+
return {
|
|
59
|
+
"UNICODE_STRING": model.StructType(
|
|
60
|
+
"_UNICODE_STRING",
|
|
61
|
+
["Length",
|
|
62
|
+
"MaximumLength",
|
|
63
|
+
"Buffer"],
|
|
64
|
+
[model.PrimitiveType("unsigned short"),
|
|
65
|
+
model.PrimitiveType("unsigned short"),
|
|
66
|
+
model.PointerType(model.PrimitiveType("wchar_t"))],
|
|
67
|
+
[-1, -1, -1]),
|
|
68
|
+
"PUNICODE_STRING": "UNICODE_STRING *",
|
|
69
|
+
"PCUNICODE_STRING": "const UNICODE_STRING *",
|
|
70
|
+
|
|
71
|
+
"TBYTE": "set-unicode-needed",
|
|
72
|
+
"TCHAR": "set-unicode-needed",
|
|
73
|
+
"LPCTSTR": "set-unicode-needed",
|
|
74
|
+
"PCTSTR": "set-unicode-needed",
|
|
75
|
+
"LPTSTR": "set-unicode-needed",
|
|
76
|
+
"PTSTR": "set-unicode-needed",
|
|
77
|
+
"PTBYTE": "set-unicode-needed",
|
|
78
|
+
"PTCHAR": "set-unicode-needed",
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if sys.platform == 'win32':
|
|
82
|
+
COMMON_TYPES.update(win_common_types())
|