Python.NET (pythonnet) is a package that gives Python programmers nearlyseamless integration with the .NET 4.0+ Common Language Runtime (CLR) on Windowsand Mono runtime on Linux and OSX. Python.NET provides a powerful applicationscripting tool for .NET developers. Using this package you can script .NETapplications or build entire applications in Python, using .NET services andcomponents 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 CLRlanguage - 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 existingPython code and C-API extensions while maintaining native executionspeeds for Python code. If you are interested in a pure managed-codeimplementation of the Python language, you should check out theIronPython project.
Python.NET is currently compatible and tested with Python releases from 3.7onwards.
Current releases are available onPyPiandNuget.org.
To subscribe to thePython.NET mailing list or read theonline archives of the list, see themailing list informationpage. Use thePython.NET issue tracker to report issues.
Contents:
Python::Runtime::PythonEngine
Python::Runtime::PyObject
Python::Runtime::PyDict
Python::Runtime::PyTuple
Python::Runtime::PyList
Python::Runtime::PyInt
Python::Runtime::PyString
Python::Runtime::PyType
Python::Runtime::PyModule
Python::Runtime::PyIter
Python::Runtime::PyBuffer
BufferOrderStyle
Python::Runtime::PyIterable
Python::Runtime::PySequence
Python::Runtime::PyNumber
Python.NET is released under the open source MIT License. A copy of the licenseis included in the distribution, or you can find a copy of the licenseonline.
This project is supported by the.NET Foundation.