Python.NET (pythonnet) is a package that gives Python programmers nearly seamless integration with the .NET 4.0+ Common Language Runtime (CLR) on Windows and Mono runtime on Linux and OSX. Python.NET provides a powerful application scripting tool for .NET developers. Using this package you can script .NET applications or build entire applications in Python, using .NET services and components written in any language that targets the CLR (C#, VB.NET, F#, C++/CLI). Note that this package does not implement Python as a first-class CLR language - it does not produce managed code (IL) from Python code. Rather, it is an integration of the CPython engine with the .NET or Mono runtime. This approach allows you to use CLR services and continue to use existing Python code and C-API extensions while maintaining native execution speeds for Python code. If you are interested in a pure managed-code implementation of the Python language, you should check out the IronPython project.

Features

  • Python.NET is currently compatible and tested with Python releases 2.7 and 3.5-3.8
  • Current releases are available at the Python.NET website
  • The source release is a self-contained “private” assembly
  • Unit testing shows that PythonNet will run under Mono
  • A good way to start is to interactively explore .NET usage in python interpreter
  • Python.NET allows CLR namespaces to be treated essentially as Python packages

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Python.NET

Python.NET Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Python.NET!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C#

Related Categories

C# Integrated Development Environments (IDE), C# Software Development Software

Registered

2022-06-06