Skip to content

Commit 636b89d

Browse files
committed
Integrate python binding section into updated document flow
1 parent 4e5edc4 commit 636b89d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
Perfect for applications needing time-point based caching.
1616
-**Configurable Matching Policies**
1717
Define individual policies for value retrieval.
18+
- 🐍 **Python Bindings**
19+
Seamlessly use the library in Python with pybind11 bindings.
1820
- 🧪 **Tested and Reliable**
1921
Includes unit tests to ensure robustness in real-world applications.
2022
- 📦 **Header-Only**
@@ -102,7 +104,8 @@ or by specifying one comparison policy and threshold (100ms for example), and re
102104

103105
</details>
104106

105-
## Python bindings
107+
<details>
108+
<summary>Using the Python bindings</summary>
106109

107110
The library can be used in Python via pybind11 bindings.
108111
Since `util_caching` is a templated C++ library,
@@ -124,6 +127,8 @@ cache.cache(1.0, 2.0)
124127
```
125128
We re-implemented all of the C++ unit tests in Python, so take a closer look at those for more advanced usage examples.
126129

130+
</details>
131+
127132

128133
## Installation
129134

0 commit comments

Comments
 (0)