brewdoc-linux-x64-glibc 0.0.0-stage → 0.3.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/LICENSE +21 -0
- package/README.md +128 -2
- package/binary/_internal/PIL/_avif.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_imaging.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_imagingcms.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_imagingft.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_imagingmath.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_imagingtk.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/PIL/_webp.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/_cffi_backend.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/_quickjs.abi3.so +0 -0
- package/binary/_internal/base_library.zip +0 -0
- package/binary/_internal/brewdoc/_urljs/glue.js +858 -0
- package/binary/_internal/brewdoc/_vendor/THIRD_PARTY_NOTICES.txt +342 -0
- package/binary/_internal/brewdoc/_vendor/linkedom-worker.js +12650 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/INSTALLER +1 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/METADATA +157 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/RECORD +30 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/REQUESTED +0 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/WHEEL +4 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/direct_url.json +1 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/entry_points.txt +2 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/licenses/LICENSE +21 -0
- package/binary/_internal/brewdoc-0.3.2.dist-info/uv_cache.json +1 -0
- package/binary/_internal/cffi-2.1.1.dist-info/INSTALLER +1 -0
- package/binary/_internal/cffi-2.1.1.dist-info/METADATA +67 -0
- package/binary/_internal/cffi-2.1.1.dist-info/RECORD +34 -0
- package/binary/_internal/cffi-2.1.1.dist-info/REQUESTED +0 -0
- package/binary/_internal/cffi-2.1.1.dist-info/WHEEL +6 -0
- package/binary/_internal/cffi-2.1.1.dist-info/entry_points.txt +5 -0
- package/binary/_internal/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/binary/_internal/cffi-2.1.1.dist-info/top_level.txt +2 -0
- package/binary/_internal/charset_normalizer/cd.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/charset_normalizer/md.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/INSTALLER +1 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/METADATA +892 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/RECORD +24 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/REQUESTED +0 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/WHEEL +7 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/entry_points.txt +2 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/binary/_internal/charset_normalizer-3.5.2.dist-info/top_level.txt +1 -0
- package/binary/_internal/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/INSTALLER +1 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/RECORD +122 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/REQUESTED +0 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/WHEEL +5 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/sboms/cryptography-rust.cyclonedx.json +1365 -0
- package/binary/_internal/cryptography-50.0.2.dist-info/sboms/sbom.json +43 -0
- package/binary/_internal/libXau-154567c4.so.6.0.0 +0 -0
- package/binary/_internal/libavif-8a7f9d56.so.16.4.2 +0 -0
- package/binary/_internal/libbrotlicommon-53534446.so.1.2.0 +0 -0
- package/binary/_internal/libbrotlidec-7e5462ba.so.1.2.0 +0 -0
- package/binary/_internal/libfreetype-9fc94c80.so.6.20.6 +0 -0
- package/binary/_internal/libgcc_s.so.1 +0 -0
- package/binary/_internal/libharfbuzz-172d1f63.so.0.61421.0 +0 -0
- package/binary/_internal/libjpeg-31e2ca52.so.62.4.0 +0 -0
- package/binary/_internal/liblcms2-dade1fbf.so.2.0.19 +0 -0
- package/binary/_internal/liblzma-2be87c3e.so.5.8.3 +0 -0
- package/binary/_internal/libopenjp2-b07f72ad.so.2.5.4 +0 -0
- package/binary/_internal/libpng16-abb096d5.so.16.58.0 +0 -0
- package/binary/_internal/libpython3.12.so.1.0 +0 -0
- package/binary/_internal/libsharpyuv-0066295b.so.0.1.2 +0 -0
- package/binary/_internal/libstdc++.so.6 +0 -0
- package/binary/_internal/libtiff-fc87e79d.so.6.2.0 +0 -0
- package/binary/_internal/libwebp-51b0b3f7.so.7.2.0 +0 -0
- package/binary/_internal/libwebpdemux-9fe2abcc.so.2.0.17 +0 -0
- package/binary/_internal/libwebpmux-8fb1c9f6.so.3.1.2 +0 -0
- package/binary/_internal/libxcb-ad31f5a3.so.1.1.0 +0 -0
- package/binary/_internal/libz.so.1 +0 -0
- package/binary/_internal/libzstd-44be1190.so.1.5.7 +0 -0
- package/binary/_internal/pdfminer/cmap/78-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78ms-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/78ms-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/83pv-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/83pv-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90ms-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90ms-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90msp-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90msp-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90pv-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/90pv-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Add-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Add-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Add-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Add-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/B5pc-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/B5pc-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS1-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS1-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS2-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/CNS2-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETHK-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETHK-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETen-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETen-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETenms-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/ETenms-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Ext-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Ext-RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Ext-RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Ext-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GB-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GB-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GB-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GB-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBK-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBK-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBK2K-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBK2K-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBKp-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBKp-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBT-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBT-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBT-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBT-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBTpc-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBTpc-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBpc-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/GBpc-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKdla-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKdla-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKdlb-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKdlb-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKgccs-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKgccs-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKm314-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKm314-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKm471-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKm471-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKscs-B5-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/HKscs-B5-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Hankaku-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Hankaku-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Hiragana-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Hiragana-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-Johab-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-Johab-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCms-UHC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCms-UHC-HW-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCms-UHC-HW-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCms-UHC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCpc-EUC-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/KSCpc-EUC-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Katakana-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Katakana-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/NWP-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/NWP-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/README.txt +79 -0
- package/binary/_internal/pdfminer/cmap/RKSJ-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/RKSJ-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Roman-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/Roman-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UCS2-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UCS2-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF16-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF16-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF8-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniCNS-UTF8-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UCS2-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UCS2-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF16-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF16-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF8-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniGB-UTF8-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UCS2-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UCS2-HW-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UCS2-HW-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UCS2-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF16-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF16-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF8-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS-UTF8-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF16-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF16-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF8-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJIS2004-UTF8-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJISX0213-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJISX0213-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJISX02132004-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniJISX02132004-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UCS2-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UCS2-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF16-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF16-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF32-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF32-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF8-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/UniKS-UTF8-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/WP-Symbol-H.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/WP-Symbol-V.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/to-unicode-Adobe-CNS1.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/to-unicode-Adobe-GB1.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/to-unicode-Adobe-Japan1.json.gz +0 -0
- package/binary/_internal/pdfminer/cmap/to-unicode-Adobe-Korea1.json.gz +0 -0
- package/binary/_internal/pdfminer/py.typed +0 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/INSTALLER +1 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/METADATA +110 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/RECORD +191 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/REQUESTED +0 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/WHEEL +5 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/licenses/LICENSE +22 -0
- package/binary/_internal/pdfminer_six-20260107.dist-info/top_level.txt +1 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/INSTALLER +1 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/METADATA +617 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/RECORD +30 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/REQUESTED +0 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/WHEEL +5 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/entry_points.txt +2 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/licenses/LICENSE.txt +21 -0
- package/binary/_internal/pdfplumber-0.11.10.dist-info/top_level.txt +1 -0
- package/binary/_internal/pillow-12.3.0.dist-info/INSTALLER +1 -0
- package/binary/_internal/pillow-12.3.0.dist-info/METADATA +180 -0
- package/binary/_internal/pillow-12.3.0.dist-info/RECORD +142 -0
- package/binary/_internal/pillow-12.3.0.dist-info/REQUESTED +0 -0
- package/binary/_internal/pillow-12.3.0.dist-info/WHEEL +6 -0
- package/binary/_internal/pillow-12.3.0.dist-info/licenses/LICENSE +1574 -0
- package/binary/_internal/pillow-12.3.0.dist-info/sboms/auditwheel.cdx.json +1 -0
- package/binary/_internal/pillow-12.3.0.dist-info/sboms/pillow-12.3.0.cdx.json +721 -0
- package/binary/_internal/pillow-12.3.0.dist-info/top_level.txt +1 -0
- package/binary/_internal/pillow-12.3.0.dist-info/zip-safe +1 -0
- package/binary/_internal/pillow.libs/libXau-154567c4.so.6.0.0 +0 -0
- package/binary/_internal/pillow.libs/libavif-8a7f9d56.so.16.4.2 +0 -0
- package/binary/_internal/pillow.libs/libbrotlicommon-53534446.so.1.2.0 +0 -0
- package/binary/_internal/pillow.libs/libbrotlidec-7e5462ba.so.1.2.0 +0 -0
- package/binary/_internal/pillow.libs/libfreetype-9fc94c80.so.6.20.6 +0 -0
- package/binary/_internal/pillow.libs/libharfbuzz-172d1f63.so.0.61421.0 +0 -0
- package/binary/_internal/pillow.libs/libjpeg-31e2ca52.so.62.4.0 +0 -0
- package/binary/_internal/pillow.libs/liblcms2-dade1fbf.so.2.0.19 +0 -0
- package/binary/_internal/pillow.libs/liblzma-2be87c3e.so.5.8.3 +0 -0
- package/binary/_internal/pillow.libs/libopenjp2-b07f72ad.so.2.5.4 +0 -0
- package/binary/_internal/pillow.libs/libpng16-abb096d5.so.16.58.0 +0 -0
- package/binary/_internal/pillow.libs/libsharpyuv-0066295b.so.0.1.2 +0 -0
- package/binary/_internal/pillow.libs/libtiff-fc87e79d.so.6.2.0 +0 -0
- package/binary/_internal/pillow.libs/libwebp-51b0b3f7.so.7.2.0 +0 -0
- package/binary/_internal/pillow.libs/libwebpdemux-9fe2abcc.so.2.0.17 +0 -0
- package/binary/_internal/pillow.libs/libwebpmux-8fb1c9f6.so.3.1.2 +0 -0
- package/binary/_internal/pillow.libs/libxcb-ad31f5a3.so.1.1.0 +0 -0
- package/binary/_internal/pillow.libs/libzstd-44be1190.so.1.5.7 +0 -0
- package/binary/_internal/pycparser-3.0.dist-info/INSTALLER +1 -0
- package/binary/_internal/pycparser-3.0.dist-info/METADATA +244 -0
- package/binary/_internal/pycparser-3.0.dist-info/RECORD +15 -0
- package/binary/_internal/pycparser-3.0.dist-info/REQUESTED +0 -0
- package/binary/_internal/pycparser-3.0.dist-info/WHEEL +5 -0
- package/binary/_internal/pycparser-3.0.dist-info/licenses/LICENSE +27 -0
- package/binary/_internal/pycparser-3.0.dist-info/top_level.txt +1 -0
- package/binary/_internal/pypdfium2/version.json +11 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/INSTALLER +1 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/METADATA +1139 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/RECORD +75 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/REQUESTED +0 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/WHEEL +6 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/entry_points.txt +2 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/LICENSES/Apache-2.0.txt +202 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/LICENSES/BSD-3-Clause.txt +26 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/LICENSES/CC-BY-4.0.txt +317 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/abseil.txt +203 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/agg23.txt +14 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/fast_float.txt +27 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/freetype.txt +169 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/icu.txt +568 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/lcms.txt +27 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libjpeg_turbo.ijg +260 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libjpeg_turbo.md +135 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libopenjpeg.txt +32 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libpng.txt +134 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libtiff.txt +21 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/llvm-libc.txt +278 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/pdfium-binaries.txt +9 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/pdfium.txt +230 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/simdutf.txt +18 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/zlib.txt +29 -0
- package/binary/_internal/pypdfium2-5.13.0.dist-info/top_level.txt +4 -0
- package/binary/_internal/pypdfium2_raw/libpdfium.so +0 -0
- package/binary/_internal/pypdfium2_raw/version.json +10 -0
- package/binary/_internal/python_calamine/_python_calamine.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/INSTALLER +1 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/METADATA +94 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/RECORD +11 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/REQUESTED +0 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/WHEEL +5 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/licenses/LICENSE +21 -0
- package/binary/_internal/python_calamine-0.8.2.dist-info/sboms/python-calamine.cyclonedx.json +1615 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/INSTALLER +1 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/METADATA +161 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/RECORD +9 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/REQUESTED +0 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/WHEEL +7 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/licenses/LICENSE +21 -0
- package/binary/_internal/quickjs_ng-0.17.0.1.dist-info/top_level.txt +2 -0
- package/binary/_internal/selectolax/base.pxi +4 -0
- package/binary/_internal/selectolax/lexbor/attrs.pxi +123 -0
- package/binary/_internal/selectolax/lexbor/fragment_lookup.pxi +52 -0
- package/binary/_internal/selectolax/lexbor/node.pxi +1355 -0
- package/binary/_internal/selectolax/lexbor/node_remove.pxi +29 -0
- package/binary/_internal/selectolax/lexbor/selection.pxi +251 -0
- package/binary/_internal/selectolax/lexbor/util.pxi +114 -0
- package/binary/_internal/selectolax/lexbor.c +66981 -0
- package/binary/_internal/selectolax/lexbor.cpython-312-x86_64-linux-gnu.so +0 -0
- package/binary/_internal/selectolax/lexbor.pxd +682 -0
- package/binary/_internal/selectolax/lexbor.pyi +1534 -0
- package/binary/_internal/selectolax/lexbor.pyx +1046 -0
- package/binary/_internal/selectolax/modest/node.pxi +976 -0
- package/binary/_internal/selectolax/modest/selection.pxi +199 -0
- package/binary/_internal/selectolax/modest/util.pxi +20 -0
- package/binary/_internal/selectolax/py.typed +0 -0
- package/binary/_internal/selectolax/utils.pxi +117 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/INSTALLER +1 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/METADATA +222 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/RECORD +30 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/REQUESTED +0 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/WHEEL +7 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/licenses/LICENSE +10 -0
- package/binary/_internal/selectolax-0.4.13.dist-info/top_level.txt +1 -0
- package/binary/brewdoc +0 -0
- package/binary/licenses/installed/brewdoc/brewdoc/_vendor/THIRD_PARTY_NOTICES.txt +342 -0
- package/binary/licenses/installed/brewdoc/brewdoc-0.3.2.dist-info/licenses/LICENSE +21 -0
- package/binary/licenses/installed/cffi/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/binary/licenses/installed/charset-normalizer/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/binary/licenses/installed/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/binary/licenses/installed/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/binary/licenses/installed/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/binary/licenses/installed/interpreter/LICENSE.txt +279 -0
- package/binary/licenses/installed/native-runtime/GPL-3 +674 -0
- package/binary/licenses/installed/native-runtime/gcc-12-base-amd64-copyright +1512 -0
- package/binary/licenses/installed/pdfminer.six/pdfminer_six-20260107.dist-info/licenses/LICENSE +22 -0
- package/binary/licenses/installed/pdfplumber/pdfplumber-0.11.10.dist-info/licenses/LICENSE.txt +21 -0
- package/binary/licenses/installed/pillow/pillow-12.3.0.dist-info/licenses/LICENSE +1574 -0
- package/binary/licenses/installed/pycparser/pycparser-3.0.dist-info/licenses/LICENSE +27 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/LICENSES/Apache-2.0.txt +202 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/LICENSES/BSD-3-Clause.txt +26 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/LICENSES/CC-BY-4.0.txt +317 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/abseil.txt +203 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/agg23.txt +14 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/fast_float.txt +27 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/freetype.txt +169 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/icu.txt +568 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/lcms.txt +27 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libjpeg_turbo.ijg +260 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libjpeg_turbo.md +135 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libopenjpeg.txt +32 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libpng.txt +134 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/libtiff.txt +21 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/llvm-libc.txt +278 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/pdfium-binaries.txt +9 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/pdfium.txt +230 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/simdutf.txt +18 -0
- package/binary/licenses/installed/pypdfium2/pypdfium2-5.13.0.dist-info/licenses/data/linux_x64/BUILD_LICENSES/zlib.txt +29 -0
- package/binary/licenses/installed/python-calamine/python_calamine-0.8.2.dist-info/licenses/LICENSE +21 -0
- package/binary/licenses/installed/quickjs-ng/quickjs_ng-0.17.0.1.dist-info/licenses/LICENSE +21 -0
- package/binary/licenses/installed/runtime-hooks/pyi_rth_cryptography_openssl.py +20 -0
- package/binary/licenses/installed/runtime-hooks/pyi_rth_inspect.py +99 -0
- package/binary/licenses/installed/runtime-hooks/pyi_rth_multiprocessing.py +88 -0
- package/binary/licenses/installed/runtime-hooks/pyi_rth_pkgutil.py +64 -0
- package/binary/licenses/installed/selectolax/selectolax-0.4.13.dist-info/licenses/LICENSE +10 -0
- package/binary/licenses/installed-manifest.json +202 -0
- package/binary/licenses/supplemental/openssl/3.5.9/README-copyright.txt +9 -0
- package/binary/licenses/supplemental/openssl/4.0.3/README-copyright.txt +9 -0
- package/binary/licenses/supplemental/provenance.json +2347 -0
- package/binary/licenses/supplemental/pyinstaller-6.22.3/COPYING.txt +648 -0
- package/binary/licenses/supplemental/pyinstaller-6.22.3/bootloader/waflib/LICENSE +25 -0
- package/binary/licenses/supplemental/pyinstaller-6.22.3/bootloader/zlib/LICENSE +22 -0
- package/binary/licenses/supplemental/pyinstaller-6.22.3/doc/license.rst +24 -0
- package/binary/licenses/supplemental/pyinstaller-hooks-contrib-2026.8/LICENSE +521 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE +373 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.bdb.txt +126 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.bzip2.txt +37 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.cpython.txt +771 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.expat.txt +21 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libX11.txt +942 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libXau.txt +21 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libedit.txt +29 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libffi.txt +21 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.liblzma.txt +13 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libuuid.txt +27 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.libxcb.txt +30 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.mpdecimal.txt +24 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.ncurses.txt +29 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.openssl-1.1.txt +124 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.openssl-3.txt +177 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.sqlite.txt +23 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.tcl.txt +40 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.tix.txt +54 -0
- package/binary/licenses/supplemental/python-build-standalone-20260929/LICENSE.zlib.txt +21 -0
- package/binary/licenses/supplemental/python-calamine-0.8.2/LICENSE +21 -0
- package/binary/licenses/supplemental/python-calamine-0.8.2/source-identity/Cargo.lock +620 -0
- package/binary/licenses/supplemental/python-calamine-0.8.2/source-identity/Cargo.toml +22 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/LICENSE +21 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/cutils.h.txt +24 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/dtoa.c.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/dtoa.h.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/libregexp-opcode.h.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/libregexp.c.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/libregexp.h.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/libunicode.c.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/libunicode.h.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/list.h.txt +23 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/quickjs-atom.h.txt +24 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/quickjs-opcode.h.txt +24 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/quickjs.c.txt +26 -0
- package/binary/licenses/supplemental/quickjs-ng-0.17.0.1/engine-headers/upstream-quickjs/quickjs.h.txt +26 -0
- package/binary/licenses/supplemental/rust-adler2-2.0.1/LICENSE-0BSD +12 -0
- package/binary/licenses/supplemental/rust-adler2-2.0.1/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-adler2-2.0.1/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-android_system_properties-0.1.5/LICENSE-APACHE +13 -0
- package/binary/licenses/supplemental/rust-android_system_properties-0.1.5/LICENSE-MIT +20 -0
- package/binary/licenses/supplemental/rust-atoi_simd-0.18.1/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-atoi_simd-0.18.1/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-autocfg-1.5.1/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-autocfg-1.5.1/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-bumpalo-3.20.3/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-bumpalo-3.20.3/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-byteorder-1.5.0/COPYING +3 -0
- package/binary/licenses/supplemental/rust-byteorder-1.5.0/LICENSE-MIT +21 -0
- package/binary/licenses/supplemental/rust-calamine-0.36.0/LICENSE-MIT.md +23 -0
- package/binary/licenses/supplemental/rust-cc-1.2.64/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-cc-1.2.64/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-cfg-if-1.0.4/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-cfg-if-1.0.4/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-chrono-0.4.45/LICENSE.txt +240 -0
- package/binary/licenses/supplemental/rust-codepage-0.1.2/COPYRIGHT +9 -0
- package/binary/licenses/supplemental/rust-codepage-0.1.2/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-codepage-0.1.2/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-core-foundation-sys-0.8.7/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-core-foundation-sys-0.8.7/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-crc32fast-1.5.0/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-crc32fast-1.5.0/LICENSE-MIT +21 -0
- package/binary/licenses/supplemental/rust-debug_unsafe-0.1.4/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-debug_unsafe-0.1.4/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-encoding_rs-0.8.35/COPYRIGHT +17 -0
- package/binary/licenses/supplemental/rust-encoding_rs-0.8.35/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-encoding_rs-0.8.35/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-encoding_rs-0.8.35/LICENSE-WHATWG +26 -0
- package/binary/licenses/supplemental/rust-equivalent-1.0.2/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-equivalent-1.0.2/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-fast-float2-0.2.3/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-fast-float2-0.2.3/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-find-msvc-tools-0.1.9/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-find-msvc-tools-0.1.9/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-flate2-1.1.9/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-flate2-1.1.9/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-futures-core-0.3.32/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-futures-core-0.3.32/LICENSE-MIT +26 -0
- package/binary/licenses/supplemental/rust-futures-task-0.3.32/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-futures-task-0.3.32/LICENSE-MIT +26 -0
- package/binary/licenses/supplemental/rust-futures-util-0.3.32/LICENSE-APACHE +202 -0
- package/binary/licenses/supplemental/rust-futures-util-0.3.32/LICENSE-MIT +26 -0
- package/binary/licenses/supplemental/rust-hashbrown-0.17.1/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-hashbrown-0.17.1/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-heck-0.5.0/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-heck-0.5.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-iana-time-zone-0.1.65/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-iana-time-zone-0.1.65/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-iana-time-zone-haiku-0.1.2/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-iana-time-zone-haiku-0.1.2/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-indexmap-2.14.0/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-indexmap-2.14.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-js-sys-0.3.102/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-js-sys-0.3.102/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-libc-0.2.186/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-libc-0.2.186/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-log-0.4.32/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-log-0.4.32/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-memchr-2.8.2/COPYING +3 -0
- package/binary/licenses/supplemental/rust-memchr-2.8.2/LICENSE-MIT +21 -0
- package/binary/licenses/supplemental/rust-miniz_oxide-0.8.9/LICENSE +25 -0
- package/binary/licenses/supplemental/rust-miniz_oxide-0.8.9/LICENSE-APACHE.md +177 -0
- package/binary/licenses/supplemental/rust-miniz_oxide-0.8.9/LICENSE-MIT.md +24 -0
- package/binary/licenses/supplemental/rust-miniz_oxide-0.8.9/LICENSE-ZLIB.md +14 -0
- package/binary/licenses/supplemental/rust-num-traits-0.2.19/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-num-traits-0.2.19/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-once_cell-1.21.4/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-once_cell-1.21.4/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
- package/binary/licenses/supplemental/rust-pin-project-lite-0.2.17/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-portable-atomic-1.13.1/LICENSE-APACHE +177 -0
- package/binary/licenses/supplemental/rust-portable-atomic-1.13.1/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-proc-macro2-1.0.106/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-proc-macro2-1.0.106/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-pyo3-0.29.0/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-0.29.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-pyo3-0.29.0/pyo3-runtime/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-0.29.0/pyo3-runtime/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-pyo3-build-config-0.29.0/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-build-config-0.29.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-pyo3-ffi-0.29.0/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-ffi-0.29.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-pyo3-file-0.16.0/Cargo.toml +14 -0
- package/binary/licenses/supplemental/rust-pyo3-file-0.16.0/README.md +90 -0
- package/binary/licenses/supplemental/rust-pyo3-file-0.16.0/declared-license/Apache-2.0.txt +73 -0
- package/binary/licenses/supplemental/rust-pyo3-macros-0.29.0/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-macros-0.29.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-pyo3-macros-backend-0.29.0/LICENSE-APACHE +178 -0
- package/binary/licenses/supplemental/rust-pyo3-macros-backend-0.29.0/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-quick-xml-0.41.0/LICENSE-MIT.md +23 -0
- package/binary/licenses/supplemental/rust-quote-1.0.45/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-quote-1.0.45/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-rustversion-1.0.22/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-rustversion-1.0.22/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-serde-1.0.228/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-serde-1.0.228/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-serde_core-1.0.228/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-serde_core-1.0.228/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-serde_derive-1.0.228/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-serde_derive-1.0.228/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-shlex-2.0.1/LICENSE-APACHE +13 -0
- package/binary/licenses/supplemental/rust-shlex-2.0.1/LICENSE-MIT +21 -0
- package/binary/licenses/supplemental/rust-simd-adler32-0.3.9/LICENSE.md +21 -0
- package/binary/licenses/supplemental/rust-slab-0.4.12/LICENSE +25 -0
- package/binary/licenses/supplemental/rust-syn-2.0.118/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-syn-2.0.118/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-target-lexicon-0.13.5/LICENSE +220 -0
- package/binary/licenses/supplemental/rust-typed-path-0.12.3/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-typed-path-0.12.3/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-unicode-ident-1.0.24/LICENSE-APACHE +176 -0
- package/binary/licenses/supplemental/rust-unicode-ident-1.0.24/LICENSE-MIT +23 -0
- package/binary/licenses/supplemental/rust-unicode-ident-1.0.24/LICENSE-UNICODE +39 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-0.2.125/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-0.2.125/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-macro-0.2.125/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-macro-0.2.125/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-macro-support-0.2.125/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-macro-support-0.2.125/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-shared-0.2.125/LICENSE-APACHE +201 -0
- package/binary/licenses/supplemental/rust-wasm-bindgen-shared-0.2.125/LICENSE-MIT +25 -0
- package/binary/licenses/supplemental/rust-windows-core-0.62.2/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-core-0.62.2/license-mit +21 -0
- package/binary/licenses/supplemental/rust-windows-implement-0.60.2/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-implement-0.60.2/license-mit +21 -0
- package/binary/licenses/supplemental/rust-windows-interface-0.59.3/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-interface-0.59.3/license-mit +21 -0
- package/binary/licenses/supplemental/rust-windows-link-0.2.1/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-link-0.2.1/license-mit +21 -0
- package/binary/licenses/supplemental/rust-windows-result-0.4.1/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-result-0.4.1/license-mit +21 -0
- package/binary/licenses/supplemental/rust-windows-strings-0.5.1/license-apache-2.0 +201 -0
- package/binary/licenses/supplemental/rust-windows-strings-0.5.1/license-mit +21 -0
- package/binary/licenses/supplemental/rust-zip-8.6.0/LICENSE +21 -0
- package/binary/licenses/supplemental/rust-zlib-rs-0.6.3/LICENSE +19 -0
- package/binary/licenses/supplemental/rust-zopfli-0.8.3/COPYING +201 -0
- package/binary/licenses/supplemental/selectolax-0.4.13/LICENSE +10 -0
- package/binary/licenses/supplemental/selectolax-0.4.13/lexbor/LICENSE +223 -0
- package/binary/licenses/supplemental/selectolax-0.4.13/lexbor/NOTICE +16 -0
- package/binary/version.json +6 -0
- package/native-manifest.json +4474 -0
- package/native-verification.json +338 -0
- package/package.json +27 -4
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
cimport cython
|
|
2
|
+
from cpython.exc cimport PyErr_SetObject
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@cython.final
|
|
6
|
+
cdef class CSSSelector:
|
|
7
|
+
|
|
8
|
+
cdef char *c_selector
|
|
9
|
+
cdef mycss_entry_t *css_entry
|
|
10
|
+
cdef modest_finder_t *finder
|
|
11
|
+
cdef mycss_selectors_list_t *selectors_list
|
|
12
|
+
|
|
13
|
+
def __init__(self, str selector):
|
|
14
|
+
|
|
15
|
+
selector_pybyte = selector.encode('UTF-8')
|
|
16
|
+
self.c_selector = selector_pybyte
|
|
17
|
+
|
|
18
|
+
# In order to propagate errors these methods should return no value
|
|
19
|
+
self._create_css_parser()
|
|
20
|
+
self._prepare_selector(self.css_entry, self.c_selector, len(self.c_selector))
|
|
21
|
+
self.finder = modest_finder_create_simple()
|
|
22
|
+
|
|
23
|
+
cdef myhtml_collection_t* find(self, myhtml_tree_node_t* scope):
|
|
24
|
+
"""Find all possible matches."""
|
|
25
|
+
|
|
26
|
+
cdef myhtml_collection_t *collection
|
|
27
|
+
|
|
28
|
+
collection = NULL
|
|
29
|
+
modest_finder_by_selectors_list(self.finder, scope, self.selectors_list, &collection)
|
|
30
|
+
|
|
31
|
+
return collection
|
|
32
|
+
|
|
33
|
+
cdef int _create_css_parser(self) except -1:
|
|
34
|
+
cdef mystatus_t status
|
|
35
|
+
|
|
36
|
+
cdef mycss_t *mycss = mycss_create()
|
|
37
|
+
status = mycss_init(mycss)
|
|
38
|
+
|
|
39
|
+
if status != 0:
|
|
40
|
+
PyErr_SetObject(RuntimeError, "Can't init MyCSS object.")
|
|
41
|
+
return -1
|
|
42
|
+
|
|
43
|
+
self.css_entry = mycss_entry_create()
|
|
44
|
+
status = mycss_entry_init(mycss, self.css_entry)
|
|
45
|
+
|
|
46
|
+
if status != 0:
|
|
47
|
+
PyErr_SetObject(RuntimeError, "Can't init MyCSS Entry object.")
|
|
48
|
+
return -1
|
|
49
|
+
return 0
|
|
50
|
+
|
|
51
|
+
cdef int _prepare_selector(self, mycss_entry_t *css_entry, const char *selector, size_t selector_size) except -1:
|
|
52
|
+
cdef mystatus_t out_status
|
|
53
|
+
self.selectors_list = mycss_selectors_parse(mycss_entry_selectors(css_entry), myencoding_t.MyENCODING_UTF_8,
|
|
54
|
+
selector, selector_size, &out_status)
|
|
55
|
+
|
|
56
|
+
if (self.selectors_list == NULL) or (self.selectors_list.flags and MyCSS_SELECTORS_FLAGS_SELECTOR_BAD):
|
|
57
|
+
PyErr_SetObject(ValueError, "Bad CSS Selectors: %s" % self.c_selector.decode('utf-8'))
|
|
58
|
+
return -1
|
|
59
|
+
return 0
|
|
60
|
+
|
|
61
|
+
def __dealloc__(self):
|
|
62
|
+
mycss_selectors_list_destroy(mycss_entry_selectors(self.css_entry), self.selectors_list, 1)
|
|
63
|
+
modest_finder_destroy(self.finder, 1)
|
|
64
|
+
|
|
65
|
+
cdef mycss_t *mycss = self.css_entry.mycss
|
|
66
|
+
mycss_entry_destroy(self.css_entry, 1)
|
|
67
|
+
mycss_destroy(mycss, 1)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
cdef class Selector:
|
|
71
|
+
"""An advanced CSS selector that supports additional operations.
|
|
72
|
+
|
|
73
|
+
Think of it as a toolkit that mimics some of the features of XPath.
|
|
74
|
+
|
|
75
|
+
Please note, this is an experimental feature that can change in the future.
|
|
76
|
+
"""
|
|
77
|
+
cdef Node node
|
|
78
|
+
cdef list nodes
|
|
79
|
+
|
|
80
|
+
def __init__(self, Node node, str query):
|
|
81
|
+
"""custom init, because __cinit__ doesn't accept C types"""
|
|
82
|
+
self.node = node
|
|
83
|
+
self.nodes = find_nodes(node.parser, node.node, query) if query else [node, ]
|
|
84
|
+
|
|
85
|
+
cpdef css(self, str query):
|
|
86
|
+
"""Evaluate CSS selector against current scope."""
|
|
87
|
+
cdef Node current_node
|
|
88
|
+
nodes = list()
|
|
89
|
+
for node in self.nodes:
|
|
90
|
+
current_node = node
|
|
91
|
+
nodes.extend(find_nodes(self.node.parser, current_node.node, query))
|
|
92
|
+
self.nodes = nodes
|
|
93
|
+
return self
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def matches(self):
|
|
97
|
+
"""Returns all possible matches"""
|
|
98
|
+
return self.nodes
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def any_matches(self):
|
|
102
|
+
"""Returns True if there are any matches"""
|
|
103
|
+
return bool(self.nodes)
|
|
104
|
+
|
|
105
|
+
def text_contains(self, str text, bool deep=True, str separator='', bool strip=False):
|
|
106
|
+
"""Filter all current matches given text."""
|
|
107
|
+
nodes = []
|
|
108
|
+
cdef Node node
|
|
109
|
+
for node in self.nodes:
|
|
110
|
+
node_text = node.text(deep=deep, separator=separator, strip=strip)
|
|
111
|
+
if node_text and text in node_text:
|
|
112
|
+
nodes.append(node)
|
|
113
|
+
self.nodes = nodes
|
|
114
|
+
return self
|
|
115
|
+
|
|
116
|
+
def any_text_contains(self, str text, bool deep=True, str separator='', bool strip=False):
|
|
117
|
+
"""Returns True if any node in the current search scope contains specified text"""
|
|
118
|
+
nodes = []
|
|
119
|
+
cdef Node node
|
|
120
|
+
for node in self.nodes:
|
|
121
|
+
node_text = node.text(deep=deep, separator=separator, strip=strip)
|
|
122
|
+
if node_text and text in node_text:
|
|
123
|
+
return True
|
|
124
|
+
return False
|
|
125
|
+
|
|
126
|
+
def attribute_longer_than(self, str attribute, int length, str start = None):
|
|
127
|
+
"""Filter all current matches by attribute length.
|
|
128
|
+
|
|
129
|
+
Similar to `string-length` in XPath.
|
|
130
|
+
"""
|
|
131
|
+
nodes = []
|
|
132
|
+
for node in self.nodes:
|
|
133
|
+
attr = node.attributes.get(attribute)
|
|
134
|
+
if attr is None:
|
|
135
|
+
continue
|
|
136
|
+
if start and start in attr:
|
|
137
|
+
attr = attr[attr.find(start) + len(start):]
|
|
138
|
+
if len(attr) > length:
|
|
139
|
+
nodes.append(node)
|
|
140
|
+
self.nodes = nodes
|
|
141
|
+
return self
|
|
142
|
+
|
|
143
|
+
def any_attribute_longer_than(self, str attribute, int length, str start = None):
|
|
144
|
+
"""Returns True any href attribute longer than a specified length.
|
|
145
|
+
|
|
146
|
+
Similar to `string-length` in XPath.
|
|
147
|
+
"""
|
|
148
|
+
cdef list nodes = []
|
|
149
|
+
cdef Node node
|
|
150
|
+
for node in self.nodes:
|
|
151
|
+
attr = node.attributes.get(attribute)
|
|
152
|
+
if attr is None:
|
|
153
|
+
continue
|
|
154
|
+
if start and start in attr:
|
|
155
|
+
attr = attr[attr.find(start) + len(start):]
|
|
156
|
+
if len(attr) > length:
|
|
157
|
+
return True
|
|
158
|
+
return False
|
|
159
|
+
|
|
160
|
+
def __bool__(self):
|
|
161
|
+
return bool(self.nodes)
|
|
162
|
+
|
|
163
|
+
cdef find_nodes(HTMLParser parser, myhtml_tree_node_t *node, str query):
|
|
164
|
+
cdef myhtml_collection_t *collection
|
|
165
|
+
cdef CSSSelector selector = CSSSelector(query)
|
|
166
|
+
cdef Node n
|
|
167
|
+
cdef list result = []
|
|
168
|
+
collection = selector.find(node)
|
|
169
|
+
|
|
170
|
+
if collection == NULL:
|
|
171
|
+
return result
|
|
172
|
+
|
|
173
|
+
for i in range(collection.length):
|
|
174
|
+
n = Node.new(collection.list[i], parser)
|
|
175
|
+
result.append(n)
|
|
176
|
+
myhtml_collection_destroy(collection)
|
|
177
|
+
return result
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
cdef bool find_matches(HTMLParser parser, myhtml_tree_node_t *node, tuple selectors):
|
|
181
|
+
cdef myhtml_collection_t *collection
|
|
182
|
+
cdef CSSSelector selector
|
|
183
|
+
cdef int collection_size
|
|
184
|
+
cdef str query
|
|
185
|
+
|
|
186
|
+
for query in selectors:
|
|
187
|
+
selector = CSSSelector(query)
|
|
188
|
+
collection_size = 0
|
|
189
|
+
collection = NULL
|
|
190
|
+
|
|
191
|
+
collection = selector.find(node)
|
|
192
|
+
if collection == NULL:
|
|
193
|
+
continue
|
|
194
|
+
|
|
195
|
+
collection_size = collection.length
|
|
196
|
+
myhtml_collection_destroy(collection)
|
|
197
|
+
if collection_size > 0:
|
|
198
|
+
return True
|
|
199
|
+
return False
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
include "../utils.pxi"
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def create_tag(tag: str):
|
|
5
|
+
"""
|
|
6
|
+
Given an HTML tag name, e.g. `"div"`, create a single empty node for that tag,
|
|
7
|
+
e.g. `"<div></div>"`.
|
|
8
|
+
"""
|
|
9
|
+
return do_create_tag(tag, HTMLParser)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def parse_fragment(html: str):
|
|
13
|
+
"""
|
|
14
|
+
Given HTML, parse it into a list of Nodes, such that the nodes
|
|
15
|
+
correspond to the given HTML.
|
|
16
|
+
|
|
17
|
+
For contrast, HTMLParser adds `<html>`, `<head>`, and `<body>` tags
|
|
18
|
+
if they are missing. This function does not add these tags.
|
|
19
|
+
"""
|
|
20
|
+
return do_parse_fragment(html, HTMLParser)
|
|
File without changes
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
from typing import Literal, Optional, Union, Type
|
|
2
|
+
|
|
3
|
+
MAX_HTML_INPUT_SIZE = 250e+7
|
|
4
|
+
|
|
5
|
+
ParserCls = Union[Type["HTMLParser"], Type["LexborHTMLParser"]]
|
|
6
|
+
Parser = Union["HTMLParser", "LexborHTMLParser"]
|
|
7
|
+
FRAGMENT = Literal[
|
|
8
|
+
"document",
|
|
9
|
+
"fragment",
|
|
10
|
+
"head",
|
|
11
|
+
"body",
|
|
12
|
+
"head_and_body",
|
|
13
|
+
"document_no_head",
|
|
14
|
+
"document_no_body",
|
|
15
|
+
"document_no_head_no_body",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def preprocess_input(html, decode_errors='ignore'):
|
|
20
|
+
if isinstance(html, (str, unicode)):
|
|
21
|
+
bytes_html = html.encode('UTF-8', errors=decode_errors)
|
|
22
|
+
elif isinstance(html, bytes):
|
|
23
|
+
bytes_html = html
|
|
24
|
+
else:
|
|
25
|
+
raise TypeError("Expected a string, but %s found" % type(html).__name__)
|
|
26
|
+
html_len = len(bytes_html)
|
|
27
|
+
if html_len > MAX_HTML_INPUT_SIZE:
|
|
28
|
+
raise ValueError("The specified HTML input is too large to be processed (%d bytes)" % html_len)
|
|
29
|
+
return bytes_html, html_len
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def do_create_tag(tag: str, parser_cls: ParserCls):
|
|
33
|
+
if not tag:
|
|
34
|
+
raise ValueError("Tag name cannot be empty")
|
|
35
|
+
return do_parse_fragment(f"<{tag}></{tag}>", parser_cls)[0]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def get_fragment_type(
|
|
39
|
+
html: str,
|
|
40
|
+
parser_cls: ParserCls,
|
|
41
|
+
tree: Optional[Parser] = None,
|
|
42
|
+
) -> FRAGMENT:
|
|
43
|
+
if not tree:
|
|
44
|
+
tree = parser_cls(html)
|
|
45
|
+
|
|
46
|
+
import re
|
|
47
|
+
html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
48
|
+
|
|
49
|
+
has_html = False
|
|
50
|
+
has_head = False
|
|
51
|
+
has_body = False
|
|
52
|
+
for match in html_re.finditer(html):
|
|
53
|
+
if match[0] == "<html":
|
|
54
|
+
has_html = True
|
|
55
|
+
elif match[0] == "<head":
|
|
56
|
+
has_head = True
|
|
57
|
+
elif match[0] == "<body":
|
|
58
|
+
has_body = True
|
|
59
|
+
|
|
60
|
+
if has_html and has_head and has_body:
|
|
61
|
+
break
|
|
62
|
+
|
|
63
|
+
if has_html and has_head and has_body:
|
|
64
|
+
return "document"
|
|
65
|
+
elif has_html and not has_head and has_body:
|
|
66
|
+
return "document_no_head"
|
|
67
|
+
elif has_html and has_head and not has_body:
|
|
68
|
+
return "document_no_body"
|
|
69
|
+
elif has_html and not has_head and not has_body:
|
|
70
|
+
return "document_no_head_no_body"
|
|
71
|
+
elif has_head and not has_body:
|
|
72
|
+
return "head"
|
|
73
|
+
elif not has_head and has_body:
|
|
74
|
+
return "body"
|
|
75
|
+
elif has_head and has_body:
|
|
76
|
+
return "head_and_body"
|
|
77
|
+
else:
|
|
78
|
+
return "fragment"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def do_parse_fragment(html: str, parser_cls: ParserCls):
|
|
82
|
+
"""
|
|
83
|
+
Given HTML, parse it into a list of Nodes, such that the nodes
|
|
84
|
+
correspond to the given HTML.
|
|
85
|
+
|
|
86
|
+
For contrast, HTMLParser adds `<html>`, `<head>`, and `<body>` tags
|
|
87
|
+
if they are missing. This function does not add these tags.
|
|
88
|
+
"""
|
|
89
|
+
html = html.strip()
|
|
90
|
+
tree = parser_cls(html)
|
|
91
|
+
frag_type = get_fragment_type(html, parser_cls, tree)
|
|
92
|
+
|
|
93
|
+
if frag_type == "document":
|
|
94
|
+
return [tree.root]
|
|
95
|
+
if frag_type == "document_no_head":
|
|
96
|
+
tree.head.decompose(recursive=True)
|
|
97
|
+
return [tree.root]
|
|
98
|
+
if frag_type == "document_no_body":
|
|
99
|
+
tree.body.decompose(recursive=True)
|
|
100
|
+
return [tree.root]
|
|
101
|
+
if frag_type == "document_no_head_no_body":
|
|
102
|
+
tree.head.decompose(recursive=True)
|
|
103
|
+
tree.body.decompose(recursive=True)
|
|
104
|
+
return [tree.root]
|
|
105
|
+
elif frag_type == "head":
|
|
106
|
+
tree.body.decompose(recursive=True)
|
|
107
|
+
return [tree.head]
|
|
108
|
+
elif frag_type == "body":
|
|
109
|
+
tree.head.decompose(recursive=True)
|
|
110
|
+
return [tree.body]
|
|
111
|
+
elif frag_type == "head_and_body":
|
|
112
|
+
return [tree.head, tree.body]
|
|
113
|
+
else:
|
|
114
|
+
return [
|
|
115
|
+
*tree.head.iter(include_text=True),
|
|
116
|
+
*tree.body.iter(include_text=True),
|
|
117
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
uv
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: selectolax
|
|
3
|
+
Version: 0.4.13
|
|
4
|
+
Summary: A fast HTML5 parser with CSS selectors, written in Cython, using Modest and Lexbor engines.
|
|
5
|
+
Home-page: https://github.com/rushter/selectolax
|
|
6
|
+
Author: Artem Golubin
|
|
7
|
+
Author-email: Artem Golubin <me@rushter.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
Project-URL: Homepage, https://github.com/rushter/selectolax
|
|
10
|
+
Project-URL: Repository, https://github.com/rushter/selectolax
|
|
11
|
+
Project-URL: Documentation, https://selectolax.readthedocs.io/en/latest/parser.html
|
|
12
|
+
Project-URL: Changelog, https://github.com/rushter/selectolax/blob/master/CHANGES.md
|
|
13
|
+
Keywords: selectolax,html,parser,css,fast,lexbor,modest
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Natural Language :: English
|
|
18
|
+
Classifier: Operating System :: MacOS
|
|
19
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Classifier: Operating System :: OS Independent
|
|
21
|
+
Classifier: Operating System :: Unix
|
|
22
|
+
Classifier: Programming Language :: Cython
|
|
23
|
+
Classifier: Programming Language :: Python
|
|
24
|
+
Classifier: Programming Language :: Python :: 3
|
|
25
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
30
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
31
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
32
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
33
|
+
Classifier: Topic :: Internet
|
|
34
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
35
|
+
Classifier: Topic :: Software Development
|
|
36
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
37
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
38
|
+
Classifier: Topic :: Text Processing
|
|
39
|
+
Classifier: Topic :: Text Processing :: Markup
|
|
40
|
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
41
|
+
Classifier: Typing :: Typed
|
|
42
|
+
Requires-Python: <3.15,>=3.9
|
|
43
|
+
Description-Content-Type: text/markdown
|
|
44
|
+
License-File: LICENSE
|
|
45
|
+
Provides-Extra: cython
|
|
46
|
+
Requires-Dist: Cython; extra == "cython"
|
|
47
|
+
Dynamic: author
|
|
48
|
+
Dynamic: home-page
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
A fast HTML5 parser with CSS selectors, written in Cython,
|
|
56
|
+
using [Modest](https://github.com/lexborisov/Modest/) and [Lexbor](https://github.com/lexbor/lexbor) engines.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
[](https://pypi.org/project/selectolax)
|
|
61
|
+
[](https://pepy.tech/projects/selectolax)
|
|
62
|
+
[](https://github.com/rushter/selectolax/actions/workflows/pythonpackage.yml?query=branch%3Amaster+event%3Apush)
|
|
63
|
+
[](https://pypi.org/project/selectolax)
|
|
64
|
+
[](https://github.com/rushter/selectolax/blob/master/LICENSE)
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Installation
|
|
69
|
+
|
|
70
|
+
From PyPI using pip:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install selectolax
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
If installation fails due to compilation errors, you may need to install [Cython](https://github.com/cython/cython):
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pip install selectolax[cython]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
This usually happens when you try to install an outdated version of selectolax on a newer version of Python.
|
|
83
|
+
|
|
84
|
+
Development version from GitHub:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
git clone --recursive https://github.com/rushter/selectolax
|
|
88
|
+
cd selectolax
|
|
89
|
+
pip install -r requirements_dev.txt
|
|
90
|
+
python setup.py install
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
How to compile selectolax while developing:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
make clean
|
|
97
|
+
make dev
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Basic examples
|
|
101
|
+
|
|
102
|
+
Here are some basic examples to get you started with selectolax:
|
|
103
|
+
|
|
104
|
+
Parsing HTML and extracting text:
|
|
105
|
+
|
|
106
|
+
```python
|
|
107
|
+
In [1]: from selectolax.lexbor import LexborHTMLParser
|
|
108
|
+
...:
|
|
109
|
+
...: html = """
|
|
110
|
+
...: <h1 id="title" data-updated="20201101">Hi there</h1>
|
|
111
|
+
...: <div class="post">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div>
|
|
112
|
+
...: <div class="post">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
|
|
113
|
+
...: """
|
|
114
|
+
...: tree = LexborHTMLParser(html)
|
|
115
|
+
|
|
116
|
+
In [2]: tree.css_first('h1#title').text()
|
|
117
|
+
Out[2]: 'Hi there'
|
|
118
|
+
|
|
119
|
+
In [3]: tree.css_first('h1#title').attributes
|
|
120
|
+
Out[3]: {'id': 'title', 'data-updated': '20201101'}
|
|
121
|
+
|
|
122
|
+
In [4]: [node.text() for node in tree.css('.post')]
|
|
123
|
+
Out[4]:
|
|
124
|
+
['Lorem Ipsum is simply dummy text of the printing and typesetting industry. ',
|
|
125
|
+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.']
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Using advanced CSS selectors
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
In [1]: html = "<div><p id=p1><p id=p2><p id=p3><a>link</a><p id=p4><p id=p5>text<p id=p6></div>"
|
|
132
|
+
...: selector = "div > :nth-child(2n+1):not(:has(a))"
|
|
133
|
+
|
|
134
|
+
In [2]: for node in LexborHTMLParser(html).css(selector):
|
|
135
|
+
...: print(node.attributes, node.text(), node.tag)
|
|
136
|
+
...: print(node.parent.tag)
|
|
137
|
+
...: print(node.html)
|
|
138
|
+
...:
|
|
139
|
+
{'id': 'p1'} p
|
|
140
|
+
div
|
|
141
|
+
<p id="p1"></p>
|
|
142
|
+
{'id': 'p5'} text p
|
|
143
|
+
div
|
|
144
|
+
<p id="p5">text</p>
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
#### Using `lexbor-contains` CSS pseudo-class to match text
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
from selectolax.lexbor import LexborHTMLParser
|
|
151
|
+
html = "<div><p>hello </p><p id='main'>lexbor is AwesOme</p></div>"
|
|
152
|
+
parser = LexborHTMLParser(html)
|
|
153
|
+
# Case-insensitive search
|
|
154
|
+
results = parser.css('p:lexbor-contains("awesome" i)')
|
|
155
|
+
# Case-sensitive search
|
|
156
|
+
results = parser.css('p:lexbor-contains("AwesOme")')
|
|
157
|
+
assert len(results) == 1
|
|
158
|
+
assert results[0].text() == "lexbor is AwesOme"
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
* [More examples](https://selectolax.readthedocs.io/en/latest/examples.html)
|
|
162
|
+
|
|
163
|
+
### Available backends
|
|
164
|
+
|
|
165
|
+
Selectolax supports two backends: `Modest` and `Lexbor`. By default, all examples use the `Lexbor` backend.
|
|
166
|
+
Most of the features between backends are almost identical, but there are some differences.
|
|
167
|
+
|
|
168
|
+
As of 2024, the preferred backend is `Lexbor`. The `Modest` backend is still available for compatibility reasons
|
|
169
|
+
and the underlying C library that selectolax uses is not maintained anymore.
|
|
170
|
+
|
|
171
|
+
To use `lexbor`, just import the parser and use it in the similar way to the `HTMLParser`.
|
|
172
|
+
|
|
173
|
+
```python
|
|
174
|
+
In [1]: from selectolax.lexbor import LexborHTMLParser
|
|
175
|
+
|
|
176
|
+
In [2]: html = """
|
|
177
|
+
...: <title>Hi there</title>
|
|
178
|
+
...: <div id="updated">2021-08-15</div>
|
|
179
|
+
...: """
|
|
180
|
+
|
|
181
|
+
In [3]: parser = LexborHTMLParser(html)
|
|
182
|
+
In [4]: parser.root.css_first("#updated").text()
|
|
183
|
+
Out[4]: '2021-08-15'
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Simple Benchmark
|
|
187
|
+
|
|
188
|
+
* Extract title, links, scripts and a meta tag from main pages of top 754 domains. See `examples/benchmark.py` for more information.
|
|
189
|
+
|
|
190
|
+
| Package | Time |
|
|
191
|
+
|-------------------------------|-----------|
|
|
192
|
+
| Beautiful Soup (html.parser) | 61.02 sec.|
|
|
193
|
+
| lxml / Beautiful Soup (lxml) | 9.09 sec. |
|
|
194
|
+
| html5_parser | 16.10 sec.|
|
|
195
|
+
| selectolax (Modest) | 2.94 sec. |
|
|
196
|
+
| selectolax (Lexbor) | 2.39 sec. |
|
|
197
|
+
|
|
198
|
+
## Links
|
|
199
|
+
|
|
200
|
+
* [selectolax API reference and examples](https://selectolax.readthedocs.io/en/latest/index.html)
|
|
201
|
+
* [Video introduction to web scraping using selectolax](https://youtu.be/HpRsfpPuUzE)
|
|
202
|
+
* [How to Scrape 7k Products with Python using selectolax and httpx](https://www.youtube.com/watch?v=XpGvq755J2U)
|
|
203
|
+
* [Modest introduction](https://lexborisov.github.io/Modest/)
|
|
204
|
+
* [Modest benchmark](https://lexborisov.github.io/benchmark-html-parsers/)
|
|
205
|
+
* [Python benchmark](https://rushter.com/blog/python-fast-html-parser/)
|
|
206
|
+
* [Another Python benchmark](https://www.peterbe.com/plog/selectolax-or-pyquery)
|
|
207
|
+
* [Universal interface to lxml and selectolax](https://github.com/lorien/domselect)
|
|
208
|
+
|
|
209
|
+
## License
|
|
210
|
+
|
|
211
|
+
* Modest engine — [LGPL2.1](https://github.com/lexborisov/Modest/blob/master/LICENSE)
|
|
212
|
+
* lexbor engine — [Apache-2.0 license](https://github.com/lexbor/lexbor?tab=Apache-2.0-1-ov-file#readme)
|
|
213
|
+
* selectolax - [MIT](https://github.com/rushter/selectolax/blob/master/LICENSE)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
## Contributors
|
|
217
|
+
|
|
218
|
+
Thanks to all the contributors of selectolax!
|
|
219
|
+
|
|
220
|
+
<a href="https://github.com/rushter/selectolax/graphs/contributors">
|
|
221
|
+
<img src="https://contrib.rocks/image?repo=rushter/selectolax" />
|
|
222
|
+
</a>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
selectolax-0.4.13.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
|
|
2
|
+
selectolax-0.4.13.dist-info/METADATA,sha256=R-ZOZ8ybODNCAmkIo5x_LzaWy3Ge-SSb44og5TdfnFI,8170
|
|
3
|
+
selectolax-0.4.13.dist-info/RECORD,,
|
|
4
|
+
selectolax-0.4.13.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
selectolax-0.4.13.dist-info/WHEEL,sha256=eXYxUg5Kx9lvtuQM0-Xy0y45yuuc8CT0Zrq-N3e3wpY,190
|
|
6
|
+
selectolax-0.4.13.dist-info/licenses/LICENSE,sha256=2MQsGHW-fJf91U57WjatFx6b-a7bfyIxuhs0wVBwkh8,1077
|
|
7
|
+
selectolax-0.4.13.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
8
|
+
selectolax/__init__.py,sha256=0V5FizY6K6rZ-J8t-b961a2zDv893GYC5_Pn-zMWXB0,111
|
|
9
|
+
selectolax/base.pxi,sha256=eiPKlY9gG3l49qJoRQVLl1Ljza6z1k0A-met6sDPcqE,89
|
|
10
|
+
selectolax/lexbor.c,sha256=C36DuIjR6ASFb37jMQNof4Hr81kC4rvgjLDm-M6T2BM,2908138
|
|
11
|
+
selectolax/lexbor.cpython-312-x86_64-linux-gnu.so,sha256=GlGRCw5jl1YtTQFkjzDsQea5j6ObDusyDfp4aQa8w2g,4887864
|
|
12
|
+
selectolax/lexbor.pxd,sha256=_ibA9lxHKOW-4uHGE2pov54nZWp0oh1erGVFO7SyTxk,26638
|
|
13
|
+
selectolax/lexbor.pyi,sha256=OxVKfVoGdSI4HOFgiPSNoQd6v0qGO6Ve4Z4C0BVMoL0,47565
|
|
14
|
+
selectolax/lexbor.pyx,sha256=W_ScKsoG1_o5VrrGtptBgqgXsag3z3I2WEFLkr-Wc-g,34620
|
|
15
|
+
selectolax/lexbor/attrs.pxi,sha256=S-EFgtQ9BL5d-LKI0_pvyfeka1oLeEuLPsA7fie50_E,4017
|
|
16
|
+
selectolax/lexbor/fragment_lookup.pxi,sha256=TA1URcsXGGvmn0qfDCx1p5vpZWvx1lCWvl0fzsRarkc,1594
|
|
17
|
+
selectolax/lexbor/node.pxi,sha256=6Sc263X37EF9kbG-lOMjFq-s8-7GT2gSGG5g3OWLggI,47546
|
|
18
|
+
selectolax/lexbor/node_remove.pxi,sha256=iqJ2PPNvQmK2dq8kJLXiZawoGf1Az3MpbrlQI6k4jDM,760
|
|
19
|
+
selectolax/lexbor/selection.pxi,sha256=nNs_EjGJvWauCKG0Cbmyug3maC18rbvAeScrAG8pKRU,9453
|
|
20
|
+
selectolax/lexbor/util.pxi,sha256=YetlV1cX6QIyLotpdL0BSS0PW2ftnHw54DzXCffI-nQ,3531
|
|
21
|
+
selectolax/modest/node.pxi,sha256=CKELVmMGW0vJKhBHH2UrgJEZaxziTfk3CSuCwiw5JpQ,33347
|
|
22
|
+
selectolax/modest/selection.pxi,sha256=uiB-njAR_g2RAaOXYDwI2Tl8XC-dJ2-0QQxH4PriFog,6598
|
|
23
|
+
selectolax/modest/util.pxi,sha256=di9cLmAyuGFXmiuptZ7Fz1SgkCf7hmiZLnpKCKEKsUc,552
|
|
24
|
+
selectolax/parser.c,sha256=G1onZcbp_enWmnEK2yV8zpJs3FhOTjfEX8dUPk0iSMY,2240082
|
|
25
|
+
selectolax/parser.cpython-312-x86_64-linux-gnu.so,sha256=XXp6tlWBvXLVOFmMWnZB9wd9SQI6ufPrEzojQ4JJsvs,4131912
|
|
26
|
+
selectolax/parser.pxd,sha256=Wu_M53zWJt7F8r1Gs0jDiTKZJZYPSKjVCm1hG_E8YlE,24659
|
|
27
|
+
selectolax/parser.pyi,sha256=g2_e3JXBt1jyL_28nV_AdPa0twL4o2ckEHGZfDIATxM,25024
|
|
28
|
+
selectolax/parser.pyx,sha256=3gHL-FMCZ-BMKc1ulJAFNf0l624lqPmZ6ZE1TVdlc9I,13779
|
|
29
|
+
selectolax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
+
selectolax/utils.pxi,sha256=_g-ZLprPgbqv7BLs-WEe8IhbDd_QTcfirz_NEyR1Yww,3506
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
MIT License
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2018-2026, Artem Golubin
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
selectolax
|
package/binary/brewdoc
ADDED
|
Binary file
|