/ironpython3

Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.

Primary LanguagePythonApache License 2.0Apache-2.0

IronPython 3

Windows Build Status Linux/OSX Build Status Release Gitter chat StackExchange

Official Website

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

Comparison of IronPython vs. C# for 'Hello World'

c#:

using System;
class Hello
{
    static void Main() 
    {
        Console.WriteLine("Hello World");
    }
}

IronPython:

print("Hello World")

IronPython 3 targets Python 3, including the re-organized standard library, Unicode strings, and all of the other new features.

Installation

Builds of IronPython 3 are not yet provided.

Build

Make sure you clone the Git repository recursively (with --recurse) to clone all submodules.

On Windows machines, start a Visual Studio command prompt and type:

> make

On Unix machines, make sure Mono is installed and in the PATH, and type:

$ make

Since the main development is on Windows, Mono bugs may inadvertantly be introduced

  • please report them!

Supported Platforms

IronPython 3 targets .NET 4.5 and .NET Core 2.0.