Learn Python with Talk Python's 270 hours of courses

CSnakes: Embed Python code in .NET

Episode #486, published Fri, Nov 22, 2024, recorded Mon, Nov 4, 2024

If you are a .NET developer or work in a place that has some of those folks, wouldn't it be great to fully leverage the entirety of PyPI with it's almost 600,000 packages inside your .NET code? But how would you do this? Previous efforts have let you write Python syntax but using the full libraries (especially the C-based ones) has been out of reach, until CSnakes. This project by Anthony Shaw and Aaron Powell unlocks some pretty serious integration between the two languages. We have them both here on the show today to tell us all about it.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Links from the show

Anthony Shaw: github.com
Aaron Powell: github.com

Introducing CSnakes: tonybaloney.github.io
CSnakes: tonybaloney.github.io

Talk Python: We've moved to Hetzner: talkpython.fm/blog
Talk Python: Talk Python rewritten in Quart (async Flask): talkpython.fm/blog

Pyjion - A JIT for Python based upon CoreCLR: github.com
Iron Python: ironpython.net
Python.NET: pythonnet.github.io
The buffer protocol: docs.python.org

Avalonia UI: avaloniaui.net
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon