Ross ROSS = Recommend OSS · open-source software intelligence for agents

tonybaloney/CSnakes

Embed Python in .NET observed · 2026-08-28

github.com/tonybaloney/CSnakes · homepage · C# · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 99
  • Release rhythm 42
  • Longevity 55
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 11.0
  • age_days: 776
  • days_rel: 390
  • days_push: 10
  • n_releases_24m: 21

Full methodology

Adoption not part of the score

1113 stars · 72 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

CSnakes is a .NET source generator and runtime library for embedding Python code and libraries directly into C# .NET applications via the CPython C-API. It generates strongly-typed C# wrappers from Python type hints, enabling fast in-process interop without REST or microservices.

Use cases

  • call python code from c#
  • embed python in a .net application
  • use python libraries like numpy from c#
  • interop between dotnet and python without http
  • generate c# bindings from python type hints
  • run python machine learning models inside a .net app

When to choose

  • you need high-performance, in-process Python/.NET interop without network overhead
  • you want strongly-typed C# method signatures generated from Python type annotations
  • you need to use Python packages with C extensions (like NumPy) from .NET

When to avoid

  • you need to call .NET code from Python rather than the other way around
  • you want a language-agnostic RPC or microservice boundary between Python and .NET
  • your Python code must run in a separate process for isolation or stability

Facets

library · maturity active

sdk parser developer-tools developer-tools cross-platform machine-learning dotnet python windows cross-platform python-interop csharp-source-generator cpython-c-api interop numpy macos linux

2 sources

Member repositories

RepositoryRoleHealth v2
tonybaloney/CSnakesmain70

For agents

markdown · JSON · MCP: product_card(name="tonybaloney/CSnakes")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem