Description
Hi scikit-build-core team! I'm working on a project where I need to connect my Python code with a shared library (like my_shared.so
), and I'd love to use scikit-build-core for this, along with either pybind11
or nanobind
(I prefer nanobind) for the bindings.
I've been looking through the documentation, but a clear example showing this specific workflow would be really helpful. It would be great to see how to set up a project with scikit-build-core, build a simple shared library with C/C++ functions, generate Python bindings, configure the linking process, and finally, use those functions in a Python script.
My goal is to bring a custom C/C++ library into my Python project, and I think scikit-build-core with pybind11 or nanobind is the perfect tool for the job. An example would make it much easier to understand and use this approach.
Having this example would be a huge help to the scikit-build-core community, especially for those who are new to linking with shared libraries. It would simplify things and enable developers to use their existing C/C++ code in Python projects more effectively.
Thank you for considering this! A practical example would be a valuable addition to the documentation, showing the real-world power of scikit-build-core.