You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe:
I'm a new KCL users, please correct me if I'm wrong. My understanding is, to use a Python plugin, we need to run a KCL file within Python. This crease inconvenience.
Describe the feature you'd like:
With interpreter-based language, like Python, KCL can run the plug-in on the fly. This would allow KCL to access a rich set of libraries of Python without any boilerplate.
Describe alternatives you've considered:
The existing plugin solution.
Nope.
Correct me if I'm wrong, but the existing plug-in system requires kcl to be called within the language, not the otherway around.
I want to KCL to call a Python function directly. When this is implemented, you can use all existing libs of Python without any boilerplate.
Actually, this is feasible. What we need to do is to extend the implementation of the Client interface in the KCL Lib SDK that KCL CLI depends on, replacing NativeClient with PythonClient.
The Python client does the following things:
Call Rust Core through the KCL Python Binding
Dynamically search and load Python plugin functions through python importlib
Feature Request
Is your feature request related to a problem? Please describe:
I'm a new KCL users, please correct me if I'm wrong. My understanding is, to use a Python plugin, we need to run a KCL file within Python. This crease inconvenience.
Describe the feature you'd like:
With interpreter-based language, like Python, KCL can run the plug-in on the fly. This would allow KCL to access a rich set of libraries of Python without any boilerplate.
Describe alternatives you've considered:
The existing plugin solution.
Teachability, Documentation, Adoption, Migration Strategy:
n/a
The text was updated successfully, but these errors were encountered: