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
Simple, Secure Domain Registration Icon
Simple, Secure Domain Registration

Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
Sign up for free
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