├── .clang-format ├── .flake8 ├── .github └── workflows │ ├── docs.yml │ └── main.yml ├── .gitignore ├── .isort.cfg ├── .pre-commit-config.yaml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── docs ├── JavaScript_API.md ├── Python_API.md ├── design.md ├── embed.md ├── index.md ├── installation.md ├── try_from_js.md └── try_from_py.md ├── environment-dev.yml ├── examples ├── README.rst ├── js_api_tour.js └── py_api_tour.py ├── include └── pyjs │ ├── convert.hpp │ ├── export_js_module.hpp │ ├── export_js_proxy.hpp │ ├── export_py_object.hpp │ ├── export_pyjs_module.hpp │ ├── inflate.hpp │ ├── install_conda_file.hpp │ ├── post_js │ └── fixes.js │ ├── pre_js │ ├── apply.js │ ├── cleanup.js │ ├── constants.js │ ├── create_once_callable.js │ ├── dynload │ │ ├── LICENCE │ │ ├── README.md │ │ └── dynload.js │ ├── fetch.js │ ├── get_set_attr.js │ ├── get_type_string.js │ ├── init.js │ ├── literal_map.js │ ├── literal_map_license.txt │ ├── load_pkg.js │ ├── make_proxy.js │ ├── operators.js │ ├── platform.js │ ├── promise.js │ ├── shortcuts.js │ ├── wait_for_dependencies.js │ └── wrap_result.js │ └── untar.hpp ├── mkdocs.yml ├── module └── pyjs │ ├── __init__.py │ ├── convert.py │ ├── convert_py_to_js.py │ ├── core.py │ ├── error_handling.py │ ├── extend_js_val.py │ ├── pyodide_polyfill.py │ ├── webloop.py │ ├── webloop_LICENSE │ └── webloop_README.md ├── pyjsConfig.cmake.in ├── src ├── convert.cpp ├── export_js_module.cpp ├── export_js_proxy.cpp ├── export_py_object.cpp ├── export_pyjs_module.cpp ├── inflate.cpp ├── install_conda_file.cpp ├── js_timestamp.cpp ├── runtime.cpp └── untar.cpp ├── stubs └── pyjs_core │ ├── __init__.py │ └── __init__.pyi └── tests ├── __init__.py ├── atests ├── __init__.py └── async_tests.py ├── js_tests ├── __init__.py └── test_main.js ├── main.py ├── test.js.in ├── test_utils.py └── tests ├── __init__.py ├── conftest.py ├── test_conversion.py └── test_pyjs.py /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.clang-format -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.isort.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.isort.cfg -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/README.md -------------------------------------------------------------------------------- /docs/JavaScript_API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/JavaScript_API.md -------------------------------------------------------------------------------- /docs/Python_API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/Python_API.md -------------------------------------------------------------------------------- /docs/design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/design.md -------------------------------------------------------------------------------- /docs/embed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/embed.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/try_from_js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/try_from_js.md -------------------------------------------------------------------------------- /docs/try_from_py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/docs/try_from_py.md -------------------------------------------------------------------------------- /environment-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/environment-dev.yml -------------------------------------------------------------------------------- /examples/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/examples/README.rst -------------------------------------------------------------------------------- /examples/js_api_tour.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/examples/js_api_tour.js -------------------------------------------------------------------------------- /examples/py_api_tour.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/examples/py_api_tour.py -------------------------------------------------------------------------------- /include/pyjs/convert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/convert.hpp -------------------------------------------------------------------------------- /include/pyjs/export_js_module.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/export_js_module.hpp -------------------------------------------------------------------------------- /include/pyjs/export_js_proxy.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/export_js_proxy.hpp -------------------------------------------------------------------------------- /include/pyjs/export_py_object.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace pyjs 4 | { 5 | void export_py_object(); 6 | } 7 | -------------------------------------------------------------------------------- /include/pyjs/export_pyjs_module.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/export_pyjs_module.hpp -------------------------------------------------------------------------------- /include/pyjs/inflate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/inflate.hpp -------------------------------------------------------------------------------- /include/pyjs/install_conda_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/install_conda_file.hpp -------------------------------------------------------------------------------- /include/pyjs/post_js/fixes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/post_js/fixes.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/apply.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/apply.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/cleanup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/cleanup.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/constants.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/create_once_callable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/create_once_callable.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/dynload/LICENCE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /include/pyjs/pre_js/dynload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/dynload/README.md -------------------------------------------------------------------------------- /include/pyjs/pre_js/dynload/dynload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/dynload/dynload.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/fetch.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/get_set_attr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/get_set_attr.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/get_type_string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/get_type_string.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/init.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/literal_map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/literal_map.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/literal_map_license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/literal_map_license.txt -------------------------------------------------------------------------------- /include/pyjs/pre_js/load_pkg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/load_pkg.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/make_proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/make_proxy.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/operators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/operators.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/platform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/platform.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/promise.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/promise.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/shortcuts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/shortcuts.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/wait_for_dependencies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/wait_for_dependencies.js -------------------------------------------------------------------------------- /include/pyjs/pre_js/wrap_result.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/pre_js/wrap_result.js -------------------------------------------------------------------------------- /include/pyjs/untar.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/include/pyjs/untar.hpp -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /module/pyjs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/__init__.py -------------------------------------------------------------------------------- /module/pyjs/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/convert.py -------------------------------------------------------------------------------- /module/pyjs/convert_py_to_js.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/convert_py_to_js.py -------------------------------------------------------------------------------- /module/pyjs/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/core.py -------------------------------------------------------------------------------- /module/pyjs/error_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/error_handling.py -------------------------------------------------------------------------------- /module/pyjs/extend_js_val.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/extend_js_val.py -------------------------------------------------------------------------------- /module/pyjs/pyodide_polyfill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/pyodide_polyfill.py -------------------------------------------------------------------------------- /module/pyjs/webloop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/webloop.py -------------------------------------------------------------------------------- /module/pyjs/webloop_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/webloop_LICENSE -------------------------------------------------------------------------------- /module/pyjs/webloop_README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/module/pyjs/webloop_README.md -------------------------------------------------------------------------------- /pyjsConfig.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/pyjsConfig.cmake.in -------------------------------------------------------------------------------- /src/convert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/convert.cpp -------------------------------------------------------------------------------- /src/export_js_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/export_js_module.cpp -------------------------------------------------------------------------------- /src/export_js_proxy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/export_js_proxy.cpp -------------------------------------------------------------------------------- /src/export_py_object.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/export_py_object.cpp -------------------------------------------------------------------------------- /src/export_pyjs_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/export_pyjs_module.cpp -------------------------------------------------------------------------------- /src/inflate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/inflate.cpp -------------------------------------------------------------------------------- /src/install_conda_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/install_conda_file.cpp -------------------------------------------------------------------------------- /src/js_timestamp.cpp: -------------------------------------------------------------------------------- 1 | #define PYJS_JS_UTC_TIMESTAMP "2025-10-07 09:33:27.627626" -------------------------------------------------------------------------------- /src/runtime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/runtime.cpp -------------------------------------------------------------------------------- /src/untar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/src/untar.cpp -------------------------------------------------------------------------------- /stubs/pyjs_core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/stubs/pyjs_core/__init__.py -------------------------------------------------------------------------------- /stubs/pyjs_core/__init__.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/stubs/pyjs_core/__init__.pyi -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/atests/__init__.py: -------------------------------------------------------------------------------- 1 | from .async_tests import * 2 | -------------------------------------------------------------------------------- /tests/atests/async_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/atests/async_tests.py -------------------------------------------------------------------------------- /tests/js_tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/js_tests/__init__.py -------------------------------------------------------------------------------- /tests/js_tests/test_main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/js_tests/test_main.js -------------------------------------------------------------------------------- /tests/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/main.py -------------------------------------------------------------------------------- /tests/test.js.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/test.js.in -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/tests/conftest.py: -------------------------------------------------------------------------------- 1 | from ..test_utils import * 2 | -------------------------------------------------------------------------------- /tests/tests/test_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/tests/test_conversion.py -------------------------------------------------------------------------------- /tests/tests/test_pyjs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emscripten-forge/pyjs/HEAD/tests/tests/test_pyjs.py --------------------------------------------------------------------------------