julia
adapters.julia
Functions
| Name | Description |
|---|---|
| eval_with_auto_install | Evaluate Julia code, automatically installing missing packages if needed. |
| get_julia | Initialize Julia runtime. Use compiled_modules=False by default for stability. |
| install_julia_package | Install a Julia package if not already installed. |
eval_with_auto_install
adapters.julia.eval_with_auto_install(code, max_retries=3)Evaluate Julia code, automatically installing missing packages if needed.
get_julia
adapters.julia.get_julia(compiled_modules=False)Initialize Julia runtime. Use compiled_modules=False by default for stability.
install_julia_package
adapters.julia.install_julia_package(package_name, Main=None, update=False)Install a Julia package if not already installed.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| package_name | str | Name of the Julia package to install | required |
| Main | Julia Main module (will be retrieved if None) | None |
|
| update | bool | If True, update the package to the latest version | False |