IronPython 3.4.1

dotnet add package IronPython --version 3.4.1
NuGet\Install-Package IronPython -Version 3.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IronPython" Version="3.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IronPython --version 3.4.1
#r "nuget: IronPython, 3.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IronPython as a Cake Addin
#addin nuget:?package=IronPython&version=3.4.1

// Install IronPython as a Cake Tool
#tool nuget:?package=IronPython&version=3.4.1

IronPython Engine

IronPython is an open-source implementation of the Python programming language that is tightly integrated with .NET. IronPython can use .NET and Python libraries, and other .NET languages can use Python code just as easily.

This package contains the IronPython engine that allows embedding an IronPython interpreter in a .NET application. The interpreted Python code can call the .NET code and can be called from the .NET code. This package does not contain the IronPython Standard Library, which is distributed separately as package IronPython.StdLib.


Execute Python code and call it from .NET code:

var eng = IronPython.Hosting.Python.CreateEngine();
var scope = eng.CreateScope();
def greetings(name):
    return 'Hello ' + name.title() + '!'
", scope);
dynamic greetings = scope.GetVariable("greetings");

Differences with CPython

While compatibility with CPython is one of our main goals with IronPython 3, there are still some differences that may cause issues. See Differences from CPython for details.

Package compatibility

See the Package compatibility document for information on compatibility with popular Python packages. Note that to run most packages, IronPython Standard Library must be present.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (60)

Showing the top 5 NuGet packages that depend on IronPython:

Package Downloads

The Python Standard Library, for use with IronPython.


DaisyTech PreTool Data

Kephas.Scripting.Python The ID prefix of this package has been reserved for one of the owners of this package by

Provides the infrastructure for executing Python scripts. Typically used areas and classes/interfaces/services: - PythonLanguageService. Kephas Framework ("stone" in aramaic) aims to deliver a solid infrastructure for applications and application ecosystems.


Package Description


CubeBuild Core is the dependency libraries for the public release CMS CubeBuild. It is incorporated into the default CubeBuild project, or can be integrated into any ASP.NET MVC application as an inbuild content manager.

GitHub repositories (30)

Showing the top 5 popular GitHub repositories that depend on IronPython:

Repository Stars
Reko is a binary decompiler.
Unified lighting effects across multiple brands and various games.
Mission Planner Ground Control Station for ArduPilot (c# .net)
OpenBullet reinvented
Version Downloads Last updated
3.4.1 304,831 7/12/2023
3.4.0 215,572 12/12/2022
3.4.0-beta1 47,230 4/30/2022
3.4.0-alpha1 58,739 4/20/2021
2.7.12 346,956 1/21/2022
2.7.11 3,128,955 11/17/2020
2.7.11-candidate1 1,677 9/15/2020
2.7.10 262,266 4/27/2020
2.7.10-candidate1 50,395 11/1/2019
2.7.10-alpha0 44,725 2/23/2019
2.7.9 633,941 10/9/2018
2.7.9-candidate1 3,737 8/20/2018 240,687 2/28/2018
2.7.8 57,645 2/16/2018
2.7.8-beta1 2,427 11/30/2017
2.7.7 267,344 12/11/2016
2.7.7-candidate2 1,718 11/7/2016
2.7.7-candidate1 1,668 10/22/2016
2.7.7-candidate0 1,635 10/16/2016
2.7.6-final3 3,348 8/21/2016
2.7.5 398,055 12/6/2014
2.7.5-candidate2 1,882 11/25/2014
2.7.5-candidate1 2,518 11/15/2014
2.7.5-beta3 1,749 10/20/2014
2.7.5-beta2 2,405 5/25/2014
2.7.5-beta1 14,055 3/19/2014
2.7.4 118,121 9/8/2013
2.7.4-candidate1 1,852 8/18/2013
2.7.4-beta2 1,805 8/3/2013
2.7.4-beta1 2,116 7/3/2013
2.7.4-alpha1 1,822 5/11/2013
2.7.3 38,953 7/7/2012
2.7.3-candidate1 1,953 6/30/2012
2.7.3-beta1 1,932 6/11/2012
2.7.3-alpha2 1,879 5/23/2012
2.7.3-alpha1 1,898 4/29/2012
2.7.2 39,586 3/12/2012
2.7.2-final1 3,440 3/13/2012
2.7.2-candidate1 1,936 3/4/2012
2.7.2-beta1 2,170 2/27/2012
2.6.1 40,125 1/7/2011