ultralight-py 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (544) hide show
  1. ultralight_py-0.4.0/.github/workflows/wheels.yml +225 -0
  2. ultralight_py-0.4.0/.gitignore +15 -0
  3. ultralight_py-0.4.0/.gitmodules +6 -0
  4. ultralight_py-0.4.0/.python-version +1 -0
  5. ultralight_py-0.4.0/CHANGELOG.md +14 -0
  6. ultralight_py-0.4.0/CMakeLists.txt +43 -0
  7. ultralight_py-0.4.0/PKG-INFO +446 -0
  8. ultralight_py-0.4.0/README.md +433 -0
  9. ultralight_py-0.4.0/bindings/README.md +29 -0
  10. ultralight_py-0.4.0/bindings/common.hpp +19 -0
  11. ultralight_py-0.4.0/bindings/input/bindings.hpp +15 -0
  12. ultralight_py-0.4.0/bindings/input/common.hpp +10 -0
  13. ultralight_py-0.4.0/bindings/input/key_codes.hpp +178 -0
  14. ultralight_py-0.4.0/bindings/input/keyboard.hpp +23 -0
  15. ultralight_py-0.4.0/bindings/input/keyboard_bindings.hpp +10 -0
  16. ultralight_py-0.4.0/bindings/input/pointer.hpp +16 -0
  17. ultralight_py-0.4.0/bindings/javascript/bindings.hpp +25 -0
  18. ultralight_py-0.4.0/bindings/javascript/conversion.hpp +156 -0
  19. ultralight_py-0.4.0/bindings/javascript/objects/async.hpp +59 -0
  20. ultralight_py-0.4.0/bindings/javascript/objects/document.hpp +40 -0
  21. ultralight_py-0.4.0/bindings/javascript/objects/factory.hpp +59 -0
  22. ultralight_py-0.4.0/bindings/javascript/objects/iteration.hpp +42 -0
  23. ultralight_py-0.4.0/bindings/javascript/objects/operators.hpp +38 -0
  24. ultralight_py-0.4.0/bindings/javascript/objects/proxy.hpp +75 -0
  25. ultralight_py-0.4.0/bindings/javascript/objects/state.hpp +98 -0
  26. ultralight_py-0.4.0/bindings/javascript/value.hpp +96 -0
  27. ultralight_py-0.4.0/bindings/module.cpp +18 -0
  28. ultralight_py-0.4.0/bindings/python/bindings.hpp +33 -0
  29. ultralight_py-0.4.0/bindings/python/errors.hpp +15 -0
  30. ultralight_py-0.4.0/bindings/python/references.hpp +40 -0
  31. ultralight_py-0.4.0/bindings/resources/bindings.hpp +12 -0
  32. ultralight_py-0.4.0/bindings/resources/filesystem.hpp +108 -0
  33. ultralight_py-0.4.0/bindings/runtime/bindings.hpp +25 -0
  34. ultralight_py-0.4.0/bindings/runtime/runtime.hpp +59 -0
  35. ultralight_py-0.4.0/bindings/runtime/views.hpp +44 -0
  36. ultralight_py-0.4.0/bindings/view/bindings.hpp +48 -0
  37. ultralight_py-0.4.0/bindings/view/javascript.hpp +47 -0
  38. ultralight_py-0.4.0/bindings/view/view.hpp +73 -0
  39. ultralight_py-0.4.0/docs/api.md +241 -0
  40. ultralight_py-0.4.0/docs/architecture.md +88 -0
  41. ultralight_py-0.4.0/docs/objects.md +157 -0
  42. ultralight_py-0.4.0/examples/async_bridge.py +36 -0
  43. ultralight_py-0.4.0/examples/bridge.py +31 -0
  44. ultralight_py-0.4.0/examples/objects.py +58 -0
  45. ultralight_py-0.4.0/examples/offscreen.py +28 -0
  46. ultralight_py-0.4.0/examples/resources.py +27 -0
  47. ultralight_py-0.4.0/examples/tkinter_view.py +142 -0
  48. ultralight_py-0.4.0/externals/pybind11/.appveyor.yml +35 -0
  49. ultralight_py-0.4.0/externals/pybind11/.clang-format +38 -0
  50. ultralight_py-0.4.0/externals/pybind11/.clang-tidy +83 -0
  51. ultralight_py-0.4.0/externals/pybind11/.cmake-format.yaml +73 -0
  52. ultralight_py-0.4.0/externals/pybind11/.codespell-ignore-lines +36 -0
  53. ultralight_py-0.4.0/externals/pybind11/.gitattributes +1 -0
  54. ultralight_py-0.4.0/externals/pybind11/.github/CODEOWNERS +9 -0
  55. ultralight_py-0.4.0/externals/pybind11/.github/CONTRIBUTING.md +349 -0
  56. ultralight_py-0.4.0/externals/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +61 -0
  57. ultralight_py-0.4.0/externals/pybind11/.github/ISSUE_TEMPLATE/config.yml +8 -0
  58. ultralight_py-0.4.0/externals/pybind11/.github/dependabot.yml +11 -0
  59. ultralight_py-0.4.0/externals/pybind11/.github/labeler.yml +13 -0
  60. ultralight_py-0.4.0/externals/pybind11/.github/labeler_merged.yml +8 -0
  61. ultralight_py-0.4.0/externals/pybind11/.github/matchers/pylint.json +32 -0
  62. ultralight_py-0.4.0/externals/pybind11/.github/pull_request_template.md +15 -0
  63. ultralight_py-0.4.0/externals/pybind11/.github/workflows/ci.yml +1369 -0
  64. ultralight_py-0.4.0/externals/pybind11/.github/workflows/configure.yml +85 -0
  65. ultralight_py-0.4.0/externals/pybind11/.github/workflows/docs-link.yml +41 -0
  66. ultralight_py-0.4.0/externals/pybind11/.github/workflows/format.yml +54 -0
  67. ultralight_py-0.4.0/externals/pybind11/.github/workflows/labeler.yml +25 -0
  68. ultralight_py-0.4.0/externals/pybind11/.github/workflows/nightlies.yml +59 -0
  69. ultralight_py-0.4.0/externals/pybind11/.github/workflows/pip.yml +118 -0
  70. ultralight_py-0.4.0/externals/pybind11/.github/workflows/reusable-standard.yml +98 -0
  71. ultralight_py-0.4.0/externals/pybind11/.github/workflows/tests-cibw.yml +77 -0
  72. ultralight_py-0.4.0/externals/pybind11/.github/workflows/upstream.yml +118 -0
  73. ultralight_py-0.4.0/externals/pybind11/.gitignore +54 -0
  74. ultralight_py-0.4.0/externals/pybind11/.pre-commit-config.yaml +158 -0
  75. ultralight_py-0.4.0/externals/pybind11/.readthedocs.yml +20 -0
  76. ultralight_py-0.4.0/externals/pybind11/CMakeLists.txt +425 -0
  77. ultralight_py-0.4.0/externals/pybind11/CMakePresets.json +93 -0
  78. ultralight_py-0.4.0/externals/pybind11/LICENSE +29 -0
  79. ultralight_py-0.4.0/externals/pybind11/README.rst +215 -0
  80. ultralight_py-0.4.0/externals/pybind11/SECURITY.md +13 -0
  81. ultralight_py-0.4.0/externals/pybind11/docs/Doxyfile +21 -0
  82. ultralight_py-0.4.0/externals/pybind11/docs/Makefile +192 -0
  83. ultralight_py-0.4.0/externals/pybind11/docs/_static/css/custom.css +3 -0
  84. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/chrono.rst +81 -0
  85. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/custom.rst +137 -0
  86. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/eigen.rst +310 -0
  87. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/functional.rst +109 -0
  88. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/index.rst +43 -0
  89. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/overview.rst +170 -0
  90. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/stl.rst +249 -0
  91. ultralight_py-0.4.0/externals/pybind11/docs/advanced/cast/strings.rst +296 -0
  92. ultralight_py-0.4.0/externals/pybind11/docs/advanced/classes.rst +1432 -0
  93. ultralight_py-0.4.0/externals/pybind11/docs/advanced/deadlock.md +391 -0
  94. ultralight_py-0.4.0/externals/pybind11/docs/advanced/deprecated.rst +179 -0
  95. ultralight_py-0.4.0/externals/pybind11/docs/advanced/embedding.rst +499 -0
  96. ultralight_py-0.4.0/externals/pybind11/docs/advanced/exceptions.rst +422 -0
  97. ultralight_py-0.4.0/externals/pybind11/docs/advanced/functions.rst +616 -0
  98. ultralight_py-0.4.0/externals/pybind11/docs/advanced/misc.rst +615 -0
  99. ultralight_py-0.4.0/externals/pybind11/docs/advanced/pycpp/index.rst +13 -0
  100. ultralight_py-0.4.0/externals/pybind11/docs/advanced/pycpp/numpy.rst +493 -0
  101. ultralight_py-0.4.0/externals/pybind11/docs/advanced/pycpp/object.rst +286 -0
  102. ultralight_py-0.4.0/externals/pybind11/docs/advanced/pycpp/utilities.rst +155 -0
  103. ultralight_py-0.4.0/externals/pybind11/docs/advanced/smart_ptrs.rst +179 -0
  104. ultralight_py-0.4.0/externals/pybind11/docs/basics.rst +316 -0
  105. ultralight_py-0.4.0/externals/pybind11/docs/benchmark.py +89 -0
  106. ultralight_py-0.4.0/externals/pybind11/docs/benchmark.rst +95 -0
  107. ultralight_py-0.4.0/externals/pybind11/docs/changelog.md +3488 -0
  108. ultralight_py-0.4.0/externals/pybind11/docs/classes.rst +652 -0
  109. ultralight_py-0.4.0/externals/pybind11/docs/cmake/index.rst +8 -0
  110. ultralight_py-0.4.0/externals/pybind11/docs/compiling.rst +731 -0
  111. ultralight_py-0.4.0/externals/pybind11/docs/conf.py +369 -0
  112. ultralight_py-0.4.0/externals/pybind11/docs/faq.rst +351 -0
  113. ultralight_py-0.4.0/externals/pybind11/docs/index.rst +49 -0
  114. ultralight_py-0.4.0/externals/pybind11/docs/installing.rst +105 -0
  115. ultralight_py-0.4.0/externals/pybind11/docs/limitations.rst +68 -0
  116. ultralight_py-0.4.0/externals/pybind11/docs/pybind11-logo.png +0 -0
  117. ultralight_py-0.4.0/externals/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
  118. ultralight_py-0.4.0/externals/pybind11/docs/pybind11_vs_boost_python1.svg +427 -0
  119. ultralight_py-0.4.0/externals/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
  120. ultralight_py-0.4.0/externals/pybind11/docs/pybind11_vs_boost_python2.svg +427 -0
  121. ultralight_py-0.4.0/externals/pybind11/docs/reference.rst +130 -0
  122. ultralight_py-0.4.0/externals/pybind11/docs/release.rst +135 -0
  123. ultralight_py-0.4.0/externals/pybind11/docs/requirements.in +7 -0
  124. ultralight_py-0.4.0/externals/pybind11/docs/requirements.txt +87 -0
  125. ultralight_py-0.4.0/externals/pybind11/docs/upgrade.rst +748 -0
  126. ultralight_py-0.4.0/externals/pybind11/include/pybind11/attr.h +730 -0
  127. ultralight_py-0.4.0/externals/pybind11/include/pybind11/buffer_info.h +209 -0
  128. ultralight_py-0.4.0/externals/pybind11/include/pybind11/cast.h +2446 -0
  129. ultralight_py-0.4.0/externals/pybind11/include/pybind11/chrono.h +227 -0
  130. ultralight_py-0.4.0/externals/pybind11/include/pybind11/common.h +2 -0
  131. ultralight_py-0.4.0/externals/pybind11/include/pybind11/complex.h +93 -0
  132. ultralight_py-0.4.0/externals/pybind11/include/pybind11/conduit/README.txt +15 -0
  133. ultralight_py-0.4.0/externals/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +116 -0
  134. ultralight_py-0.4.0/externals/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +87 -0
  135. ultralight_py-0.4.0/externals/pybind11/include/pybind11/conduit/wrap_include_python_h.h +72 -0
  136. ultralight_py-0.4.0/externals/pybind11/include/pybind11/critical_section.h +56 -0
  137. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/argument_vector.h +417 -0
  138. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/class.h +850 -0
  139. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/common.h +1427 -0
  140. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/cpp_conduit.h +75 -0
  141. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/descr.h +226 -0
  142. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h +39 -0
  143. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/exception_translation.h +71 -0
  144. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/function_record_pyobject.h +192 -0
  145. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/holder_caster_foreign_helpers.h +104 -0
  146. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/init.h +548 -0
  147. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/internals.h +1082 -0
  148. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/native_enum_data.h +227 -0
  149. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/pybind11_namespace_macros.h +82 -0
  150. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/struct_smart_holder.h +398 -0
  151. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/type_caster_base.h +1723 -0
  152. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/typeid.h +65 -0
  153. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/using_smart_holder.h +22 -0
  154. ultralight_py-0.4.0/externals/pybind11/include/pybind11/detail/value_and_holder.h +92 -0
  155. ultralight_py-0.4.0/externals/pybind11/include/pybind11/eigen/common.h +9 -0
  156. ultralight_py-0.4.0/externals/pybind11/include/pybind11/eigen/matrix.h +723 -0
  157. ultralight_py-0.4.0/externals/pybind11/include/pybind11/eigen/tensor.h +520 -0
  158. ultralight_py-0.4.0/externals/pybind11/include/pybind11/eigen.h +12 -0
  159. ultralight_py-0.4.0/externals/pybind11/include/pybind11/embed.h +320 -0
  160. ultralight_py-0.4.0/externals/pybind11/include/pybind11/eval.h +161 -0
  161. ultralight_py-0.4.0/externals/pybind11/include/pybind11/functional.h +147 -0
  162. ultralight_py-0.4.0/externals/pybind11/include/pybind11/gil.h +203 -0
  163. ultralight_py-0.4.0/externals/pybind11/include/pybind11/gil_safe_call_once.h +273 -0
  164. ultralight_py-0.4.0/externals/pybind11/include/pybind11/gil_simple.h +37 -0
  165. ultralight_py-0.4.0/externals/pybind11/include/pybind11/iostream.h +301 -0
  166. ultralight_py-0.4.0/externals/pybind11/include/pybind11/native_enum.h +76 -0
  167. ultralight_py-0.4.0/externals/pybind11/include/pybind11/numpy.h +2412 -0
  168. ultralight_py-0.4.0/externals/pybind11/include/pybind11/operators.h +202 -0
  169. ultralight_py-0.4.0/externals/pybind11/include/pybind11/options.h +92 -0
  170. ultralight_py-0.4.0/externals/pybind11/include/pybind11/pybind11.h +3962 -0
  171. ultralight_py-0.4.0/externals/pybind11/include/pybind11/pytypes.h +2736 -0
  172. ultralight_py-0.4.0/externals/pybind11/include/pybind11/stl/filesystem.h +114 -0
  173. ultralight_py-0.4.0/externals/pybind11/include/pybind11/stl.h +666 -0
  174. ultralight_py-0.4.0/externals/pybind11/include/pybind11/stl_bind.h +858 -0
  175. ultralight_py-0.4.0/externals/pybind11/include/pybind11/subinterpreter.h +291 -0
  176. ultralight_py-0.4.0/externals/pybind11/include/pybind11/trampoline_self_life_support.h +65 -0
  177. ultralight_py-0.4.0/externals/pybind11/include/pybind11/type_caster_pyobject_ptr.h +61 -0
  178. ultralight_py-0.4.0/externals/pybind11/include/pybind11/typing.h +295 -0
  179. ultralight_py-0.4.0/externals/pybind11/include/pybind11/warnings.h +75 -0
  180. ultralight_py-0.4.0/externals/pybind11/noxfile.py +151 -0
  181. ultralight_py-0.4.0/externals/pybind11/pybind11/__init__.py +19 -0
  182. ultralight_py-0.4.0/externals/pybind11/pybind11/__main__.py +97 -0
  183. ultralight_py-0.4.0/externals/pybind11/pybind11/_version.py +34 -0
  184. ultralight_py-0.4.0/externals/pybind11/pybind11/commands.py +39 -0
  185. ultralight_py-0.4.0/externals/pybind11/pybind11/py.typed +0 -0
  186. ultralight_py-0.4.0/externals/pybind11/pybind11/setup_helpers.py +500 -0
  187. ultralight_py-0.4.0/externals/pybind11/pyproject.toml +215 -0
  188. ultralight_py-0.4.0/externals/pybind11/tests/CMakeLists.txt +694 -0
  189. ultralight_py-0.4.0/externals/pybind11/tests/conftest.py +313 -0
  190. ultralight_py-0.4.0/externals/pybind11/tests/constructor_stats.h +330 -0
  191. ultralight_py-0.4.0/externals/pybind11/tests/cross_module_gil_utils.cpp +111 -0
  192. ultralight_py-0.4.0/externals/pybind11/tests/cross_module_interleaved_error_already_set.cpp +54 -0
  193. ultralight_py-0.4.0/externals/pybind11/tests/custom_exceptions.py +10 -0
  194. ultralight_py-0.4.0/externals/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +16 -0
  195. ultralight_py-0.4.0/externals/pybind11/tests/env.py +76 -0
  196. ultralight_py-0.4.0/externals/pybind11/tests/exo_planet_c_api.cpp +76 -0
  197. ultralight_py-0.4.0/externals/pybind11/tests/exo_planet_pybind11.cpp +19 -0
  198. ultralight_py-0.4.0/externals/pybind11/tests/extra_python_package/pytest.ini +0 -0
  199. ultralight_py-0.4.0/externals/pybind11/tests/extra_python_package/test_files.py +385 -0
  200. ultralight_py-0.4.0/externals/pybind11/tests/extra_setuptools/pytest.ini +0 -0
  201. ultralight_py-0.4.0/externals/pybind11/tests/extra_setuptools/test_setuphelper.py +153 -0
  202. ultralight_py-0.4.0/externals/pybind11/tests/home_planet_very_lonely_traveler.cpp +13 -0
  203. ultralight_py-0.4.0/externals/pybind11/tests/local_bindings.h +93 -0
  204. ultralight_py-0.4.0/externals/pybind11/tests/mod_per_interpreter_gil.cpp +20 -0
  205. ultralight_py-0.4.0/externals/pybind11/tests/mod_per_interpreter_gil_with_singleton.cpp +147 -0
  206. ultralight_py-0.4.0/externals/pybind11/tests/mod_shared_interpreter_gil.cpp +17 -0
  207. ultralight_py-0.4.0/externals/pybind11/tests/object.h +205 -0
  208. ultralight_py-0.4.0/externals/pybind11/tests/pure_cpp/CMakeLists.txt +22 -0
  209. ultralight_py-0.4.0/externals/pybind11/tests/pure_cpp/smart_holder_poc.h +56 -0
  210. ultralight_py-0.4.0/externals/pybind11/tests/pure_cpp/smart_holder_poc_test.cpp +427 -0
  211. ultralight_py-0.4.0/externals/pybind11/tests/pybind11_cross_module_tests.cpp +163 -0
  212. ultralight_py-0.4.0/externals/pybind11/tests/pybind11_tests.cpp +141 -0
  213. ultralight_py-0.4.0/externals/pybind11/tests/pybind11_tests.h +119 -0
  214. ultralight_py-0.4.0/externals/pybind11/tests/pyproject.toml +40 -0
  215. ultralight_py-0.4.0/externals/pybind11/tests/pytest.ini +22 -0
  216. ultralight_py-0.4.0/externals/pybind11/tests/requirements.txt +20 -0
  217. ultralight_py-0.4.0/externals/pybind11/tests/standalone_enum_module.cpp +13 -0
  218. ultralight_py-0.4.0/externals/pybind11/tests/test_async.cpp +25 -0
  219. ultralight_py-0.4.0/externals/pybind11/tests/test_async.py +31 -0
  220. ultralight_py-0.4.0/externals/pybind11/tests/test_buffers.cpp +571 -0
  221. ultralight_py-0.4.0/externals/pybind11/tests/test_buffers.py +471 -0
  222. ultralight_py-0.4.0/externals/pybind11/tests/test_builtin_casters.cpp +393 -0
  223. ultralight_py-0.4.0/externals/pybind11/tests/test_builtin_casters.py +624 -0
  224. ultralight_py-0.4.0/externals/pybind11/tests/test_call_policies.cpp +113 -0
  225. ultralight_py-0.4.0/externals/pybind11/tests/test_call_policies.py +256 -0
  226. ultralight_py-0.4.0/externals/pybind11/tests/test_callbacks.cpp +302 -0
  227. ultralight_py-0.4.0/externals/pybind11/tests/test_callbacks.py +248 -0
  228. ultralight_py-0.4.0/externals/pybind11/tests/test_chrono.cpp +81 -0
  229. ultralight_py-0.4.0/externals/pybind11/tests/test_chrono.py +207 -0
  230. ultralight_py-0.4.0/externals/pybind11/tests/test_class.cpp +700 -0
  231. ultralight_py-0.4.0/externals/pybind11/tests/test_class.py +575 -0
  232. ultralight_py-0.4.0/externals/pybind11/tests/test_class_cross_module_use_after_one_module_dealloc.cpp +23 -0
  233. ultralight_py-0.4.0/externals/pybind11/tests/test_class_cross_module_use_after_one_module_dealloc.py +43 -0
  234. ultralight_py-0.4.0/externals/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.cpp +54 -0
  235. ultralight_py-0.4.0/externals/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.py +21 -0
  236. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_basic.cpp +248 -0
  237. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_basic.py +248 -0
  238. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_disowning.cpp +41 -0
  239. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_disowning.py +78 -0
  240. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_disowning_mi.cpp +85 -0
  241. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_disowning_mi.py +246 -0
  242. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_factory_constructors.cpp +156 -0
  243. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_factory_constructors.py +53 -0
  244. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_inheritance.cpp +90 -0
  245. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_inheritance.py +63 -0
  246. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_mi_thunks.cpp +230 -0
  247. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_mi_thunks.py +104 -0
  248. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_property.cpp +129 -0
  249. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_property.py +218 -0
  250. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_property_non_owning.cpp +65 -0
  251. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_property_non_owning.py +30 -0
  252. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_shared_ptr_copy_move.cpp +103 -0
  253. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_shared_ptr_copy_move.py +41 -0
  254. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_basic.cpp +57 -0
  255. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_basic.py +35 -0
  256. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_self_life_support.cpp +86 -0
  257. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_self_life_support.py +38 -0
  258. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_shared_from_this.cpp +137 -0
  259. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_shared_from_this.py +247 -0
  260. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp +92 -0
  261. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py +154 -0
  262. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_unique_ptr.cpp +63 -0
  263. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_trampoline_unique_ptr.py +31 -0
  264. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.cpp +30 -0
  265. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.py +8 -0
  266. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_unique_ptr_member.cpp +50 -0
  267. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_unique_ptr_member.py +26 -0
  268. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_virtual_py_cpp_mix.cpp +58 -0
  269. ultralight_py-0.4.0/externals/pybind11/tests/test_class_sh_virtual_py_cpp_mix.py +66 -0
  270. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/CMakeLists.txt +91 -0
  271. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/embed.cpp +23 -0
  272. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +19 -0
  273. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +29 -0
  274. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +37 -0
  275. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/main.cpp +6 -0
  276. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +38 -0
  277. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +32 -0
  278. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +38 -0
  279. ultralight_py-0.4.0/externals/pybind11/tests/test_cmake_build/test.py +10 -0
  280. ultralight_py-0.4.0/externals/pybind11/tests/test_const_name.cpp +55 -0
  281. ultralight_py-0.4.0/externals/pybind11/tests/test_const_name.py +31 -0
  282. ultralight_py-0.4.0/externals/pybind11/tests/test_constants_and_functions.cpp +158 -0
  283. ultralight_py-0.4.0/externals/pybind11/tests/test_constants_and_functions.py +58 -0
  284. ultralight_py-0.4.0/externals/pybind11/tests/test_copy_move.cpp +546 -0
  285. ultralight_py-0.4.0/externals/pybind11/tests/test_copy_move.py +144 -0
  286. ultralight_py-0.4.0/externals/pybind11/tests/test_cpp_conduit.cpp +22 -0
  287. ultralight_py-0.4.0/externals/pybind11/tests/test_cpp_conduit.py +183 -0
  288. ultralight_py-0.4.0/externals/pybind11/tests/test_cpp_conduit_traveler_bindings.h +47 -0
  289. ultralight_py-0.4.0/externals/pybind11/tests/test_cpp_conduit_traveler_types.h +25 -0
  290. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/CMakeLists.txt +70 -0
  291. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/bindings.cpp +20 -0
  292. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/catch.cpp +22 -0
  293. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/lib.cpp +13 -0
  294. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/lib.h +31 -0
  295. ultralight_py-0.4.0/externals/pybind11/tests/test_cross_module_rtti/test_cross_module_rtti.cpp +50 -0
  296. ultralight_py-0.4.0/externals/pybind11/tests/test_custom_type_casters.cpp +217 -0
  297. ultralight_py-0.4.0/externals/pybind11/tests/test_custom_type_casters.py +126 -0
  298. ultralight_py-0.4.0/externals/pybind11/tests/test_custom_type_setup.cpp +104 -0
  299. ultralight_py-0.4.0/externals/pybind11/tests/test_custom_type_setup.py +79 -0
  300. ultralight_py-0.4.0/externals/pybind11/tests/test_docs_advanced_cast_custom.cpp +69 -0
  301. ultralight_py-0.4.0/externals/pybind11/tests/test_docs_advanced_cast_custom.py +40 -0
  302. ultralight_py-0.4.0/externals/pybind11/tests/test_docstring_options.cpp +129 -0
  303. ultralight_py-0.4.0/externals/pybind11/tests/test_docstring_options.py +72 -0
  304. ultralight_py-0.4.0/externals/pybind11/tests/test_eigen_matrix.cpp +448 -0
  305. ultralight_py-0.4.0/externals/pybind11/tests/test_eigen_matrix.py +839 -0
  306. ultralight_py-0.4.0/externals/pybind11/tests/test_eigen_tensor.cpp +18 -0
  307. ultralight_py-0.4.0/externals/pybind11/tests/test_eigen_tensor.inl +338 -0
  308. ultralight_py-0.4.0/externals/pybind11/tests/test_eigen_tensor.py +316 -0
  309. ultralight_py-0.4.0/externals/pybind11/tests/test_enum.cpp +149 -0
  310. ultralight_py-0.4.0/externals/pybind11/tests/test_enum.py +344 -0
  311. ultralight_py-0.4.0/externals/pybind11/tests/test_eval.cpp +118 -0
  312. ultralight_py-0.4.0/externals/pybind11/tests/test_eval.py +52 -0
  313. ultralight_py-0.4.0/externals/pybind11/tests/test_eval_call.py +5 -0
  314. ultralight_py-0.4.0/externals/pybind11/tests/test_exceptions.cpp +427 -0
  315. ultralight_py-0.4.0/externals/pybind11/tests/test_exceptions.h +13 -0
  316. ultralight_py-0.4.0/externals/pybind11/tests/test_exceptions.py +439 -0
  317. ultralight_py-0.4.0/externals/pybind11/tests/test_factory_constructors.cpp +434 -0
  318. ultralight_py-0.4.0/externals/pybind11/tests/test_factory_constructors.py +531 -0
  319. ultralight_py-0.4.0/externals/pybind11/tests/test_gil_scoped.cpp +144 -0
  320. ultralight_py-0.4.0/externals/pybind11/tests/test_gil_scoped.py +294 -0
  321. ultralight_py-0.4.0/externals/pybind11/tests/test_iostream.cpp +162 -0
  322. ultralight_py-0.4.0/externals/pybind11/tests/test_iostream.py +329 -0
  323. ultralight_py-0.4.0/externals/pybind11/tests/test_kwargs_and_defaults.cpp +331 -0
  324. ultralight_py-0.4.0/externals/pybind11/tests/test_kwargs_and_defaults.py +473 -0
  325. ultralight_py-0.4.0/externals/pybind11/tests/test_local_bindings.cpp +131 -0
  326. ultralight_py-0.4.0/externals/pybind11/tests/test_local_bindings.py +291 -0
  327. ultralight_py-0.4.0/externals/pybind11/tests/test_methods_and_attributes.cpp +788 -0
  328. ultralight_py-0.4.0/externals/pybind11/tests/test_methods_and_attributes.py +715 -0
  329. ultralight_py-0.4.0/externals/pybind11/tests/test_modules.cpp +124 -0
  330. ultralight_py-0.4.0/externals/pybind11/tests/test_modules.py +146 -0
  331. ultralight_py-0.4.0/externals/pybind11/tests/test_multiple_inheritance.cpp +341 -0
  332. ultralight_py-0.4.0/externals/pybind11/tests/test_multiple_inheritance.py +500 -0
  333. ultralight_py-0.4.0/externals/pybind11/tests/test_multiple_interpreters.py +437 -0
  334. ultralight_py-0.4.0/externals/pybind11/tests/test_native_enum.cpp +262 -0
  335. ultralight_py-0.4.0/externals/pybind11/tests/test_native_enum.py +377 -0
  336. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_array.cpp +616 -0
  337. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_array.py +749 -0
  338. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_dtypes.cpp +745 -0
  339. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_dtypes.py +464 -0
  340. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_scalars.cpp +63 -0
  341. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_scalars.py +54 -0
  342. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_vectorize.cpp +137 -0
  343. ultralight_py-0.4.0/externals/pybind11/tests/test_numpy_vectorize.py +319 -0
  344. ultralight_py-0.4.0/externals/pybind11/tests/test_opaque_types.cpp +77 -0
  345. ultralight_py-0.4.0/externals/pybind11/tests/test_opaque_types.py +64 -0
  346. ultralight_py-0.4.0/externals/pybind11/tests/test_operator_overloading.cpp +281 -0
  347. ultralight_py-0.4.0/externals/pybind11/tests/test_operator_overloading.py +161 -0
  348. ultralight_py-0.4.0/externals/pybind11/tests/test_pickling.cpp +191 -0
  349. ultralight_py-0.4.0/externals/pybind11/tests/test_pickling.py +149 -0
  350. ultralight_py-0.4.0/externals/pybind11/tests/test_potentially_slicing_weak_ptr.cpp +170 -0
  351. ultralight_py-0.4.0/externals/pybind11/tests/test_potentially_slicing_weak_ptr.py +174 -0
  352. ultralight_py-0.4.0/externals/pybind11/tests/test_python_multiple_inheritance.cpp +45 -0
  353. ultralight_py-0.4.0/externals/pybind11/tests/test_python_multiple_inheritance.py +36 -0
  354. ultralight_py-0.4.0/externals/pybind11/tests/test_pytorch_shared_ptr_cast_regression.cpp +62 -0
  355. ultralight_py-0.4.0/externals/pybind11/tests/test_pytorch_shared_ptr_cast_regression.py +25 -0
  356. ultralight_py-0.4.0/externals/pybind11/tests/test_pytypes.cpp +1215 -0
  357. ultralight_py-0.4.0/externals/pybind11/tests/test_pytypes.py +1374 -0
  358. ultralight_py-0.4.0/externals/pybind11/tests/test_scoped_critical_section.cpp +274 -0
  359. ultralight_py-0.4.0/externals/pybind11/tests/test_scoped_critical_section.py +30 -0
  360. ultralight_py-0.4.0/externals/pybind11/tests/test_sequences_and_iterators.cpp +600 -0
  361. ultralight_py-0.4.0/externals/pybind11/tests/test_sequences_and_iterators.py +307 -0
  362. ultralight_py-0.4.0/externals/pybind11/tests/test_smart_ptr.cpp +627 -0
  363. ultralight_py-0.4.0/externals/pybind11/tests/test_smart_ptr.py +370 -0
  364. ultralight_py-0.4.0/externals/pybind11/tests/test_standalone_enum_module.py +18 -0
  365. ultralight_py-0.4.0/externals/pybind11/tests/test_stl.cpp +667 -0
  366. ultralight_py-0.4.0/externals/pybind11/tests/test_stl.py +735 -0
  367. ultralight_py-0.4.0/externals/pybind11/tests/test_stl_binders.cpp +275 -0
  368. ultralight_py-0.4.0/externals/pybind11/tests/test_stl_binders.py +414 -0
  369. ultralight_py-0.4.0/externals/pybind11/tests/test_tagbased_polymorphic.cpp +150 -0
  370. ultralight_py-0.4.0/externals/pybind11/tests/test_tagbased_polymorphic.py +30 -0
  371. ultralight_py-0.4.0/externals/pybind11/tests/test_thread.cpp +108 -0
  372. ultralight_py-0.4.0/externals/pybind11/tests/test_thread.py +80 -0
  373. ultralight_py-0.4.0/externals/pybind11/tests/test_type_caster_pyobject_ptr.cpp +168 -0
  374. ultralight_py-0.4.0/externals/pybind11/tests/test_type_caster_pyobject_ptr.py +125 -0
  375. ultralight_py-0.4.0/externals/pybind11/tests/test_type_caster_std_function_specializations.cpp +46 -0
  376. ultralight_py-0.4.0/externals/pybind11/tests/test_type_caster_std_function_specializations.py +15 -0
  377. ultralight_py-0.4.0/externals/pybind11/tests/test_union.cpp +22 -0
  378. ultralight_py-0.4.0/externals/pybind11/tests/test_union.py +10 -0
  379. ultralight_py-0.4.0/externals/pybind11/tests/test_unnamed_namespace_a.cpp +37 -0
  380. ultralight_py-0.4.0/externals/pybind11/tests/test_unnamed_namespace_a.py +33 -0
  381. ultralight_py-0.4.0/externals/pybind11/tests/test_unnamed_namespace_b.cpp +13 -0
  382. ultralight_py-0.4.0/externals/pybind11/tests/test_unnamed_namespace_b.py +7 -0
  383. ultralight_py-0.4.0/externals/pybind11/tests/test_vector_unique_ptr_member.cpp +54 -0
  384. ultralight_py-0.4.0/externals/pybind11/tests/test_vector_unique_ptr_member.py +16 -0
  385. ultralight_py-0.4.0/externals/pybind11/tests/test_virtual_functions.cpp +591 -0
  386. ultralight_py-0.4.0/externals/pybind11/tests/test_virtual_functions.py +468 -0
  387. ultralight_py-0.4.0/externals/pybind11/tests/test_warnings.cpp +46 -0
  388. ultralight_py-0.4.0/externals/pybind11/tests/test_warnings.py +68 -0
  389. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/CMakeLists.txt +64 -0
  390. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/catch.cpp +175 -0
  391. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/catch_skip.h +21 -0
  392. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/external_module.cpp +39 -0
  393. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_args_convert_vector.cpp +80 -0
  394. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_argument_vector.cpp +94 -0
  395. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_interpreter.cpp +511 -0
  396. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_interpreter.py +16 -0
  397. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_subinterpreter.cpp +579 -0
  398. ultralight_py-0.4.0/externals/pybind11/tests/test_with_catch/test_trampoline.py +18 -0
  399. ultralight_py-0.4.0/externals/pybind11/tests/valgrind-numpy-scipy.supp +140 -0
  400. ultralight_py-0.4.0/externals/pybind11/tests/valgrind-python.supp +117 -0
  401. ultralight_py-0.4.0/externals/pybind11/tools/FindCatch.cmake +74 -0
  402. ultralight_py-0.4.0/externals/pybind11/tools/FindEigen3.cmake +86 -0
  403. ultralight_py-0.4.0/externals/pybind11/tools/FindPythonLibsNew.cmake +320 -0
  404. ultralight_py-0.4.0/externals/pybind11/tools/JoinPaths.cmake +23 -0
  405. ultralight_py-0.4.0/externals/pybind11/tools/check-style.sh +44 -0
  406. ultralight_py-0.4.0/externals/pybind11/tools/cmake_uninstall.cmake.in +23 -0
  407. ultralight_py-0.4.0/externals/pybind11/tools/codespell_ignore_lines_from_errors.py +40 -0
  408. ultralight_py-0.4.0/externals/pybind11/tools/libsize.py +38 -0
  409. ultralight_py-0.4.0/externals/pybind11/tools/make_changelog.py +121 -0
  410. ultralight_py-0.4.0/externals/pybind11/tools/make_global.py +33 -0
  411. ultralight_py-0.4.0/externals/pybind11/tools/pybind11.pc.in +7 -0
  412. ultralight_py-0.4.0/externals/pybind11/tools/pybind11Common.cmake +458 -0
  413. ultralight_py-0.4.0/externals/pybind11/tools/pybind11Config.cmake.in +240 -0
  414. ultralight_py-0.4.0/externals/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +94 -0
  415. ultralight_py-0.4.0/externals/pybind11/tools/pybind11NewTools.cmake +339 -0
  416. ultralight_py-0.4.0/externals/pybind11/tools/pybind11Tools.cmake +217 -0
  417. ultralight_py-0.4.0/externals/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +185 -0
  418. ultralight_py-0.4.0/externals/ulbind17/.clang-format +21 -0
  419. ultralight_py-0.4.0/externals/ulbind17/.github/workflows/build.yaml +72 -0
  420. ultralight_py-0.4.0/externals/ulbind17/.gitignore +36 -0
  421. ultralight_py-0.4.0/externals/ulbind17/.pre-commit-config.yaml +64 -0
  422. ultralight_py-0.4.0/externals/ulbind17/CMakeLists.txt +40 -0
  423. ultralight_py-0.4.0/externals/ulbind17/CMakePresets.json +20 -0
  424. ultralight_py-0.4.0/externals/ulbind17/LICENSE +674 -0
  425. ultralight_py-0.4.0/externals/ulbind17/README.md +371 -0
  426. ultralight_py-0.4.0/externals/ulbind17/embedded/CMakeLists.txt +29 -0
  427. ultralight_py-0.4.0/externals/ulbind17/embedded/GenerateResource.cmake +6 -0
  428. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/AlimamaShuHeiTi-Bold.bin2cpp +6924 -0
  429. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/AlimamaShuHeiTi-Bold.cpp +1 -0
  430. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/AlimamaShuHeiTi-Bold.h +31 -0
  431. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/FreeUniversal-Regular.bin2cpp +229 -0
  432. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/FreeUniversal-Regular.cpp +1 -0
  433. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/fonts/FreeUniversal-Regular.h +31 -0
  434. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/resources/sdk_resources.hpp +9 -0
  435. ultralight_py-0.4.0/externals/ulbind17/embedded/ulbind17/setup.hpp +77 -0
  436. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/algorithm.h +194 -0
  437. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/algorithms.h +217 -0
  438. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/basic_types.h +264 -0
  439. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/constexpr_assert.h +38 -0
  440. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/defines.h +66 -0
  441. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/elsa.h +56 -0
  442. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/elsa_std.h +38 -0
  443. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/exceptions.h +39 -0
  444. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/hash_string.h +26 -0
  445. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/pmh.h +251 -0
  446. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/bits/version.h +30 -0
  447. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/map.h +406 -0
  448. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/random.h +97 -0
  449. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/set.h +317 -0
  450. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/string.h +155 -0
  451. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/unordered_map.h +265 -0
  452. ultralight_py-0.4.0/externals/ulbind17/externals/include/frozen/unordered_set.h +200 -0
  453. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/Error.hpp +18 -0
  454. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/functions.hpp +86 -0
  455. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/jsc/Bridge.hpp +554 -0
  456. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/jsc/Traversal.hpp +33 -0
  457. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/mimetypes.hpp +384 -0
  458. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/platform/FileSystem.hpp +6 -0
  459. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/platform/FileSystem_linux.hpp +82 -0
  460. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/platform/FileSystem_macos.mm +111 -0
  461. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/platform/FileSystem_windows.hpp +118 -0
  462. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/platform/FontLoader.hpp +42 -0
  463. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/resources/FileSystemOverlay.hpp +32 -0
  464. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/resources/embedded/SDKResources.hpp +39 -0
  465. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/resources/filesystem/SDKResources.hpp +34 -0
  466. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/runtime.hpp +420 -0
  467. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/ulbind17.hpp +7 -0
  468. ultralight_py-0.4.0/externals/ulbind17/include/ulbind17/values.hpp +54 -0
  469. ultralight_py-0.4.0/externals/ulbind17/samples/CMakeLists.txt +47 -0
  470. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 1 - CppFunction/Info.plist.in +36 -0
  471. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 1 - CppFunction/main.cpp +45 -0
  472. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 2 - JSArray/Info.plist.in +36 -0
  473. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 2 - JSArray/main.cpp +39 -0
  474. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 3 - JSObject/Info.plist.in +36 -0
  475. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 3 - JSObject/main.cpp +27 -0
  476. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 4 - CppClass/Info.plist.in +36 -0
  477. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 4 - CppClass/main.cpp +36 -0
  478. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 5 - Rendering/BitmapRender.hpp +151 -0
  479. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 5 - Rendering/Info.plist.in +36 -0
  480. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 5 - Rendering/gui.cpp +149 -0
  481. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 5 - Rendering/main.cpp +132 -0
  482. ultralight_py-0.4.0/externals/ulbind17/samples/Sample 5 - Rendering/shader.hpp +99 -0
  483. ultralight_py-0.4.0/externals/ulbind17/samples/common.hpp +74 -0
  484. ultralight_py-0.4.0/externals/ulbind17/samples/host_adapter.cpp +84 -0
  485. ultralight_py-0.4.0/externals/ulbind17/tests/CMakeLists.txt +93 -0
  486. ultralight_py-0.4.0/externals/ulbind17/tests/bridge.cpp +197 -0
  487. ultralight_py-0.4.0/externals/ulbind17/tests/javascript.cpp +228 -0
  488. ultralight_py-0.4.0/externals/ulbind17/tests/minmax.cpp +21 -0
  489. ultralight_py-0.4.0/externals/ulbind17/tests/minmax_undefined.cpp +11 -0
  490. ultralight_py-0.4.0/externals/ulbind17/tests/overlay.cpp +48 -0
  491. ultralight_py-0.4.0/externals/ulbind17/tests/pixels.cpp +111 -0
  492. ultralight_py-0.4.0/externals/ulbind17/tests/runtime.cpp +323 -0
  493. ultralight_py-0.4.0/externals/ulbind17/tests/runtime_loader.cpp +28 -0
  494. ultralight_py-0.4.0/externals/ulbind17/tests/runtime_probe.cpp +14 -0
  495. ultralight_py-0.4.0/externals/ulbind17/tests/sdk.cmake +61 -0
  496. ultralight_py-0.4.0/externals/ulbind17/tests/sdk_driver.cmake +12 -0
  497. ultralight_py-0.4.0/externals/ulbind17/tests/sdk_resources_filesystem.cpp +36 -0
  498. ultralight_py-0.4.0/externals/ulbind17/ultralight-sdk/CMakeLists.txt +91 -0
  499. ultralight_py-0.4.0/externals/ulbind17/ultralight-sdk/SDK.cmake +88 -0
  500. ultralight_py-0.4.0/externals/ulbind17/vcpkg-configuration.json +14 -0
  501. ultralight_py-0.4.0/externals/ulbind17/vcpkg.json +6 -0
  502. ultralight_py-0.4.0/pyproject.toml +69 -0
  503. ultralight_py-0.4.0/scripts/release.py +300 -0
  504. ultralight_py-0.4.0/scripts/test_wheel.py +42 -0
  505. ultralight_py-0.4.0/scripts/tests/test_release.py +201 -0
  506. ultralight_py-0.4.0/src/ultralight_py/__init__.py +55 -0
  507. ultralight_py-0.4.0/src/ultralight_py/__init__.pyi +63 -0
  508. ultralight_py-0.4.0/src/ultralight_py/_asyncio.py +108 -0
  509. ultralight_py-0.4.0/src/ultralight_py/_objects.py +89 -0
  510. ultralight_py-0.4.0/src/ultralight_py/_support.py +20 -0
  511. ultralight_py-0.4.0/src/ultralight_py/_validation.py +8 -0
  512. ultralight_py-0.4.0/src/ultralight_py/_waiting.py +279 -0
  513. ultralight_py-0.4.0/src/ultralight_py/api.py +403 -0
  514. ultralight_py-0.4.0/src/ultralight_py/api.pyi +202 -0
  515. ultralight_py-0.4.0/src/ultralight_py/events.py +35 -0
  516. ultralight_py-0.4.0/src/ultralight_py/events.pyi +8 -0
  517. ultralight_py-0.4.0/src/ultralight_py/input.py +246 -0
  518. ultralight_py-0.4.0/src/ultralight_py/input.pyi +274 -0
  519. ultralight_py-0.4.0/src/ultralight_py/integrations/__init__.py +1 -0
  520. ultralight_py-0.4.0/src/ultralight_py/integrations/asyncio.py +85 -0
  521. ultralight_py-0.4.0/src/ultralight_py/integrations/asyncio.pyi +18 -0
  522. ultralight_py-0.4.0/src/ultralight_py/integrations/tkinter.py +422 -0
  523. ultralight_py-0.4.0/src/ultralight_py/integrations/tkinter.pyi +15 -0
  524. ultralight_py-0.4.0/src/ultralight_py/objects.py +28 -0
  525. ultralight_py-0.4.0/src/ultralight_py/objects.pyi +8 -0
  526. ultralight_py-0.4.0/src/ultralight_py/py.typed +0 -0
  527. ultralight_py-0.4.0/src/ultralight_py/scripting.py +290 -0
  528. ultralight_py-0.4.0/src/ultralight_py/scripting.pyi +55 -0
  529. ultralight_py-0.4.0/tests/__init__.py +1 -0
  530. ultralight_py-0.4.0/tests/async_cases.py +306 -0
  531. ultralight_py-0.4.0/tests/cases.py +501 -0
  532. ultralight_py-0.4.0/tests/input_cases.py +302 -0
  533. ultralight_py-0.4.0/tests/object_cases.py +391 -0
  534. ultralight_py-0.4.0/tests/test_async.py +27 -0
  535. ultralight_py-0.4.0/tests/test_input.py +32 -0
  536. ultralight_py-0.4.0/tests/test_input_values.py +41 -0
  537. ultralight_py-0.4.0/tests/test_integration.py +49 -0
  538. ultralight_py-0.4.0/tests/test_objects.py +27 -0
  539. ultralight_py-0.4.0/tests/test_scripting.py +394 -0
  540. ultralight_py-0.4.0/tests/test_tk_input.py +271 -0
  541. ultralight_py-0.4.0/tests/test_waiting.py +228 -0
  542. ultralight_py-0.4.0/tests/test_waiting_native.py +18 -0
  543. ultralight_py-0.4.0/tests/wait_fakes.py +92 -0
  544. ultralight_py-0.4.0/tests/waiting_cases.py +176 -0
@@ -0,0 +1,225 @@
1
+ name: Wheels
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ publish:
7
+ description: Publish this version tag to PyPI after environment approval
8
+ type: boolean
9
+ default: false
10
+ release:
11
+ types: [published]
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ concurrency:
17
+ group: ${{ github.workflow }}-${{ github.ref }}
18
+ cancel-in-progress: false
19
+
20
+ jobs:
21
+ validate:
22
+ runs-on: ubuntu-24.04
23
+ outputs:
24
+ name: ${{ steps.validate.outputs.name }}
25
+ version: ${{ steps.validate.outputs.version }}
26
+ commit: ${{ steps.validate.outputs.commit }}
27
+ publish: ${{ steps.validate.outputs.publish }}
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ with:
31
+ ref: ${{ github.sha }}
32
+ persist-credentials: false
33
+ - uses: actions/setup-python@v5
34
+ with:
35
+ python-version: '3.13'
36
+ - run: python -m pip install packaging 'pytest>=8,<10'
37
+ - name: Test release validation gates
38
+ run: python -m pytest scripts/tests -q
39
+ - name: Validate version and publication request
40
+ id: validate
41
+ env:
42
+ PUBLISH: ${{ inputs.publish || false }}
43
+ RELEASE_TAG: ${{ github.event.release.tag_name }}
44
+ run: python scripts/release.py validate
45
+
46
+ build_sdist:
47
+ needs: validate
48
+ runs-on: ubuntu-24.04
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ with:
52
+ ref: ${{ needs.validate.outputs.commit }}
53
+ submodules: recursive
54
+ persist-credentials: false
55
+ - uses: actions/setup-python@v5
56
+ with:
57
+ python-version: '3.13'
58
+ - run: python -m pip install build twine packaging
59
+ - name: Build and validate standalone sdist
60
+ env:
61
+ VERSION: ${{ needs.validate.outputs.version }}
62
+ run: |
63
+ python -m build --sdist
64
+ python scripts/release.py sdist --version "$VERSION"
65
+ python -m twine check --strict dist/*
66
+ - uses: actions/upload-artifact@v4
67
+ with:
68
+ name: sdist
69
+ path: dist/*.tar.gz
70
+ if-no-files-found: error
71
+ retention-days: 30
72
+
73
+ build_wheels:
74
+ needs: [validate, build_sdist]
75
+ runs-on: ${{ matrix.runner }}
76
+ strategy:
77
+ fail-fast: false
78
+ matrix:
79
+ include:
80
+ - runner: ubuntu-24.04
81
+ platform: linux-x64
82
+ - runner: windows-2022
83
+ platform: windows-x64
84
+ - runner: macos-14
85
+ platform: macos-arm64
86
+ steps:
87
+ - uses: actions/checkout@v4
88
+ with:
89
+ ref: ${{ needs.validate.outputs.commit }}
90
+ persist-credentials: false
91
+ - uses: actions/setup-python@v5
92
+ with:
93
+ python-version: '3.13'
94
+ - run: python -m pip install packaging
95
+ - uses: actions/download-artifact@v4
96
+ with:
97
+ name: sdist
98
+ path: sdist
99
+ - name: Extract the validated sdist
100
+ shell: bash
101
+ env:
102
+ VERSION: ${{ needs.validate.outputs.version }}
103
+ run: python scripts/release.py sdist --directory sdist --version "$VERSION" --extract build-input
104
+ - run: python -m pip install cibuildwheel==4.3.1
105
+ - name: Build, repair and test installed wheels
106
+ working-directory: build-input/source
107
+ shell: bash
108
+ run: python -m cibuildwheel --output-dir ../../wheelhouse .
109
+ - uses: actions/upload-artifact@v4
110
+ with:
111
+ name: wheels-${{ matrix.platform }}
112
+ path: wheelhouse/*.whl
113
+ if-no-files-found: error
114
+ retention-days: 30
115
+
116
+ assemble:
117
+ needs: [validate, build_sdist, build_wheels]
118
+ runs-on: ubuntu-24.04
119
+ steps:
120
+ - uses: actions/checkout@v4
121
+ with:
122
+ ref: ${{ needs.validate.outputs.commit }}
123
+ persist-credentials: false
124
+ - uses: actions/setup-python@v5
125
+ with:
126
+ python-version: '3.13'
127
+ - run: python -m pip install twine packaging
128
+ - uses: actions/download-artifact@v4
129
+ with:
130
+ pattern: wheels-*
131
+ path: collected
132
+ - uses: actions/download-artifact@v4
133
+ with:
134
+ name: sdist
135
+ path: collected/sdist
136
+ - name: Collect packages without overwriting duplicate filenames
137
+ run: |
138
+ python - <<'PY'
139
+ from pathlib import Path
140
+ import shutil
141
+ output = Path('dist')
142
+ output.mkdir()
143
+ for artifact in Path('collected').iterdir():
144
+ for package in artifact.iterdir():
145
+ target = output / package.name
146
+ if target.exists():
147
+ raise SystemExit(f'Duplicate package filename: {package.name}')
148
+ shutil.copyfile(package, target)
149
+ PY
150
+ - name: Validate the complete matrix and create SHA-256 manifest
151
+ env:
152
+ VERSION: ${{ needs.validate.outputs.version }}
153
+ COMMIT: ${{ needs.validate.outputs.commit }}
154
+ run: |
155
+ python scripts/release.py assemble --version "$VERSION" --commit "$COMMIT"
156
+ python -m twine check --strict dist/*
157
+ - uses: actions/upload-artifact@v4
158
+ id: packages
159
+ with:
160
+ name: release-packages
161
+ path: dist/*
162
+ if-no-files-found: error
163
+ retention-days: 30
164
+ - uses: actions/upload-artifact@v4
165
+ id: manifest
166
+ with:
167
+ name: release-manifest
168
+ path: release-manifest/*
169
+ if-no-files-found: error
170
+ retention-days: 30
171
+ - name: Human verification instructions
172
+ env:
173
+ PACKAGES_URL: ${{ steps.packages.outputs.artifact-url }}
174
+ MANIFEST_URL: ${{ steps.manifest.outputs.artifact-url }}
175
+ VERSION: ${{ needs.validate.outputs.version }}
176
+ COMMIT: ${{ needs.validate.outputs.commit }}
177
+ PUBLISH: ${{ needs.validate.outputs.publish }}
178
+ run: |
179
+ {
180
+ echo "## ultralight-py $VERSION"
181
+ echo "Source commit: $COMMIT; SDK: 2.0.0-beta.2; publish requested: $PUBLISH"
182
+ echo ""
183
+ echo "[Download release-packages]($PACKAGES_URL) · [Download SHA-256 manifest]($MANIFEST_URL)"
184
+ echo ""
185
+ echo "15 tested wheels and one standalone sdist; artifacts expire after 30 days."
186
+ echo "Download both artifacts, verify SHA-256, and install the matching wheel in a fresh environment."
187
+ echo "Follow README's installed-wheel test instructions on all three platforms before approving pypi."
188
+ echo "Approval publishes these exact files without rebuilding. Reject approval if verification fails."
189
+ } >> "$GITHUB_STEP_SUMMARY"
190
+
191
+ publish_pypi:
192
+ needs: [validate, assemble]
193
+ if: needs.validate.outputs.publish == 'true'
194
+ runs-on: ubuntu-24.04
195
+ environment:
196
+ name: pypi
197
+ url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
198
+ permissions:
199
+ contents: read
200
+ id-token: write
201
+ steps:
202
+ - uses: actions/checkout@v4
203
+ with:
204
+ ref: ${{ needs.validate.outputs.commit }}
205
+ persist-credentials: false
206
+ - uses: actions/setup-python@v5
207
+ with:
208
+ python-version: '3.13'
209
+ - run: python -m pip install packaging
210
+ - uses: actions/download-artifact@v4
211
+ with:
212
+ name: release-packages
213
+ path: dist
214
+ - uses: actions/download-artifact@v4
215
+ with:
216
+ name: release-manifest
217
+ path: release-manifest
218
+ - name: Verify the approved files and provenance
219
+ env:
220
+ VERSION: ${{ needs.validate.outputs.version }}
221
+ COMMIT: ${{ needs.validate.outputs.commit }}
222
+ run: python scripts/release.py verify --version "$VERSION" --commit "$COMMIT"
223
+ - uses: pypa/gh-action-pypi-publish@release/v1
224
+ with:
225
+ packages-dir: dist/
@@ -0,0 +1,15 @@
1
+ # Python and local environments
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ .venv/
6
+
7
+ # Build artifacts
8
+ /build/
9
+ /dist/
10
+ /_skbuild/
11
+ *.whl
12
+ .DS_Store
13
+
14
+ # Ruff cache
15
+ .ruff_cache/
@@ -0,0 +1,6 @@
1
+ [submodule "externals/pybind11"]
2
+ path = externals/pybind11
3
+ url = https://github.com/pybind/pybind11.git
4
+ [submodule "externals/ulbind17"]
5
+ path = externals/ulbind17
6
+ url = https://github.com/shabbywu/ulbind17.git
@@ -0,0 +1 @@
1
+ 3.13.16
@@ -0,0 +1,14 @@
1
+ # 更新日志
2
+
3
+ ## 未发布
4
+
5
+ - 增加多订阅事件与主框架页面状态;旧回调槽替换不影响内部等待和独立订阅。
6
+ - 提供被动 `wait_ready/wait_settled/wait_until/wait_for_selector`、结构化 PageLoadError,处理导航、关闭、超时和取消。
7
+ - 增加可选 ScriptDriver:宿主注入推进回调,或显式启用共享的按需循环;脚本导航跟随未完成的引擎导航链。
8
+ - 增加 `ScriptPage.expect_navigation`,在点击/提交前登记等待;动作与新页面就绪共用超时预算。
9
+ - Runtime 支持 `cache_path`,配置磁盘缓存及浏览器持久化存储目录,遵循首次初始化冻结规则。
10
+ - 支持 Python 实例和容器实时代理、绑定隔离及撤销。
11
+ - 提供 `Python.to_value()`,将 Python 容器复制为普通 JS Array/Object。
12
+ - 支持 JS Promise 等待、异步求值和调用,以及 Python awaitable 转 JS Promise。
13
+ - 提供 asyncio 定时驱动入口;await 不隐式调用 `Runtime.update()`。
14
+ - 取消、解绑、导航、关闭及驱动器失败时清理相关等待和投递。
@@ -0,0 +1,43 @@
1
+ cmake_minimum_required(VERSION 3.22)
2
+ project(ultralight_py VERSION 0.4.0 LANGUAGES CXX)
3
+
4
+ set(CMAKE_CXX_STANDARD 20)
5
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
6
+ set(CMAKE_CXX_EXTENSIONS OFF)
7
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
8
+ set(BUILD_TESTING OFF CACHE BOOL "Build dependency tests")
9
+ set(ULTRALIGHT_SDK_VERSION "2.0.0-beta.2" CACHE STRING "Ultralight SDK version")
10
+
11
+ set(PYBIND11_FINDPYTHON ON)
12
+ find_package(Python COMPONENTS Interpreter Development.Module REQUIRED)
13
+ add_subdirectory(externals/pybind11)
14
+ add_subdirectory(externals/ulbind17 EXCLUDE_FROM_ALL)
15
+
16
+ pybind11_add_module(_native MODULE bindings/module.cpp)
17
+ target_link_libraries(_native PRIVATE ulbind17::ulbind17)
18
+ ulbind17_copy_runtime_files(_native INCLUDE_APPCORE OFF)
19
+ install(TARGETS _native LIBRARY DESTINATION ultralight_py RUNTIME DESTINATION ultralight_py)
20
+ foreach(library IN ITEMS UltralightCore WebCore Ultralight)
21
+ install(FILES "$<TARGET_FILE:Ultralight::${library}>" DESTINATION ultralight_py)
22
+ endforeach()
23
+
24
+ if(APPLE)
25
+ # SDK dylibs refer to their peers via @rpath without a usable package-local
26
+ # LC_RPATH. Make the installed copies self-contained, including for delocate's
27
+ # per-library dependency analysis, then restore their ad-hoc signatures.
28
+ install(CODE [[
29
+ set(_package "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/ultralight_py")
30
+ foreach(_library IN ITEMS UltralightCore WebCore Ultralight)
31
+ set(_file "${_package}/lib${_library}.dylib")
32
+ foreach(_dependency IN ITEMS UltralightCore WebCore Ultralight)
33
+ execute_process(
34
+ COMMAND /usr/bin/install_name_tool
35
+ -change "@rpath/lib${_dependency}.dylib"
36
+ "@loader_path/lib${_dependency}.dylib" "${_file}"
37
+ COMMAND_ERROR_IS_FATAL ANY)
38
+ endforeach()
39
+ execute_process(COMMAND /usr/bin/codesign --force --sign - "${_file}"
40
+ COMMAND_ERROR_IS_FATAL ANY)
41
+ endforeach()
42
+ ]])
43
+ endif()