SharpBind

SharpBind — C# bindings for Python

SharpBind turns annotated C# classes into Python packages containing a native library, readable wrappers, documentation and type stubs.

Start with Getting started, then read Exporting APIs and Using generated Python APIs.

The first release supports synchronous methods, ordinary C# facades, copied values and CPU DLPack tensor sharing. Generated packages do require consumer to have dotnet runtime installed.