I wrote a simple example of calling out into Rust from Python using cffi: <a href="https:&#x2F;&#x2F;github.com&#x2F;maciejkula&#x2F;python-rustlearn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;maciejkula&#x2F;python-rustlearn</a>.<p>The gist of it is: it&#x27;s really easy.