From 54f68b018277b4a4b4b2ca6490a29db91c048395 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Thu, 13 Aug 2026 08:55:11 +0300 Subject: [PATCH] docs: improve README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 87a1801..2c2462d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # pybind_example A simple math pybind11 example that exports C++ functions to Python with Bazel. @@ -16,4 +18,13 @@ INFO: Build completed successfully, 11 total actions INFO: Build completed successfully, 11 total actions ``` +### Usage + +```python +from module import math + +print(math.add(1, 2)) # 3 +print(math.subtract(5, 3)) # 2 +``` + Special thanks to jart@ for guidance as well as the TensorFlow team for python runtime headers.