{"id":13446043,"url":"https://github.com/IronLanguages/ironpython3","last_synced_at":"2025-03-21T06:30:49.083Z","repository":{"id":14550692,"uuid":"17266066","full_name":"IronLanguages/ironpython3","owner":"IronLanguages","description":"Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.","archived":false,"fork":false,"pushed_at":"2024-08-09T16:35:28.000Z","size":63790,"stargazers_count":2488,"open_issues_count":285,"forks_count":287,"subscribers_count":145,"default_branch":"main","last_synced_at":"2024-10-16T20:01:10.219Z","etag":null,"topics":["c-sharp","dlr","ironpython","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IronLanguages.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-02-27T21:50:49.000Z","updated_at":"2024-10-16T16:18:39.000Z","dependencies_parsed_at":"2024-01-18T16:17:00.968Z","dependency_job_id":"6a45d372-7b79-47b9-aabd-dbbc8a6e1305","html_url":"https://github.com/IronLanguages/ironpython3","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fironpython3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fironpython3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fironpython3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fironpython3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronLanguages","download_url":"https://codeload.github.com/IronLanguages/ironpython3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221812238,"owners_count":16884559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","dlr","ironpython","python"],"created_at":"2024-07-31T05:00:44.279Z","updated_at":"2025-03-21T06:30:49.077Z","avatar_url":"https://github.com/IronLanguages.png","language":"Python","readme":"IronPython 3\n============\n**There is still much that needs to be done to support Python 3.x. We are working on it, albeit slowly. We welcome all those who would like to help!**\n\n[Official Website](https://ironpython.net)\n\nIronPython 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.\n\nIronPython 3 targets Python 3, including the re-organized standard library, Unicode strings, and all of the other new features.\n\n\n| **What?** | **Where?** |\n| --------: | :------------: |\n| **Windows/Linux/macOS Builds** | [![Build status](https://dotnet.visualstudio.com/IronLanguages/_apis/build/status/ironpython3)](https://dotnet.visualstudio.com/IronLanguages/_build/latest?definitionId=43) [![Github build status](https://github.com/IronLanguages/ironpython3/workflows/CI/badge.svg)](https://github.com/IronLanguages/ironpython3/actions?workflow=CI) |\n| **Downloads** | [![NuGet](https://img.shields.io/nuget/vpre/IronPython.svg)](https://www.nuget.org/packages/IronPython/3.4.0) [![Release](https://img.shields.io/github/release/IronLanguages/ironpython3.svg?include_prereleases)](https://github.com/IronLanguages/ironpython3/releases/latest)|\n| **Help** | [![Gitter chat](https://badges.gitter.im/IronLanguages/ironpython.svg)](https://gitter.im/IronLanguages/ironpython) [![StackExchange](https://img.shields.io/badge/stack%20overflow-ironpython-informational?logo=stack-overflow\u0026logoColor=white)](https://stackoverflow.com/questions/tagged/ironpython) |\n\n\n## Examples\n\nThe following C# program:\n\n```cs\nusing System.Windows.Forms;\n\nMessageBox.Show(\"Hello World!\", \"Greetings\", MessageBoxButtons.OKCancel);\n```\n\ncan be written in IronPython as follows:\n\n```py\nimport clr\nclr.AddReference(\"System.Windows.Forms\")\nfrom System.Windows.Forms import MessageBox, MessageBoxButtons\n\nMessageBox.Show(\"Hello World!\", \"Greetings\", MessageBoxButtons.OKCancel)\n```\n\nHere is an example how to call Python code from a C# program.\n\n```cs\nvar eng = IronPython.Hosting.Python.CreateEngine();\nvar scope = eng.CreateScope();\neng.Execute(@\"\ndef greetings(name):\n    return 'Hello ' + name.title() + '!'\n\", scope);\ndynamic greetings = scope.GetVariable(\"greetings\");\nSystem.Console.WriteLine(greetings(\"world\"));\n```\nThis example assumes that `IronPython` has been added to the C# project as a NuGet package.\n\n## Code of Conduct\nThis project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.\nFor more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).\n\n## State of the Project\nThe current target is Python 3.4, although features and behaviors from later versions may be included.\n\nSee the following lists for features from each version of CPython that have been implemented:\n\n- [What's New In Python 3.0](WhatsNewInPython30.md)\n- [What's New In Python 3.1](WhatsNewInPython31.md)\n- [What's New In Python 3.2](WhatsNewInPython32.md)\n- [What's New In Python 3.3](WhatsNewInPython33.md)\n- [What's New In Python 3.4](WhatsNewInPython34.md)\n- [What's New In Python 3.5](WhatsNewInPython35.md)\n- [What's New In Python 3.6](WhatsNewInPython36.md)\n\n## Contributing\nFor details on contributing see the [Contributing](CONTRIBUTING.md) article.\n\n## Upgrading from IronPython 2\nFor details on upgrading from IronPython 2 to 3 see the [Upgrading from IronPython 2 to 3](docs/upgrading-from-ipy2.md) article.\n\n## Differences with CPython\nWhile 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](docs/differences-from-c-python.md) for details.\n\n## Package compatibility\nSee the [Package compatibility](docs/package-compatibility.md) document for information on compatibility with popular packages.\n\n## Installation\nBinaries of IronPython 3 can be downloaded from the [release page](https://github.com/IronLanguages/ironpython3/releases/latest), available in various formats: `.msi`, `.zip`, `.deb`, `.pkg`. The IronPython package is also available on [NuGet](https://www.nuget.org/packages/IronPython/3.4.0). See the [installation document](docs/installing.md) for detailed instructions on how to install a standalone IronPython interpreter on various operating systems and .NET frameworks.\n\n## Build\nSee the [building document](docs/building.md). Since the main development is on Windows, bugs on other platforms may inadvertently be introduced - please report them!\n\n## Supported Platforms\nIronPython 3 targets .NET Framework 4.6.2, .NET Standard 2.0, .NET 6.0 and .NET 8.0. The support for .NET and .NET Core follow the lifecycle defined on [.NET and .NET Core Support Policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).\n","funding_links":[],"categories":["Mainstream implementations","Implementations","资源列表","Python","C# #","高性能","实现","Compilers, Transpilers and Languages","Recently Updated","Implementations [🔝](#readme)","Awesome Python","Python Implemented in Other Languages"],"sub_categories":["高性能","Other dialects and variants","[Jul 25, 2025](/content/2025/07/25/README.md)","Implementations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIronLanguages%2Fironpython3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIronLanguages%2Fironpython3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIronLanguages%2Fironpython3/lists"}