IronPython 3.4.2 (original) (raw)

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.

Example

Execute Python code and call it from .NET code:

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

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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed.
.NET Core netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
.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.

NuGet packages (66)

Showing the top 5 NuGet packages that depend on IronPython:

Package Downloads
IronPython.StdLib The Python Standard Library, for use with IronPython. 6.0M
DaisyTech.PreTool.Data DaisyTech PreTool Data 77.0K
Kephas.Scripting.Python 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. 61.8K
Crosser.EdgeNode.Modules.IronPython Package Description 43.2K
EaCloud.Workflow EaCloud 工作流引擎组件,基于BPMN模型,实现办公自动化、文件审批、业务单据、请假报销等场景的流程逻辑。 33.2K

GitHub repositories (32)

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

Repository Stars
hanmin0822/MisakaTranslator 御坂翻译器—Galgame/文字游戏/漫画多语种实时机翻工具 5.3K
uxmal/reko Reko is a binary decompiler. 2.3K
openbullet/OpenBullet2 OpenBullet reinvented 2.0K
ArduPilot/MissionPlanner Mission Planner Ground Control Station for ArduPilot (c# .net) 1.9K
antonpup/Aurora Unified lighting effects across multiple brands and various games. 1.8K
openbullet/openbullet The OpenBullet web testing application. 1.6K
Thraka/SadConsole A .NET ascii/ansi console engine written in C# for MonoGame and SFML. Create your own text roguelike (or other) games! 1.3K
IoTSharp/IoTSharp IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management. 1.1K
ekonbenefits/impromptu-interface Static interface to dynamic implementation (duck casting). Uses the DLR combined with Reflect.Emit. 663
danielgerlag/conductor Distributed workflow server 556
architecture-building-systems/revitpythonshell An IronPython scripting environment for Autodesk Revit and Vasari 539
maforget/ComicRackCE A Community Edition for the legendary Comic Book Manager ComicRack. ComicRack is back from the dead. 457
octgn/OCTGN Online Card and Tabletop Gaming Network 368
ekonbenefits/dynamitey (pronounced dyna-mighty) flexes DLR muscle to do meta-mazing things in .net 362
rstropek/Samples 333
haven1433/HexManiacAdvance A tool for editing tables, text, scripts, images, and other data in Pokemon GBA games 307
ShaneK2/inVtero.net inVtero.net: A high speed (Gbps) Forensics, Memory integrity & assurance. Includes offensive & defensive memory capabilities. Find/Extract processes, hypervisors (including nested) in memory dumps using microarchitechture independent Virtual Machiene Introspection techniques 286
chkr1011/Wirehome.Core Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS. 258
checkymander/Zolom C# Executable with embedded Python that can be used reflectively to run python code on systems without Python installed 243
JJConsulting/JJMasterData .NET CRUD generator library with Bootstrap support to create dynamic forms at runtime from a data dictionary. 189
Version Downloads Last updated
3.4.2 46,447 12/20/2024
3.4.1 1,347,216 7/12/2023
3.4.0 345,509 12/12/2022
3.4.0-beta1 52,788 4/30/2022
3.4.0-alpha1 61,707 4/20/2021
2.7.12 514,092 1/21/2022
2.7.11 4,391,786 11/17/2020
2.7.11-candidate1 1,846 9/15/2020
2.7.10 337,774 4/27/2020
2.7.10-candidate1 64,969 11/1/2019
2.7.10-alpha0 49,096 2/23/2019
2.7.9 706,670 10/9/2018
2.7.9-candidate1 3,861 8/20/2018
2.7.8.1 290,030 2/28/2018
2.7.8 110,640 2/16/2018
2.7.8-beta1 2,619 11/30/2017
2.7.7 300,447 12/11/2016
2.7.7-candidate2 1,889 11/7/2016
2.7.7-candidate1 1,843 10/22/2016
2.7.7-candidate0 1,813 10/16/2016
2.7.6-final3 3,530 8/21/2016
2.7.5 436,216 12/6/2014
2.7.5-candidate2 2,067 11/25/2014
2.7.5-candidate1 2,704 11/15/2014
2.7.5-beta3 1,939 10/20/2014
2.7.5-beta2 2,801 5/25/2014
2.7.5-beta1 14,321 3/19/2014
2.7.4 130,096 9/8/2013
2.7.4-candidate1 2,047 8/18/2013
2.7.4-beta2 1,998 8/3/2013
2.7.4-beta1 2,314 7/3/2013
2.7.4-alpha1 2,005 5/11/2013
2.7.3 65,252 7/7/2012
2.7.3-candidate1 2,148 6/30/2012
2.7.3-beta1 2,138 6/11/2012
2.7.3-alpha2 2,089 5/23/2012
2.7.3-alpha1 2,110 4/29/2012
2.7.2 46,000 3/12/2012
2.7.2-final1 3,727 3/13/2012
2.7.2-candidate1 2,151 3/4/2012
2.7.2-beta1 2,375 2/27/2012
2.6.1 48,299 1/7/2011