pythonnet/pythonnet
Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers. observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 98
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 305.0
- age_days: 4662
- days_rel: 102
- days_push: 17
- n_releases_24m: 3
Adoption not part of the score
5512 stars · 780 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Python.NET (pythonnet) is a library that integrates CPython with the .NET Common Language Runtime, letting Python code call .NET assemblies and letting .NET applications embed and script Python. It works with .NET Framework, .NET Core, and Mono on Windows, Linux, and macOS.
Use cases
- call .NET libraries from Python
- use C# assemblies in a Python script
- embed a Python interpreter in a .NET application
- script .NET applications with Python
- load CLR namespaces as Python packages
- interoperate between Python and C# code
When to choose
- you need to use existing .NET assemblies or services from Python code
- you want to add Python scripting to a C#/.NET application
- you need native CPython speed and C-extension compatibility while accessing the CLR
- you need cross-platform .NET interop including Mono and .NET Core
When to avoid
- you want Python compiled to managed IL running as a first-class CLR language (use IronPython)
- your project has no need to interact with .NET or the CLR
- you need a pure-Python or pure-.NET solution without native runtime dependencies
Facets
library · maturity stable
sdk interpreter developer-tools developer-tools cross-platform programming-languages python dotnet windows cross-platform clr interop ffi mono csharp embedding scripting linux macos
2 sources
- readme: https://github.com/pythonnet/pythonnet · fetched 2026-08-28 · 058fa8fd9590
- homepage: http://pythonnet.github.io · fetched 2026-08-29 · 83c55db58dcb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pythonnet/pythonnet | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="pythonnet/pythonnet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem