An example directly taken from the PyO3 README. It has some examples in a dedicated folder, but all of these are slightly bigger. And here is a superminimal one.
The only change is that it is a runable example (unlike Markdown) + with GitHub Actions to show all required commands in an explicit (and testable) way.