このページの2つのバージョン間の差分を表示します。
 
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | 
| python:pythonnet [2019/09/13 07:06]  – [pythonnet - Python for .NET]  ともやん | python:pythonnet [2019/09/13 07:49] (現在)  – [参考文献]  ともやん | 
|---|
| ====== pythonnet - Python for .NET ====== | <html> | 
|  | <style> | 
|  | #result pre { | 
|  | height: 200px; | 
|  | overflow: scroll; | 
|  | overflow-x: hidden; | 
|  | } | 
|  | </style> | 
|  | </html> | 
|  | ====== Python for .NET (pythonnet) ====== | 
| 本家: [[http://pythonnet.github.io/|Python for .NET | pythonnet.github.io]]\\ | 本家: [[http://pythonnet.github.io/|Python for .NET | pythonnet.github.io]]\\ | 
| ソースコード: [[https://github.com/pythonnet/pythonnet|GitHub - pythonnet/pythonnet: Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.]]\\ | ソースコード: [[https://github.com/pythonnet/pythonnet|GitHub - pythonnet/pythonnet: Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.]]\\ | 
|  | \\ | 
|  | Python for .NET (pythonnet) は、Python プログラマーに Windows 上の .NET 4.0+ Common Language Runtime (CLR) およびLinuxおよび OSX 上の Mono ランタイムとほぼシームレスに統合できるパッケージです。Python for .NETは、.NET開発者向けの強力なアプリケーションスクリプトツールです。このパッケージを使用すると、CLR を対象とする任意の言語 (C#、VB.NET、F#、C++/CLI)で記述された .NET サービスおよびコンポーネントを使用して、.NET アプリケーションのスクリプトを作成するか、Python でアプリケーション全体を構築できます。\\ | 
|  | \\ | 
|  | このパッケージは、 Python をファーストクラスの CLR 言語として実装していないことに注意してください。Python コードからマネージコード (IL) を生成しません。むしろ、CPython エンジンと .NET または Mono ランタイムの統合です。このアプローチにより、CLR サービスを使用し、Python コードのネイティブ実行速度を維持しながら、既存の Python コードと C-API 拡張機能を引き続き使用できます。Python 言語の純粋なマネージコードの実装に興味がある場合は、現在開発中の [[http://www.ironpython.com/|IronPython]] プロジェクトを確認してください。\\ | 
|  | [[http://pythonnet.github.io/|Python for .NET | pythonnet.github.io]] より\\ | 
|  |  | 
|  | ===== インストール ===== | 
|  | <WRAP prewrap 100%> | 
|  | <code> | 
|  | > pip install pythonnet | 
|  | Collecting pythonnet | 
|  | Downloading https://files.pythonhosted.org/packages/65/ed/cd200e95392d7f4a74319ff9166ba8a4a6fb28a405b065297f3fdec82da9/pythonnet-2.4.0-cp37-cp37m-win_amd64.whl (70kB) | 
|  | |████████████████████████████████| 71kB 255kB/s | 
|  | Installing collected packages: pythonnet | 
|  | Successfully installed pythonnet-2.4.0 | 
|  | </code> | 
|  | </WRAP> | 
|  |  | 
| ===== 参考文献 ===== | ===== 参考文献 ===== | 
| [[https://qiita.com/y-tsutsu/items/0c4561d6478be32e6f8e|Pythonから.NETを呼び出す方法とついでにその逆も - Qiita]]\\ | [[https://qiita.com/y-tsutsu/items/0c4561d6478be32e6f8e|Pythonから.NETを呼び出す方法とついでにその逆も - Qiita]]\\ | 
|  | [[https://www.nuget.org/packages/python|NuGet Gallery | python 3.7.4]]\\ | 
|  |  |