python-beam 0.1.0a1__cp314-cp314-macosx_27_0_arm64.whl
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.
- _erlang_impl/README.md +33 -0
- _erlang_impl/__init__.py +558 -0
- _erlang_impl/_actor_common.py +38 -0
- _erlang_impl/_actor_data.py +462 -0
- _erlang_impl/_actors.py +101 -0
- _erlang_impl/_actors.pyi +59 -0
- _erlang_impl/_byte_channel.py +105 -0
- _erlang_impl/_channel.py +440 -0
- _erlang_impl/_etf.py +23 -0
- _erlang_impl/_fd.py +61 -0
- _erlang_impl/_isolated.py +5 -0
- _erlang_impl/_lifecycle.py +136 -0
- _erlang_impl/_loop.py +1683 -0
- _erlang_impl/_mode.py +158 -0
- _erlang_impl/_policy.py +148 -0
- _erlang_impl/_reactor.py +288 -0
- _erlang_impl/_sandbox.py +86 -0
- _erlang_impl/_server.py +5 -0
- _erlang_impl/_shm.py +12 -0
- _erlang_impl/_subprocess.py +77 -0
- _erlang_impl/_supervision.py +171 -0
- _erlang_impl/_tasks.py +322 -0
- _erlang_impl/_tasks.pyi +45 -0
- _erlang_impl/_transport.py +638 -0
- _erlang_isolated/__init__.py +1 -0
- _erlang_isolated/_etf.py +489 -0
- _erlang_isolated/_isolated.py +835 -0
- _erlang_isolated/_server.py +82 -0
- _erlang_isolated/_shm.py +380 -0
- erlang-stubs/__init__.pyi +37 -0
- erlang-stubs/actors.pyi +79 -0
- erlang-stubs/channel.pyi +26 -0
- erlang-stubs/supervision.pyi +53 -0
- erlang-stubs/tasks.pyi +40 -0
- erlang_services.py +140 -0
- py_isolated_child.py +222 -0
- pybeam/__init__.py +10 -0
- pybeam/_shared/__init__.py +0 -0
- pybeam/_shared/lifecycle.py +13 -0
- pybeam/actors/__init__.py +15 -0
- pybeam/actors/classes.py +421 -0
- pybeam/actors/codec.py +185 -0
- pybeam/actors/groups.py +378 -0
- pybeam/actors/native.py +50 -0
- pybeam/actors/protocol.py +60 -0
- pybeam/actors/state.py +194 -0
- pybeam/codec.py +608 -0
- pybeam/distribution.py +158 -0
- pybeam/integrations/__init__.py +0 -0
- pybeam/integrations/fastapi/__init__.py +0 -0
- pybeam/integrations/fastapi/dependencies.py +30 -0
- pybeam/integrations/genstage/__init__.py +0 -0
- pybeam/integrations/genstage/pipeline.py +84 -0
- pybeam/integrations/hornbeam/__init__.py +5 -0
- pybeam/integrations/hornbeam/client.py +90 -0
- pybeam/integrations/hornbeam/contracts.py +37 -0
- pybeam/integrations/hornbeam/dependencies.py +32 -0
- pybeam/integrations/hornbeam/errors.py +6 -0
- pybeam/integrations/hornbeam/runtime.py +23 -0
- pybeam/integrations/litestar/__init__.py +0 -0
- pybeam/integrations/litestar/channels.py +262 -0
- pybeam/integrations/litestar/store.py +57 -0
- pybeam/integrations/litestar/tasks.py +24 -0
- pybeam/integrations/pyview/__init__.py +0 -0
- pybeam/integrations/pyview/dependencies.py +31 -0
- pybeam/integrations/pyview/subscriptions.py +103 -0
- pybeam/mailbox.py +46 -0
- pybeam/py.typed +0 -0
- pybeam/queues.py +294 -0
- pybeam/runtime/__init__.py +0 -0
- pybeam/runtime/_assets/bin/erl +59 -0
- pybeam/runtime/_assets/bin/start.boot +0 -0
- pybeam/runtime/_assets/bin/start_clean.boot +0 -0
- pybeam/runtime/_assets/erts-17.1.1/bin/beam.smp +0 -0
- pybeam/runtime/_assets/erts-17.1.1/bin/epmd +0 -0
- pybeam/runtime/_assets/erts-17.1.1/bin/erl_child_setup +0 -0
- pybeam/runtime/_assets/erts-17.1.1/bin/erlexec +0 -0
- pybeam/runtime/_assets/erts-17.1.1/bin/inet_gethost +0 -0
- pybeam/runtime/_assets/lib/crypto-5.10/ebin/crypto.app +32 -0
- pybeam/runtime/_assets/lib/crypto-5.10/ebin/crypto.appup +25 -0
- pybeam/runtime/_assets/lib/crypto-5.10/ebin/crypto.beam +0 -0
- pybeam/runtime/_assets/lib/crypto-5.10/ebin/crypto_ec_curves.beam +0 -0
- pybeam/runtime/_assets/lib/crypto-5.10/priv/lib/crypto.so +0 -0
- pybeam/runtime/_assets/lib/crypto-5.10/priv/lib/otp_test_engine.so +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/erlang_python.app +28 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/erlang_python_app.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/erlang_python_sup.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_actor_group.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_actor_registry.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_actor_state.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_actor_state_owner.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_application.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_buffer.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_byte_channel.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_callback.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_channel.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_context.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_context_embedded.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_context_init.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_context_router.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_context_sup.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_data_actor.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_distribution.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_durable_queue.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_durable_queue_sync.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_durable_task_pool.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_durable_task_worker.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_durable_tasks.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_event_loop.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_event_loop_pool.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_event_worker.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_event_worker_registry.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_event_worker_sup.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_import.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_isolated.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_launch.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_logger.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_mnesia.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_nif.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_object_actor.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_preload.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_reactor_context.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_semaphore.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_shared_dict.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_shm.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_state.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_stream.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_supervision.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_task.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_task_group.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_thread_handler.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_tracer.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_util.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_venv.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/ebin/py_worker_pool.beam +0 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/README.md +33 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/__init__.py +558 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_actor_common.py +38 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_actor_data.py +462 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_actors.py +101 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_actors.pyi +59 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_byte_channel.py +105 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_channel.py +440 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_etf.py +23 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_fd.py +61 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_isolated.py +5 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_lifecycle.py +136 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_loop.py +1683 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_mode.py +158 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_policy.py +148 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_reactor.py +288 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_sandbox.py +86 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_server.py +5 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_shm.py +12 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_subprocess.py +77 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_supervision.py +171 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_tasks.py +322 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_tasks.pyi +45 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_impl/_transport.py +638 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_isolated/__init__.py +1 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_isolated/_etf.py +489 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_isolated/_isolated.py +835 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_isolated/_server.py +82 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/_erlang_isolated/_shm.py +380 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang-stubs/__init__.pyi +37 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang-stubs/actors.pyi +79 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang-stubs/channel.pyi +26 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang-stubs/supervision.pyi +53 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang-stubs/tasks.pyi +40 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/erlang_services.py +140 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/py_isolated_child.py +222 -0
- pybeam/runtime/_assets/lib/erlang_python-5.0.1/priv/py_nif.so +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/application.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/application_controller.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/application_master.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/application_starter.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/auth.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/code.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/code_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/data_publisher.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/disk_log.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/disk_log_1.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/disk_log_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/disk_log_sup.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/dist_ac.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/dist_util.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_boot_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_compile_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_ddll.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_debugger.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_distribution.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_epmd.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_erts_errors.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_kernel_errors.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_reply.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erl_signal_handler.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erpc.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/error_handler.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/error_logger.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/erts_debug.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/file.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/file_io_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/file_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/gen_sctp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/gen_tcp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/gen_tcp_socket.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/gen_udp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/gen_udp_socket.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/global.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/global_group.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/global_search.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/group.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/group_history.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/heart.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet6_sctp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet6_tcp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet6_tcp_dist.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet6_udp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_config.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_db.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_dns.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_dns_tsig.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_epmd_dist.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_epmd_socket.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_gethost_native.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_hosts.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_parse.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_res.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_sctp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_tcp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_tcp_dist.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/inet_udp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/kernel.app +175 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/kernel.appup +104 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/kernel.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/kernel_config.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/kernel_refc.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/local_tcp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/local_udp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_backend.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_config.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_disk_log_h.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_filters.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_formatter.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_h_common.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_handler.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_handler_watcher.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_olp.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_proxy.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_server.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_simple_h.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_std_h.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/logger_sup.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/net.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/net_adm.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/net_kernel.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/os.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/pg.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/pg2.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/prim_tty.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/prim_tty_sighandler.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/ram_file.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io_compressed.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io_deflate.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io_delayed.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io_inflate.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/raw_file_io_list.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/rpc.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/seq_trace.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/socket.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/standard_error.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/trace.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/user_drv.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/user_sup.beam +0 -0
- pybeam/runtime/_assets/lib/kernel-11.0.4/ebin/wrap_log_reader.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia.app +61 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia.appup +18 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_app.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_backend_type.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_backup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_bup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_checkpoint.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_checkpoint_sup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_controller.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_dumper.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_event.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_ext_sup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_frag.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_frag_hash.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_index.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_kernel_sup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_late_loader.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_lib.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_loader.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_locker.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_log.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_monitor.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_recover.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_registry.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_rpc.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_schema.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_snmp_hook.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_sp.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_subscr.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_sup.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_text.beam +0 -0
- pybeam/runtime/_assets/lib/mnesia-4.27.1/ebin/mnesia_tm.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/argparse.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/array.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/base64.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/beam_lib.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/binary.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/c.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/calendar.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dets.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dets_server.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dets_sup.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dets_utils.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dets_v9.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/dict.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/digraph.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/digraph_utils.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/edlin.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/edlin_context.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/edlin_expand.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/edlin_key.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/edlin_type_suggestion.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/epp.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_abstract_code.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_anno.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_bits.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_compile.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_error.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_eval.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_expand_records.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_features.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_internal.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_lint.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_parse.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_posix_msg.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_pp.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_scan.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_stdlib_errors.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/erl_tar.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/error_logger_file_h.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/error_logger_tty_h.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/escript.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/ets.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/eval_bits.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/file_sorter.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/filelib.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/filename.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gb_sets.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gb_trees.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gen.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gen_event.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gen_fsm.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gen_server.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/gen_statem.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/graph.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io_ansi.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io_lib.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io_lib_format.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io_lib_fread.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/io_lib_pretty.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/json.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/lists.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/log_mf_h.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/man_docs.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/maps.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/math.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/ms_transform.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/orddict.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/ordsets.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/otp_internal.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/peer.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/pool.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/proc_lib.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/proplists.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/qlc.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/qlc_pt.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/queue.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/rand.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/random.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/re.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/records.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/sets.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/shell.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/shell_default.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/shell_docs.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/shell_docs_markdown.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/slave.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/sofs.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/stdlib.app +130 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/stdlib.appup +94 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/string.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/supervisor.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/supervisor_bridge.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/sys.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/timer.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/unicode.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/unicode_util.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/uri_string.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/win32reg.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/zip.beam +0 -0
- pybeam/runtime/_assets/lib/stdlib-8.1.1/ebin/zstd.beam +0 -0
- pybeam/runtime/_assets/notices/OTP-LICENSE.txt +178 -0
- pybeam/runtime/_assets/notices/erlang-python-LICENSE +190 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_a.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_asm.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_block.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_bounds.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_call_types.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_clean.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_core_to_ssa.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_dict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_disasm.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_doc.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_flatten.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_jump.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_listing.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_opcodes.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_alias.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_bc_size.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_bool.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_bsm.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_check.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_codegen.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_dead.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_destructive_update.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_lint.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_opt.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_pp.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_pre_codegen.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_recv.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_share.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_ss.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_throw.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_ssa_type.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_trim.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_types.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_utils.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_validator.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/beam_z.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/cerl.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/cerl_clauses.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/cerl_inline.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/cerl_trees.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/compile.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/compiler.app +90 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/core_lib.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/core_lint.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/core_parse.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/core_pp.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/core_scan.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/erl_bifs.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/rec_env.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_alias.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_bsm.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_fold.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_fold_lists.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_inline.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_core_prepare.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_coverage.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_messages.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/sys_pre_attributes.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/compiler-10.0.7/ebin/v3_core.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Access.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Agent.Server.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Agent.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Application.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.ArgumentError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.ArithmeticError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Atom.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.BadArityError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.BadBooleanError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.BadFunctionError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.BadMapError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Base.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Behaviour.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Bitwise.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Calendar.ISO.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Calendar.TimeZoneDatabase.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Calendar.UTCOnlyTimeZoneDatabase.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Calendar.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.CaseClauseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.Formatter.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.Fragment.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.Identifier.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.LoadError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.Normalizer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.Typespec.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Code.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.BitString.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.File.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.HashDict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.HashSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.IO.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.Map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.MapSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Collectable.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.CompileError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.CondClauseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Config.Provider.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Config.Reader.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Config.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Date.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Date.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.DateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Dict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Duration.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.DynamicSupervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enum.EmptyError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enum.OutOfBoundsError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enum.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.Date.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.File.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.Function.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.GenEvent.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.HashDict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.HashSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.IO.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.Map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.MapSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Enumerable.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.ErlangError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Exception.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.CopyError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.Error.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.LinkError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.RenameError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.Stat.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.File.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Float.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Function.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.FunctionClauseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.GenEvent.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.GenEvent.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.GenServer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.HashDict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.HashSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.IO.ANSI.Docs.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.IO.ANSI.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.IO.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.IO.StreamError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.IO.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Algebra.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Any.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Atom.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.BitString.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Date.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Date.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.DateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Duration.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Error.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Float.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Function.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.HashDict.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.HashSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Inspect.Error.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Integer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Macro.Env.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.MapSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.NaiveDateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Opts.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.PID.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Port.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Reference.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Regex.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Time.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Tuple.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.URI.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Version.Requirement.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.Version.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Inspect.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Integer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.DecodeError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Atom.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.BitString.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Date.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.DateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Duration.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Float.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Integer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.NaiveDateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.Time.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.Encoder.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.JSON.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.CLI.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.ErrorHandler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.LexicalTracker.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.ParallelCompiler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.ParallelRequire.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.SpecialForms.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.Typespec.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.TypespecError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.Utils.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Kernel.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.KeyError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Keyword.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.Atom.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.BitString.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.Float.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.Integer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.Chars.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Macro.Env.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Macro.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.MapSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.MatchError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.MismatchedDelimiterError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.MissingApplicationsError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Behaviour.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.ParallelChecker.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Apply.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Descr.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Expr.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Helpers.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Of.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Pattern.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.Traverse.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.Types.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Module.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.NaiveDateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Node.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.OptionParser.ParseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.OptionParser.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.PartitionSupervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Path.Wildcard.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Path.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Port.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Process.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Protocol.UndefinedError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Protocol.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Range.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Record.Extractor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Record.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Regex.CompileError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Regex.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Registry.Partition.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Registry.Supervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Registry.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.RuntimeError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Set.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Stream.Reducers.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Break.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Atom.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.BitString.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Date.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.DateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Float.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Integer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.List.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.NaiveDateTime.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Time.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.URI.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Version.Requirement.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.Version.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Chars.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Tokenizer.ScriptSet.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Tokenizer.Security.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Tokenizer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.Unicode.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.String.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.StringIO.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Supervisor.Default.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Supervisor.Spec.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Supervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.SyntaxError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.System.EnvError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.System.SignalHandler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.System.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.SystemLimitError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Task.Supervised.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Task.Supervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Task.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Time.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.TokenMissingError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.TryClauseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Tuple.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.URI.Error.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.URI.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.UndefinedFunctionError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.UnicodeConversionError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Version.InvalidRequirementError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Version.InvalidVersionError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Version.Parser.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Version.Requirement.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.Version.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/Elixir.WithClauseError.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir.app +137 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_aliases.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_bitstring.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_bootstrap.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_clauses.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_code_server.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_compiler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_config.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_def.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_dispatch.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_env.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_clauses.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_compiler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_for.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_pass.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_try.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_erl_var.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_errors.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_expand.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_fn.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_import.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_interpolation.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_lexical.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_map.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_module.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_overridable.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_parser.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_quote.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_rewrite.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_sup.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_tokenizer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/elixir_utils.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/elixir-1.20.0/ebin/iex.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.ConsumerSupervisor.Default.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.ConsumerSupervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.BroadcastDispatcher.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.Buffer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.DemandDispatcher.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.Dispatcher.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.PartitionDispatcher.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.Stream.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.Streamer.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.Utils.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/Elixir.GenStage.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/gen_stage-1.3.2/ebin/gen_stage.app +1 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.App.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Config.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Console.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Handler.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Internal.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Supervisor.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Backends.Watcher.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Formatter.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Translator.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.Utils.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/Elixir.Logger.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/logger-1.20.0/ebin/logger.app +1 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/Elixir.PyBEAM.GenStage.Bridge.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/Elixir.PyBEAM.GenStage.Drain.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/Elixir.PyBEAM.GenStage.Source.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/Elixir.PyBEAM.GenStage.Stage.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/pybeam_genstage.app +10 -0
- pybeam/runtime/_assets/optional/genstage/lib/pybeam_genstage-0.1.0/ebin/pybeam_genstage.beam +0 -0
- pybeam/runtime/_assets/optional/genstage/manifest.json +2978 -0
- pybeam/runtime/_assets/optional/genstage/notices/Elixir-LICENSE +176 -0
- pybeam/runtime/_assets/optional/genstage/notices/Elixir-LICENSES/Apache-2.0.txt +73 -0
- pybeam/runtime/_assets/optional/genstage/notices/Elixir-LICENSES/LicenseRef-elixir-trademark-policy.txt +98 -0
- pybeam/runtime/_assets/optional/genstage/notices/Elixir-LICENSES/LicenseRef-scancode-unicode.txt +58 -0
- pybeam/runtime/_assets/optional/genstage/notices/GenStage-NOTICE.md +42 -0
- pybeam/runtime/_assets/optional/genstage/notices/OTP-LICENSE.txt +178 -0
- pybeam/runtime/_assets/releases/0.1.0/pybeam.rel +1 -0
- pybeam/runtime/_assets/releases/0.1.0/start.boot +0 -0
- pybeam/runtime/_assets/releases/29/OTP_VERSION +1 -0
- pybeam/runtime/_assets/releases/pybeam.rel +1 -0
- pybeam/runtime/_assets/runtime.json +21 -0
- pybeam/runtime/assets.py +242 -0
- pybeam/runtime/attach.py +216 -0
- pybeam/runtime/cli.py +112 -0
- pybeam/runtime/cluster.py +462 -0
- pybeam/runtime/config.py +164 -0
- pybeam/runtime/console.py +24 -0
- pybeam/runtime/debug.py +45 -0
- pybeam/runtime/entrypoint.py +35 -0
- pybeam/runtime/guardian.py +531 -0
- pybeam/runtime/inspector.py +102 -0
- pybeam/runtime/loader.py +224 -0
- pybeam/runtime/optional.py +48 -0
- pybeam/runtime/optional_manifest.py +163 -0
- pybeam/runtime/optional_specs/genstage.json +2978 -0
- pybeam/runtime/ownership.py +237 -0
- pybeam/runtime/process.py +262 -0
- pybeam/runtime/startup.py +138 -0
- pybeam/runtime/tui.py +247 -0
- pybeam/services/__init__.py +0 -0
- pybeam/services/background.py +7 -0
- pybeam/submissions.py +10 -0
- pybeam/supervision/__init__.py +0 -0
- pybeam/supervision/config.py +75 -0
- pybeam/supervision/errors.py +2 -0
- pybeam/supervision/ref.py +118 -0
- pybeam/tasks.py +505 -0
- python_beam-0.1.0a1.dist-info/METADATA +45 -0
- python_beam-0.1.0a1.dist-info/RECORD +818 -0
- python_beam-0.1.0a1.dist-info/WHEEL +4 -0
- python_beam-0.1.0a1.dist-info/entry_points.txt +2 -0
_erlang_impl/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# _erlang_impl
|
|
2
|
+
|
|
3
|
+
The Python half of the `erlang` module. `priv/` is on `sys.path` of every
|
|
4
|
+
interpreter erlang_python starts. In embedded modes the C module `erlang`
|
|
5
|
+
(`c_src/py_callback.c`) is the primary and delegates to this package for the
|
|
6
|
+
asyncio loop, channels, servers and helpers; in an isolated child there is
|
|
7
|
+
no C module and `_erlang_isolated/_isolated.py` builds the whole `erlang`
|
|
8
|
+
module without importing this package. The bootstrap-safe runtime, ETF
|
|
9
|
+
codec, shared memory wrappers and fd server helpers live in
|
|
10
|
+
`_erlang_isolated`; the original paths here statically re-export them.
|
|
11
|
+
|
|
12
|
+
| Module | What it is | Embedded | Child |
|
|
13
|
+
|---|---|---|---|
|
|
14
|
+
| `__init__.py` | Public surface: `run`, `sleep`, `spawn_task`, `new_event_loop`, `install`, `atom`, `channel`, `byte_channel`, `server`, `reactor` | yes | partly (the child shim re-exports `server` and reimplements the rest on the stdlib loop) |
|
|
15
|
+
| `_loop.py` | `ErlangEventLoop`: asyncio loop whose readiness comes from `enif_select` and timers from `erlang:send_after`, through the `py_event_loop` C module | yes | no |
|
|
16
|
+
| `_policy.py`, `_transport.py` | Loop policy and transports for the loop above | yes | no |
|
|
17
|
+
| `_reactor.py` | Protocol-based reactor on fds Erlang owns | yes | no |
|
|
18
|
+
| `_channel.py`, `_byte_channel.py` | `Channel`, `ByteChannel` over NIF resources | yes | no |
|
|
19
|
+
| `_server.py` | `serve(listen_fd, factory)`, `adopt(fd, factory)`, `stop_serving`: plain asyncio on an fd handed over by Erlang | yes | yes |
|
|
20
|
+
| `_sandbox.py`, `_subprocess.py` | Audit hook that blocks fork/exec inside the VM | yes | no |
|
|
21
|
+
| `_mode.py` | Detects the execution mode | yes | yes |
|
|
22
|
+
| `_etf.py` | ETF codec with the `py_convert.c` type mapping; opaque `Pid`, `Ref`, `Port` keep their raw bytes | no | yes |
|
|
23
|
+
| `_isolated.py` | Child runtime: frame parser, reader thread, re-entrant main loop, interrupt signal, execution stack, asyncio loop, `SharedMemory` conversion, the `erlang` shim | no | yes |
|
|
24
|
+
| `_shm.py` | `SharedMemory` and `SharedBuffer` over `mmap`; `from_term` cache; buffer flow control through Erlang callbacks | yes | yes |
|
|
25
|
+
| `_tasks.py` | Worker factories and named async byte tasks in `owngil` or `isolated` mode; token-local cancellation and terminal result envelopes | yes | yes (named tasks only) |
|
|
26
|
+
|
|
27
|
+
Conventions: modules starting with `_` are internal; user code imports
|
|
28
|
+
`erlang`. Anything a mode cannot support raises `RuntimeError` with the
|
|
29
|
+
mode in the message rather than degrading silently (`_isolated.py`,
|
|
30
|
+
`_subprocess.py`).
|
|
31
|
+
|
|
32
|
+
Tests for the loop live in `priv/test_erlang_loop.py` and `priv/tests/`;
|
|
33
|
+
the Erlang suites drive everything else.
|
_erlang_impl/__init__.py
ADDED
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
# Copyright 2026 Benoit Chesneau
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""
|
|
16
|
+
Erlang-backed asyncio event loop - uvloop-compatible API.
|
|
17
|
+
|
|
18
|
+
This module provides a drop-in replacement for uvloop, using Erlang's
|
|
19
|
+
BEAM VM scheduler for I/O multiplexing via enif_select.
|
|
20
|
+
|
|
21
|
+
Usage patterns (matching uvloop exactly):
|
|
22
|
+
|
|
23
|
+
# Pattern 1: Recommended (Python 3.11+)
|
|
24
|
+
import erlang
|
|
25
|
+
erlang.run(main())
|
|
26
|
+
|
|
27
|
+
# Pattern 2: With asyncio.Runner (Python 3.11+)
|
|
28
|
+
import asyncio
|
|
29
|
+
import erlang
|
|
30
|
+
with asyncio.Runner(loop_factory=erlang.new_event_loop) as runner:
|
|
31
|
+
runner.run(main())
|
|
32
|
+
|
|
33
|
+
# Pattern 3: Legacy (deprecated in 3.12+)
|
|
34
|
+
import asyncio
|
|
35
|
+
import erlang
|
|
36
|
+
erlang.install()
|
|
37
|
+
asyncio.run(main())
|
|
38
|
+
|
|
39
|
+
# Pattern 4: Manual
|
|
40
|
+
import asyncio
|
|
41
|
+
import erlang
|
|
42
|
+
loop = erlang.new_event_loop()
|
|
43
|
+
asyncio.set_event_loop(loop)
|
|
44
|
+
loop.run_until_complete(main())
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
import os
|
|
48
|
+
import sys
|
|
49
|
+
import asyncio
|
|
50
|
+
import time
|
|
51
|
+
import warnings
|
|
52
|
+
|
|
53
|
+
# Install sandbox when running inside Erlang VM
|
|
54
|
+
# This must happen before any other imports to block subprocess/fork
|
|
55
|
+
try:
|
|
56
|
+
import py_event_loop # Only available when running in Erlang NIF
|
|
57
|
+
from ._sandbox import install_sandbox
|
|
58
|
+
install_sandbox()
|
|
59
|
+
except ImportError:
|
|
60
|
+
pass # Not running inside Erlang VM
|
|
61
|
+
|
|
62
|
+
from ._loop import ErlangEventLoop
|
|
63
|
+
from ._policy import ErlangEventLoopPolicy
|
|
64
|
+
from ._mode import detect_mode, ExecutionMode
|
|
65
|
+
from . import _reactor as reactor
|
|
66
|
+
from . import _channel as channel
|
|
67
|
+
from . import _byte_channel as byte_channel
|
|
68
|
+
from . import _server as server
|
|
69
|
+
from _erlang_impl import _supervision as supervision
|
|
70
|
+
from . import _actors as actors
|
|
71
|
+
from _erlang_impl import _tasks as tasks
|
|
72
|
+
from ._channel import Channel, reply, ChannelClosed
|
|
73
|
+
from ._byte_channel import ByteChannel, ByteChannelClosed
|
|
74
|
+
|
|
75
|
+
__all__ = [
|
|
76
|
+
'run',
|
|
77
|
+
'sleep',
|
|
78
|
+
'spawn_task',
|
|
79
|
+
'new_event_loop',
|
|
80
|
+
'get_event_loop_policy',
|
|
81
|
+
'install',
|
|
82
|
+
'EventLoopPolicy',
|
|
83
|
+
'ErlangEventLoopPolicy',
|
|
84
|
+
'ErlangEventLoop',
|
|
85
|
+
'detect_mode',
|
|
86
|
+
'ExecutionMode',
|
|
87
|
+
'reactor',
|
|
88
|
+
'channel',
|
|
89
|
+
'Channel',
|
|
90
|
+
'reply',
|
|
91
|
+
'ChannelClosed',
|
|
92
|
+
'byte_channel',
|
|
93
|
+
'ByteChannel',
|
|
94
|
+
'ByteChannelClosed',
|
|
95
|
+
'server',
|
|
96
|
+
'supervision',
|
|
97
|
+
'actors',
|
|
98
|
+
'atom',
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
# Atom caching with configurable limit to prevent BEAM atom table exhaustion.
|
|
102
|
+
# The BEAM VM has a hard limit (~1M atoms) and crashes when exceeded.
|
|
103
|
+
# This provides a Python-level safety valve well under that limit.
|
|
104
|
+
_MAX_USER_ATOMS = int(os.environ.get('ERLANG_PYTHON_MAX_ATOMS', '10000'))
|
|
105
|
+
_atom_cache = {}
|
|
106
|
+
|
|
107
|
+
# Re-export for uvloop API compatibility
|
|
108
|
+
EventLoopPolicy = ErlangEventLoopPolicy
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def atom(name):
|
|
112
|
+
"""Create an Erlang atom with safety limit.
|
|
113
|
+
|
|
114
|
+
Atoms in Erlang are permanent and the BEAM VM has a hard limit
|
|
115
|
+
(~1M atoms). This function provides a Python-level cache with
|
|
116
|
+
a configurable limit to prevent atom table exhaustion from
|
|
117
|
+
untrusted Python code.
|
|
118
|
+
|
|
119
|
+
Args:
|
|
120
|
+
name: The atom name as a string.
|
|
121
|
+
|
|
122
|
+
Returns:
|
|
123
|
+
An ErlangAtom object that converts to an Erlang atom.
|
|
124
|
+
|
|
125
|
+
Raises:
|
|
126
|
+
RuntimeError: If the atom limit is reached.
|
|
127
|
+
|
|
128
|
+
The limit can be configured via the ERLANG_PYTHON_MAX_ATOMS
|
|
129
|
+
environment variable (default: 10000).
|
|
130
|
+
|
|
131
|
+
Example:
|
|
132
|
+
>>> import erlang
|
|
133
|
+
>>> ok = erlang.atom('ok')
|
|
134
|
+
>>> error = erlang.atom('error')
|
|
135
|
+
"""
|
|
136
|
+
if name in _atom_cache:
|
|
137
|
+
return _atom_cache[name]
|
|
138
|
+
|
|
139
|
+
if len(_atom_cache) >= _MAX_USER_ATOMS:
|
|
140
|
+
raise RuntimeError(
|
|
141
|
+
f"Atom limit ({_MAX_USER_ATOMS}) reached. "
|
|
142
|
+
"Set ERLANG_PYTHON_MAX_ATOMS env var to increase."
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
# Import erlang module to access internal _atom function
|
|
146
|
+
import erlang as _erlang
|
|
147
|
+
result = _erlang._atom(name)
|
|
148
|
+
_atom_cache[name] = result
|
|
149
|
+
return result
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
def get_event_loop_policy() -> ErlangEventLoopPolicy:
|
|
153
|
+
"""Get an Erlang event loop policy instance.
|
|
154
|
+
|
|
155
|
+
Returns a policy that uses ErlangEventLoop for event loops.
|
|
156
|
+
This is used by Erlang code to set the default asyncio policy.
|
|
157
|
+
|
|
158
|
+
Returns:
|
|
159
|
+
ErlangEventLoopPolicy: A new policy instance.
|
|
160
|
+
"""
|
|
161
|
+
return ErlangEventLoopPolicy()
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def new_event_loop() -> ErlangEventLoop:
|
|
165
|
+
"""Create a new Erlang-backed event loop.
|
|
166
|
+
|
|
167
|
+
Returns:
|
|
168
|
+
ErlangEventLoop: A new event loop instance backed by Erlang's
|
|
169
|
+
scheduler via enif_select. Each loop has its own isolated
|
|
170
|
+
capsule for proper timer and FD event routing.
|
|
171
|
+
"""
|
|
172
|
+
return ErlangEventLoop()
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def _run_loop_forever(notify_pid: object | None = None, capsule: object | None = None) -> str:
|
|
176
|
+
"""Run an ErlangEventLoop on this thread until it is stopped.
|
|
177
|
+
|
|
178
|
+
Entry point of py_context:start_loop/1: the context thread stays here
|
|
179
|
+
while Erlang injects coroutines with py_context:submit/4 (or the fd
|
|
180
|
+
events fire). notify_pid receives {py_loop_started} once the loop is
|
|
181
|
+
running. Returns 'stopped' when _stop_loop() ran, propagates
|
|
182
|
+
KeyboardInterrupt when py_context:interrupt/1 was used.
|
|
183
|
+
"""
|
|
184
|
+
import py_event_loop
|
|
185
|
+
|
|
186
|
+
# submit_await may already have created the shared resource's driver on
|
|
187
|
+
# an Erlang scheduler thread. Thread-local asyncio policy state is not its
|
|
188
|
+
# identity. Resume that exact owner; never release a stopped wrapper here.
|
|
189
|
+
loop = py_event_loop._get_loop_ref(capsule)
|
|
190
|
+
if loop is None:
|
|
191
|
+
loop = ErlangEventLoop(capsule)
|
|
192
|
+
if not isinstance(loop, ErlangEventLoop) or loop.is_closed():
|
|
193
|
+
raise RuntimeError("Native resource has no usable ErlangEventLoop owner")
|
|
194
|
+
# Claim before publishing a startup callback or changing thread policy.
|
|
195
|
+
# A stopped wrapper is reusable, but its driver session is exclusive.
|
|
196
|
+
with loop._driver_session():
|
|
197
|
+
from _erlang_impl._lifecycle import begin_managed_shutdown, shutdown_managed_loop
|
|
198
|
+
|
|
199
|
+
started = False
|
|
200
|
+
|
|
201
|
+
def _started():
|
|
202
|
+
nonlocal started
|
|
203
|
+
started = True
|
|
204
|
+
if notify_pid is not None:
|
|
205
|
+
import erlang as _erlang
|
|
206
|
+
_erlang.send(notify_pid, (atom('py_loop_started'),))
|
|
207
|
+
|
|
208
|
+
startup = None
|
|
209
|
+
import erlang as _erlang
|
|
210
|
+
|
|
211
|
+
# pdb -p and sys.remote_exec run their script on this thread.
|
|
212
|
+
running_main = _erlang._set_running_main(True)
|
|
213
|
+
try:
|
|
214
|
+
asyncio.set_event_loop(loop)
|
|
215
|
+
startup = loop.call_soon(_started)
|
|
216
|
+
loop.run_forever()
|
|
217
|
+
finally:
|
|
218
|
+
if running_main:
|
|
219
|
+
_erlang._set_running_main(False)
|
|
220
|
+
if startup is not None:
|
|
221
|
+
startup.cancel()
|
|
222
|
+
try:
|
|
223
|
+
# A failed startup never ran this driver's acknowledgement.
|
|
224
|
+
# Leave its retained wrapper and callbacks intact for retry.
|
|
225
|
+
if started:
|
|
226
|
+
loop._managed_shutdown_requested = True
|
|
227
|
+
observer = begin_managed_shutdown(loop)
|
|
228
|
+
cleanup_failed = False
|
|
229
|
+
while True:
|
|
230
|
+
errors = loop.run_until_complete(shutdown_managed_loop(loop))
|
|
231
|
+
cleanup_failed = cleanup_failed or bool(errors)
|
|
232
|
+
if not observer.pending() and not loop._ready and not loop._asyncgens:
|
|
233
|
+
break
|
|
234
|
+
loop.close()
|
|
235
|
+
if cleanup_failed or observer.failed:
|
|
236
|
+
raise RuntimeError("Managed loop cleanup failed") from None
|
|
237
|
+
finally:
|
|
238
|
+
asyncio.set_event_loop(None)
|
|
239
|
+
return 'stopped'
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
async def _stop_loop():
|
|
243
|
+
"""Request managed shutdown without interrupting cleanup already in progress."""
|
|
244
|
+
loop = asyncio.get_running_loop()
|
|
245
|
+
if not isinstance(loop, ErlangEventLoop):
|
|
246
|
+
raise RuntimeError("Managed shutdown requires an ErlangEventLoop")
|
|
247
|
+
if not loop._managed_shutdown_requested:
|
|
248
|
+
from _erlang_impl._lifecycle import begin_managed_shutdown
|
|
249
|
+
|
|
250
|
+
begin_managed_shutdown(loop)
|
|
251
|
+
loop._managed_shutdown_requested = True
|
|
252
|
+
loop.stop()
|
|
253
|
+
return 'stopping'
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
def run(main, *, debug=None, **run_kwargs):
|
|
257
|
+
"""Run a coroutine using Erlang event loop.
|
|
258
|
+
|
|
259
|
+
The preferred way to run async code with Erlang backend.
|
|
260
|
+
Equivalent to uvloop.run().
|
|
261
|
+
|
|
262
|
+
Args:
|
|
263
|
+
main: The coroutine to run.
|
|
264
|
+
debug: Enable debug mode if True.
|
|
265
|
+
**run_kwargs: Additional arguments passed to asyncio.run() or Runner.
|
|
266
|
+
|
|
267
|
+
Returns:
|
|
268
|
+
The return value of the coroutine.
|
|
269
|
+
|
|
270
|
+
Example:
|
|
271
|
+
import erlang
|
|
272
|
+
|
|
273
|
+
async def main():
|
|
274
|
+
await asyncio.sleep(1)
|
|
275
|
+
return "done"
|
|
276
|
+
|
|
277
|
+
result = erlang.run(main())
|
|
278
|
+
"""
|
|
279
|
+
if sys.version_info >= (3, 12):
|
|
280
|
+
# Python 3.12+ supports loop_factory in asyncio.run()
|
|
281
|
+
return asyncio.run(
|
|
282
|
+
main,
|
|
283
|
+
loop_factory=new_event_loop,
|
|
284
|
+
debug=debug,
|
|
285
|
+
**run_kwargs
|
|
286
|
+
)
|
|
287
|
+
elif sys.version_info >= (3, 11):
|
|
288
|
+
# Python 3.11 has asyncio.Runner with loop_factory
|
|
289
|
+
with asyncio.Runner(loop_factory=new_event_loop, debug=debug) as runner:
|
|
290
|
+
return runner.run(main)
|
|
291
|
+
else:
|
|
292
|
+
# Python 3.10 and earlier: manual loop management
|
|
293
|
+
loop = new_event_loop()
|
|
294
|
+
if debug is not None:
|
|
295
|
+
loop.set_debug(debug)
|
|
296
|
+
try:
|
|
297
|
+
asyncio.set_event_loop(loop)
|
|
298
|
+
return loop.run_until_complete(main)
|
|
299
|
+
finally:
|
|
300
|
+
try:
|
|
301
|
+
_cancel_all_tasks(loop)
|
|
302
|
+
loop.run_until_complete(loop.shutdown_asyncgens())
|
|
303
|
+
if hasattr(loop, 'shutdown_default_executor'):
|
|
304
|
+
loop.run_until_complete(loop.shutdown_default_executor())
|
|
305
|
+
finally:
|
|
306
|
+
asyncio.set_event_loop(None)
|
|
307
|
+
loop.close()
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
def sleep(seconds):
|
|
311
|
+
"""Sleep for the given duration.
|
|
312
|
+
|
|
313
|
+
Works in both async and sync contexts:
|
|
314
|
+
- Async context: Returns an awaitable (use with await)
|
|
315
|
+
- Sync context: Blocks synchronously
|
|
316
|
+
|
|
317
|
+
**Behavior by context (v3.0 worker-pthread architecture)**:
|
|
318
|
+
|
|
319
|
+
The BEAM dirty scheduler is never held during the sleep — the
|
|
320
|
+
difference is which thread blocks.
|
|
321
|
+
|
|
322
|
+
- Async (``await erlang.sleep()``) uses ``asyncio.sleep()``, which
|
|
323
|
+
routes through Erlang's ``send_after`` timer. The coroutine
|
|
324
|
+
yields to the event loop; the worker pthread handles other tasks.
|
|
325
|
+
- Sync (``py:exec``, ``py:eval``, ``py:call``) calls
|
|
326
|
+
``erlang._call_blocking('_py_sleep', seconds)``: the Erlang
|
|
327
|
+
handler parks in a ``receive ... after`` while the context's
|
|
328
|
+
worker pthread waits on the thread worker pipe. The Python frame
|
|
329
|
+
is not suspended, so nothing is replayed around the sleep. The
|
|
330
|
+
BEAM dirty scheduler is not held: the NIF dispatch returned
|
|
331
|
+
immediately and the caller is waiting in an Erlang ``receive``
|
|
332
|
+
on the context process, so other Erlang processes and other
|
|
333
|
+
contexts run normally during the sleep.
|
|
334
|
+
|
|
335
|
+
Args:
|
|
336
|
+
seconds: Duration to sleep in seconds (float or int).
|
|
337
|
+
|
|
338
|
+
Returns:
|
|
339
|
+
In async context: A coroutine that should be awaited.
|
|
340
|
+
In sync context: None (blocks until sleep completes).
|
|
341
|
+
|
|
342
|
+
Example:
|
|
343
|
+
# Async context
|
|
344
|
+
async def main():
|
|
345
|
+
await erlang.sleep(0.5)
|
|
346
|
+
|
|
347
|
+
# Sync context
|
|
348
|
+
def handler():
|
|
349
|
+
erlang.sleep(0.5)
|
|
350
|
+
"""
|
|
351
|
+
try:
|
|
352
|
+
asyncio.get_running_loop()
|
|
353
|
+
# Async context - return awaitable that uses Erlang timers
|
|
354
|
+
return asyncio.sleep(seconds)
|
|
355
|
+
except RuntimeError:
|
|
356
|
+
# Sync context: block on the thread worker path. A plain erlang.call
|
|
357
|
+
# would suspend the request and replay the Python frame around the
|
|
358
|
+
# sleep on resume, which changes time-measurement semantics.
|
|
359
|
+
import erlang
|
|
360
|
+
blocking = getattr(erlang, '_call_blocking', None)
|
|
361
|
+
if blocking is not None:
|
|
362
|
+
blocking('_py_sleep', seconds)
|
|
363
|
+
return
|
|
364
|
+
try:
|
|
365
|
+
erlang.call('_py_sleep', seconds)
|
|
366
|
+
except BaseException:
|
|
367
|
+
# No blocking path (an erlang module without _call_blocking):
|
|
368
|
+
# SuspensionRequired inherits from BaseException; sleep here
|
|
369
|
+
# instead of letting the frame be replayed.
|
|
370
|
+
time.sleep(seconds)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
def spawn_task(coro, *, name=None):
|
|
374
|
+
"""Spawn an async task, working in both async and sync contexts.
|
|
375
|
+
|
|
376
|
+
This function creates and schedules a task on the event loop, with
|
|
377
|
+
automatic wakeup for Erlang-driven loops where the loop may not be
|
|
378
|
+
actively polling.
|
|
379
|
+
|
|
380
|
+
Args:
|
|
381
|
+
coro: The coroutine to run as a task.
|
|
382
|
+
name: Optional name for the task (Python 3.8+).
|
|
383
|
+
|
|
384
|
+
Returns:
|
|
385
|
+
asyncio.Task: The created task. Can be ignored (fire-and-forget)
|
|
386
|
+
or awaited/cancelled if needed.
|
|
387
|
+
|
|
388
|
+
Raises:
|
|
389
|
+
RuntimeError: If no event loop is available or the loop is closed.
|
|
390
|
+
|
|
391
|
+
Example:
|
|
392
|
+
# From sync code called by Erlang
|
|
393
|
+
def handle_request(data):
|
|
394
|
+
erlang.spawn_task(process_async(data))
|
|
395
|
+
return 'ok'
|
|
396
|
+
|
|
397
|
+
# From async code
|
|
398
|
+
async def handler():
|
|
399
|
+
erlang.spawn_task(background_work())
|
|
400
|
+
await other_work()
|
|
401
|
+
"""
|
|
402
|
+
# Try to get the running loop first (works in async context)
|
|
403
|
+
try:
|
|
404
|
+
loop = asyncio.get_running_loop()
|
|
405
|
+
# In async context, just create_task directly
|
|
406
|
+
if name is not None:
|
|
407
|
+
return loop.create_task(coro, name=name)
|
|
408
|
+
else:
|
|
409
|
+
return loop.create_task(coro)
|
|
410
|
+
except RuntimeError:
|
|
411
|
+
pass
|
|
412
|
+
|
|
413
|
+
# Sync context: get the event loop
|
|
414
|
+
try:
|
|
415
|
+
loop = asyncio.get_event_loop()
|
|
416
|
+
except RuntimeError:
|
|
417
|
+
coro.close() # Prevent "coroutine was never awaited" warning
|
|
418
|
+
raise RuntimeError(
|
|
419
|
+
"No event loop available. Ensure erlang is initialized or "
|
|
420
|
+
"call from within an async context."
|
|
421
|
+
)
|
|
422
|
+
|
|
423
|
+
if loop.is_closed():
|
|
424
|
+
coro.close()
|
|
425
|
+
raise RuntimeError("Event loop is closed")
|
|
426
|
+
|
|
427
|
+
# Create the task
|
|
428
|
+
try:
|
|
429
|
+
if name is not None:
|
|
430
|
+
task = loop.create_task(coro, name=name)
|
|
431
|
+
else:
|
|
432
|
+
task = loop.create_task(coro)
|
|
433
|
+
except Exception:
|
|
434
|
+
coro.close()
|
|
435
|
+
raise
|
|
436
|
+
|
|
437
|
+
# Wake up the event loop to process the task
|
|
438
|
+
# This is critical for sync context - without wakeup, the task
|
|
439
|
+
# waits until the next event/timeout
|
|
440
|
+
if hasattr(loop, '_pel') and hasattr(loop, '_loop_capsule'):
|
|
441
|
+
# ErlangEventLoop - use native wakeup
|
|
442
|
+
try:
|
|
443
|
+
loop._pel._wakeup_for(loop._loop_capsule)
|
|
444
|
+
except Exception:
|
|
445
|
+
pass
|
|
446
|
+
elif hasattr(loop, '_write_to_self'):
|
|
447
|
+
# Standard asyncio loop - use self-pipe trick
|
|
448
|
+
try:
|
|
449
|
+
loop._write_to_self()
|
|
450
|
+
except Exception:
|
|
451
|
+
pass
|
|
452
|
+
|
|
453
|
+
return task
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
def _run_async_from_erlang(module, func, args, kwargs):
|
|
457
|
+
"""Helper function called from Erlang to run async code.
|
|
458
|
+
|
|
459
|
+
This is used by py_event_loop:run/3,4 to execute async Python
|
|
460
|
+
functions from Erlang in a blocking manner.
|
|
461
|
+
|
|
462
|
+
Args:
|
|
463
|
+
module: Module name (string or bytes)
|
|
464
|
+
func: Function name (string or bytes)
|
|
465
|
+
args: Positional arguments (list)
|
|
466
|
+
kwargs: Keyword arguments (dict)
|
|
467
|
+
|
|
468
|
+
Returns:
|
|
469
|
+
The result of the async function.
|
|
470
|
+
"""
|
|
471
|
+
import importlib
|
|
472
|
+
|
|
473
|
+
# Convert module/func to strings if needed
|
|
474
|
+
if isinstance(module, bytes):
|
|
475
|
+
module = module.decode('utf-8')
|
|
476
|
+
if isinstance(func, bytes):
|
|
477
|
+
func = func.decode('utf-8')
|
|
478
|
+
|
|
479
|
+
# Import module and get function
|
|
480
|
+
mod = importlib.import_module(module)
|
|
481
|
+
fn = getattr(mod, func)
|
|
482
|
+
|
|
483
|
+
# Call function to get coroutine
|
|
484
|
+
if kwargs:
|
|
485
|
+
coro = fn(*args, **kwargs)
|
|
486
|
+
else:
|
|
487
|
+
coro = fn(*args)
|
|
488
|
+
|
|
489
|
+
# Run the coroutine using erlang.run()
|
|
490
|
+
return run(coro)
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
def install(*, silent=False):
|
|
494
|
+
"""Install ErlangEventLoopPolicy as the default event loop policy.
|
|
495
|
+
|
|
496
|
+
Deprecated in Python 3.12+; raises ``RuntimeError`` on Python 3.14+
|
|
497
|
+
where the underlying ``asyncio.set_event_loop_policy`` is itself
|
|
498
|
+
deprecated and slated for removal in 3.16.
|
|
499
|
+
|
|
500
|
+
Use ``erlang.run(main)`` or
|
|
501
|
+
``asyncio.Runner(loop_factory=erlang.new_event_loop)`` instead —
|
|
502
|
+
both work on every supported Python version and don't touch the
|
|
503
|
+
global policy.
|
|
504
|
+
|
|
505
|
+
Args:
|
|
506
|
+
silent: If True (keyword-only), suppress the per-call
|
|
507
|
+
``DeprecationWarning`` on Python 3.12-3.13. Useful when
|
|
508
|
+
you knowingly rely on the legacy pattern and don't want
|
|
509
|
+
to silence ``DeprecationWarning`` globally. The 3.14+
|
|
510
|
+
``RuntimeError`` is *not* suppressible — that pattern
|
|
511
|
+
won't work on 3.16 and the call has no fallback there.
|
|
512
|
+
|
|
513
|
+
Example (legacy pattern, Python 3.9–3.13 only):
|
|
514
|
+
import asyncio
|
|
515
|
+
import erlang
|
|
516
|
+
|
|
517
|
+
erlang.install(silent=True) # opt out of the warning
|
|
518
|
+
asyncio.run(main()) # Uses Erlang event loop
|
|
519
|
+
"""
|
|
520
|
+
if sys.version_info >= (3, 14):
|
|
521
|
+
raise RuntimeError(
|
|
522
|
+
"erlang.install() is not supported on Python 3.14+. "
|
|
523
|
+
"Use erlang.run(main) or "
|
|
524
|
+
"asyncio.Runner(loop_factory=erlang.new_event_loop) instead."
|
|
525
|
+
)
|
|
526
|
+
if sys.version_info >= (3, 12) and not silent:
|
|
527
|
+
warnings.warn(
|
|
528
|
+
"erlang.install() is deprecated in Python 3.12+. "
|
|
529
|
+
"Use erlang.run(main()) instead, or pass silent=True "
|
|
530
|
+
"to suppress this warning.",
|
|
531
|
+
DeprecationWarning,
|
|
532
|
+
stacklevel=2
|
|
533
|
+
)
|
|
534
|
+
asyncio.set_event_loop_policy(ErlangEventLoopPolicy())
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
def _cancel_all_tasks(loop):
|
|
538
|
+
"""Cancel all tasks in the loop (helper for run())."""
|
|
539
|
+
to_cancel = asyncio.all_tasks(loop)
|
|
540
|
+
if not to_cancel:
|
|
541
|
+
return
|
|
542
|
+
|
|
543
|
+
for task in to_cancel:
|
|
544
|
+
task.cancel()
|
|
545
|
+
|
|
546
|
+
loop.run_until_complete(
|
|
547
|
+
asyncio.gather(*to_cancel, return_exceptions=True)
|
|
548
|
+
)
|
|
549
|
+
|
|
550
|
+
for task in to_cancel:
|
|
551
|
+
if task.cancelled():
|
|
552
|
+
continue
|
|
553
|
+
if task.exception() is not None:
|
|
554
|
+
loop.call_exception_handler({
|
|
555
|
+
'message': 'unhandled exception during erlang.run() shutdown',
|
|
556
|
+
'exception': task.exception(),
|
|
557
|
+
'task': task,
|
|
558
|
+
})
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
|
|
3
|
+
import erlang
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def _result(reply: object) -> object:
|
|
7
|
+
while (
|
|
8
|
+
isinstance(reply, tuple)
|
|
9
|
+
and len(reply) == 2
|
|
10
|
+
and reply[0] == "error"
|
|
11
|
+
and isinstance(reply[1], tuple)
|
|
12
|
+
):
|
|
13
|
+
reply = reply[1]
|
|
14
|
+
if not isinstance(reply, tuple) or len(reply) != 2:
|
|
15
|
+
raise RuntimeError("Invalid native actor response", reply)
|
|
16
|
+
status, value = reply
|
|
17
|
+
if status == "ok":
|
|
18
|
+
return value
|
|
19
|
+
if status == "python_error":
|
|
20
|
+
error = erlang._actor_unwrap(value)
|
|
21
|
+
if isinstance(error, BaseException):
|
|
22
|
+
# A reusable retained reference must not be kept by this new frame.
|
|
23
|
+
del reply, value
|
|
24
|
+
raise error
|
|
25
|
+
raise RuntimeError("Native actor operation failed", reply)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
async def _owned_wait[T](pending: asyncio.Task[T]) -> T:
|
|
29
|
+
cancelled: asyncio.CancelledError | None = None
|
|
30
|
+
while not pending.done():
|
|
31
|
+
try:
|
|
32
|
+
await asyncio.shield(pending)
|
|
33
|
+
except asyncio.CancelledError as error:
|
|
34
|
+
cancelled = error
|
|
35
|
+
result = pending.result()
|
|
36
|
+
if cancelled is not None:
|
|
37
|
+
raise cancelled
|
|
38
|
+
return result
|