![]() |
VOOZH | about |
dotnet add package IronPython --version 3.4.2
NuGet\Install-Package IronPython -Version 3.4.2
<PackageReference Include="IronPython" Version="3.4.2" />
<PackageVersion Include="IronPython" Version="3.4.2" />Directory.Packages.props
<PackageReference Include="IronPython" />Project file
paket add IronPython --version 3.4.2
#r "nuget: IronPython, 3.4.2"
#:package IronPython@3.4.2
#addin nuget:?package=IronPython&version=3.4.2Install as a Cake Addin
#tool nuget:?package=IronPython&version=3.4.2Install as a Cake Tool
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();
eng.Execute(@"
def greetings(name):
return 'Hello ' + name.title() + '!'
", scope);
dynamic greetings = scope.GetVariable("greetings");
System.Console.WriteLine(greetings("world"));
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.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on IronPython:
| Package | Downloads |
|---|---|
|
IronPython.StdLib
The Python Standard Library, for use with IronPython. |
|
|
DaisyTech.PreTool.Data
DaisyTech PreTool Data |
|
|
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. |
|
|
EaCloud.Workflow
EaCloud 工作流引擎组件,基于BPMN模型,实现办公自动化、文件审批、业务单据、请假报销等场景的流程逻辑。 |
|
|
Ecng.Compilation.Python
Ecng system framework |
Showing the top 20 popular GitHub repositories that depend on IronPython:
| Repository | Stars |
|---|---|
|
hanmin0822/MisakaTranslator
御坂翻译器—Galgame/文字游戏/漫画多语种实时机翻工具
|
|
|
uxmal/reko
Reko is a binary decompiler.
|
|
|
openbullet/OpenBullet2
OpenBullet reinvented
|
|
|
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
|
|
|
antonpup/Aurora
Unified lighting effects across multiple brands and various games.
|
|
|
openbullet/openbullet
The OpenBullet web testing application.
|
|
|
Thraka/SadConsole
A .NET ascii/ansi console engine written in C# for MonoGame and SFML. Create your own text roguelike (or other) games!
|
|
|
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
|
|
|
besley/Slickflow
.NET Open Source Workflow Engine, AI Empowerment
|
|
|
maforget/ComicRackCE
A Community Edition for the legendary Comic Book Manager ComicRack. ComicRack is back from the dead.
|
|
|
ekonbenefits/impromptu-interface
Static interface to dynamic implementation (duck casting). Uses the DLR combined with Reflect.Emit.
|
|
|
architecture-building-systems/revitpythonshell
An IronPython scripting environment for Autodesk Revit and Vasari
|
|
|
danielgerlag/conductor
Distributed workflow server
|
|
|
haven1433/HexManiacAdvance
A tool for editing tables, text, scripts, images, and other data in Pokemon GBA games
|
|
|
IronLanguages/dlr
Dynamic Language Runtime
|
|
|
octgn/OCTGN
Online Card and Tabletop Gaming Network
|
|
|
ekonbenefits/dynamitey
(pronounced dyna-mighty) flexes DLR muscle to do meta-mazing things in .net
|
|
| rstropek/Samples | |
|
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
|
|
|
chkr1011/Wirehome.Core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.2 | 497,253 | 12/20/2024 |
| 3.4.1 | 2,155,489 | 7/12/2023 |
| 3.4.0 | 544,937 | 12/12/2022 |
| 3.4.0-beta1 | 59,462 | 4/30/2022 |
| 3.4.0-alpha1 | 63,423 | 4/20/2021 |
| 2.7.12 | 751,334 | 1/21/2022 |
| 2.7.11 | 6,379,748 | 11/17/2020 |
| 2.7.11-candidate1 | 5,151 | 9/15/2020 |
| 2.7.10 | 404,045 | 4/27/2020 |
| 2.7.10-candidate1 | 80,246 | 11/1/2019 |
| 2.7.10-alpha0 | 55,786 | 2/23/2019 |
| 2.7.9 | 766,616 | 10/9/2018 |
| 2.7.9-candidate1 | 4,093 | 8/20/2018 |
| 2.7.8.1 | 331,643 | 2/28/2018 |
| 2.7.8 | 327,640 | 2/16/2018 |
| 2.7.8-beta1 | 2,979 | 11/30/2017 |
| 2.7.7 | 334,584 | 12/11/2016 |
| 2.7.7-candidate2 | 2,248 | 11/7/2016 |
| 2.7.7-candidate1 | 2,193 | 10/22/2016 |
| 2.7.7-candidate0 | 2,175 | 10/16/2016 |