Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. .NET
  3. Iron Python

Iron Python

Apache-2.0C#v3.4.2

An open-source implementation of Python 3.x for the .NET Framework, built on the Dynamic Language Runtime.

GitHubGitHub
2.8k stars317 forks0 contributors

What is Iron Python?

IronPython is an open-source implementation of the Python programming language built on the .NET Framework's Dynamic Language Runtime. It allows developers to write Python code that can directly interact with .NET libraries and enables .NET applications to execute and integrate Python scripts seamlessly.

Target Audience

.NET developers who want to use Python for scripting, automation, or embedding within their applications, and Python developers who need to leverage .NET libraries or integrate with existing .NET codebases.

Value Proposition

It provides deep integration between Python and .NET, allowing bidirectional interoperability, access to the extensive .NET ecosystem from Python, and the ability to embed a Python runtime in .NET applications with minimal friction.

Overview

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

Use Cases

Best For

  • Embedding Python scripting capabilities within .NET applications
  • Using .NET libraries (e.g., Windows Forms, WPF) from Python code
  • Calling Python functions and modules from C# or other .NET languages
  • Writing cross-platform automation scripts that leverage .NET APIs
  • Integrating Python data science libraries with .NET business logic
  • Extending existing .NET applications with Python plugins or scripts

Not Ideal For

  • Projects requiring the latest Python 3.10+ syntax and standard library features
  • Teams that depend on Python packages with native C extensions not ported to .NET
  • Applications where performance parity with CPython is critical for pure Python code
  • Developers needing drop-in compatibility with the broader Python ecosystem and pip installs

Pros & Cons

Pros

Seamless .NET Interop

Enables direct use of .NET libraries like System.Windows.Forms from Python code, allowing bidirectional integration without complex wrappers, as shown in the MessageBox example.

Cross-Platform Deployment

Runs on Windows, Linux, and macOS targeting .NET Framework, .NET Standard, and .NET Core, making it versatile for mixed-environment projects.

Embeddable Scripting Engine

Can be embedded within .NET applications using the Python.CreateEngine() API, facilitating easy addition of Python scripting capabilities, as demonstrated in the C# example.

Python 3 Foundation

Implements core Python 3 features such as Unicode strings and the reorganized standard library, targeting Python 3.4 compatibility for modern Python development.

Cons

Outdated Python Version

Targets Python 3.4, which is significantly behind current CPython releases, and the README admits that support for later versions is incomplete and slowly developed.

Package Compatibility Gaps

Many popular Python packages, especially those with C extensions, may not work due to .NET integration issues, as acknowledged in the package compatibility document.

CPython Deviations

Has known differences from CPython that can cause bugs or require code adjustments, limiting its use as a drop-in replacement for standard Python.

Slow Development Pace

The project acknowledges slow progress on Python 3.x support, which may delay updates, bug fixes, and adoption of new features.

Frequently Asked Questions

Quick Stats

Stars2,763
Forks317
Contributors0
Open Issues256
Last commit1 day ago
CreatedSince 2014

Tags

#open-source#ironpython#python#interoperability#net-core#scripting#net-framework#cross-platform#c-sharp

Built With

.
.net-framework
.
.NET Core
.
.NET Standard

Included in

Python290.8k.NET21.2k
Auto-fetched 1 day ago

Related Projects

cpythoncpython

The Python programming language

Stars77,731
Forks38,317
Last commit1 day ago
RoslynRoslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

Stars20,745
Forks4,357
Last commit1 day ago
pyodidepyodide

Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

Stars14,902
Forks1,058
Last commit2 days ago
cythoncython

The most widely used Python to C compiler

Stars10,874
Forks1,646
Last commit4 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub