python

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python [2019/09/20 16:40] – [JIT コンパイラ] ともやんpython [2020/07/13 16:33] – [パッケージ] ともやん
行 3: 行 3:
 本家: [[https://www.python.org/|Welcome to Python.org]]\\ 本家: [[https://www.python.org/|Welcome to Python.org]]\\
 ソースコード: [[https://github.com/python/cpython|GitHub - python/cpython: The Python programming language]]\\ ソースコード: [[https://github.com/python/cpython|GitHub - python/cpython: The Python programming language]]\\
 +\\
 +Python(パイソン)は、汎用のプログラミング言語である。コードがシンプルで扱いやすく設計されており、C 言語などに比べて、さまざまなプログラムを分かりやすく、少ないコード行数で書けるといった特徴がある。\\
 +[[wpjp>Python|Python - Wikipedia]] より\\
  
 ===== 環境構築 ===== ===== 環境構築 =====
 [[python:python_install|Python のインストール]]\\ [[python:python_install|Python のインストール]]\\
-[[python-python_build|Python のビルド]]\\+[[python:python_build|Python のビルド]]\\
 \\ \\
 [[python:pyodide|Pyodide - Web ブラウザで動作する Python 環境]]\\ [[python:pyodide|Pyodide - Web ブラウザで動作する Python 環境]]\\
行 14: 行 17:
 [[python:virtualenvwrapper|VirtualEnv & VirtualEnvWrapper で作る Python 2.7 仮想環境]](古い資料です)\\ [[python:virtualenvwrapper|VirtualEnv & VirtualEnvWrapper で作る Python 2.7 仮想環境]](古い資料です)\\
 [[python:pythonbrew|pythonbrew の使い方]]\\ [[python:pythonbrew|pythonbrew の使い方]]\\
-[[python:easy_install|easy_install、setuptools、pip - パッケージ管理]]\\ 
 [[python:pip|pip の使い方]]\\ [[python:pip|pip の使い方]]\\
 +[[python:easy_install|easy_install、setuptools、pip - パッケージ管理]]\\
 \\ \\
 [[python:mercurial|Mercurial - 分散型バージョン管理システム]](Linux)\\ [[python:mercurial|Mercurial - 分散型バージョン管理システム]](Linux)\\
行 21: 行 24:
 [[windows:mercurial|TortoiseHg - Mercurial 分散型バージョン管理システム用ツール]](Windows)\\ [[windows:mercurial|TortoiseHg - Mercurial 分散型バージョン管理システム用ツール]](Windows)\\
 [[mac:tortoisehg|TortoiseHg - Mercurial 分散型バージョン管理システム用ツール]](Mac)\\ [[mac:tortoisehg|TortoiseHg - Mercurial 分散型バージョン管理システム用ツール]](Mac)\\
 +
 +===== プログラミング ガイド =====
 +[[python:socket:programming|Python ソケット プログラミング]]\\
 +[[python:modify_exif_data|Python EXIF データ変更]]\\
 +
 +===== 言語構文 =====
 +[[python:language_memo|Python ランゲージ メモ]]\\
 +[[python:slice|Python スライス]]\\
 +[[python:exception_handling|Python 例外処理 (try, except, else, finally)]]\\
 +[[python:f-strings|フォーマット済み文字列リテラル(f-strings)]]\\
 +[[python:list_comprehension_and_generator_expressions|リスト内包表記とジェネレータ式]]\\
 +[[python:lambda|無名関数(lambda)]]\\
 +[[python:python_script_template|Python スクリプトのひな型]]\\
 +[[python:module_sample | Python モジュールサンプル]]\\
 +[[python:decorator|Python デコレータ]]\\
 +[[python:error|Python エラー]]\\
 +[[http://www.shido.info/py/python7.html|Python のクラスシステム]]について解説されている文献\\
 +[[python:interface | 抽象基底クラス]]\\
 +
 +==== 制御構造 ====
 +[[python:if_elif_else|if elif else 文]]\\
 +[[python:while|while 文]]\\
 +[[python:for_range_enumerate|for range enumerate 文]]\\
 +
 +==== 関数機能 ====
 +[[python:capitalize_upper_lower|大文字小文字変換(capitalize, upper, lower)]]\\
 +[[python:count|文字の個数を数える(count)]]\\
 +[[python:find_index|文字列検索(find, index)]]\\
 +[[python:replace|文字列置換(replace)]]\\
 +
 +===== モジュール =====
 +[[python:argparse|argparse - コマンドライン引数解析]]\\
 +[[python:timeit|timeit]]\\
 +[[python:pathlib|pathlib, glob]]\\
 +[[python:gettext|gettext - 多言語対応]]\\
 +[[python:winreg|winreg - Windows レジストリ アクセス]]\\
 +[[python:socket|socket - 低水準ネットワークインターフェイス]]\\
 +[[python:ctypes|ctypes - Python のための外部関数ライブラリ]]\\
  
 ===== パッケージ ===== ===== パッケージ =====
 [[python:numpy_scipy_matplotlib|NumPy, SciPy, Matplotlib, CuPy, Pandas]]\\ [[python:numpy_scipy_matplotlib|NumPy, SciPy, Matplotlib, CuPy, Pandas]]\\
 [[python:pyopencl|PyOpenCL]]\\ [[python:pyopencl|PyOpenCL]]\\
 +[[python:pyopenssl|pyOpenSSL]]\\
 [[python:ipython|IPython]]\\ [[python:ipython|IPython]]\\
 [[python:jupyter_notebook|Jupyter Notebook]]\\ [[python:jupyter_notebook|Jupyter Notebook]]\\
行 34: 行 76:
 [[python:psycopg2|Psycopg2]]\\ [[python:psycopg2|Psycopg2]]\\
 [[python:beautifulsoup|BeautifulSoup]]\\ [[python:beautifulsoup|BeautifulSoup]]\\
 +[[python:selenium|Selenium]]\\ 
 [[python:uamobile_install|uamobile]]\\ [[python:uamobile_install|uamobile]]\\
 [[python:package_build_error|パッケージビルドでエラーになる場合]]\\ [[python:package_build_error|パッケージビルドでエラーになる場合]]\\
-\\+
 [[python:python-hwinfo|python-hwinfo]]\\ [[python:python-hwinfo|python-hwinfo]]\\
  
-===== 言語構文 ===== +[[python:mutagen|Mutagen]]\\ 
-[[python:interface 抽象基底クラス]]\\+[[python:pymongo|PyMongo]]\\ 
 +[[python:python-vlc|python-vlc]]\\ 
 +[[python:musicbrainzngs|musicbrainzngs]]\\
  
-==== 制御構造 ==== +[[python:pyutm|PyUTM]]\\ 
-[[python:if_elif_else|if elif else 文]]\\ +[[python:twitter_scraper|Twitter Scraper]]\\ 
-[[python:while|while 文]]\\ +[[python:facebook_scraper|Facebook Scraper]]\\
-[[python:for_range_enumerate|for range enumerate 文]]\\+
  
-==== 関数機能 ==== +[[python:pyserial|pySerial - シリアルポート アクセス]]\\
-[[python:capitalize_upper_lower|大文字小文字変換(capitalize, upper, lower)]]\\ +
-[[python:count|文字の個数を数える(count)]]\\ +
-[[python:find_index|文字列検索(find, index)]]\\ +
-[[python:replace|文字列置換(replace)]]\\+
  
 ===== Framework ===== ===== Framework =====
行 58: 行 98:
 [[python:wxpython|wxPython - クロス プラットフォーム GUIライブラリ]]\\ [[python:wxpython|wxPython - クロス プラットフォーム GUIライブラリ]]\\
 [[javascript:mochikit|MochiKit - A lightweight Javascript library]]\\ [[javascript:mochikit|MochiKit - A lightweight Javascript library]]\\
 +
 +===== アプリ / サービス / サーバー =====
 +[[python:youtube-dl|youtube-dl - YouTube や他の動画サイトから動画をダウンロード]]\\
 +[[python:gunicorn|Gunicorn - Python WSGI HTTP Server for UNIX]]\\
 +[[python:virtual_assistant|Python 仮想アシスタント]]\\
 +
 +===== ツール =====
 +[[python:get_shell_cmds|Windows 10 の Shell コマンドの取得]]\\
  
 ===== JIT コンパイラ ===== ===== JIT コンパイラ =====
行 70: 行 118:
  * Numba は関数の Python バイトコードを LLVM を使用して CPU に合わせた関数のマシンコードバージョンを生成する\\  * Numba は関数の Python バイトコードを LLVM を使用して CPU に合わせた関数のマシンコードバージョンを生成する\\
  * [[https://developer.nvidia.com/cuda-zone|Nvidia CUDA]] および [[https://rocm.github.io/|AMD ROC]] GPU をターゲットにできる\\  * [[https://developer.nvidia.com/cuda-zone|Nvidia CUDA]] および [[https://rocm.github.io/|AMD ROC]] GPU をターゲットにできる\\
 +
 +Pandas がボトルネックになってもカーネル関数に分離すれば Numba で最適化出来る。\\
 +[[https://medium.com/bcggamma/bring-your-python-code-up-to-speed-with-numba-1aa1c0e52885|Bring Your Python Code Up to Speed with Numba - BCG GAMMA - Medium]]\\
  
 ===== 開発環境 ===== ===== 開発環境 =====
行 79: 行 130:
 [[python:supervisor|Supervisor - プロセス制御システム]]\\ [[python:supervisor|Supervisor - プロセス制御システム]]\\
  
-===== 言語関連 ===== +===== カテゴリー別 ===== 
-[[python:language_memo|Python ランゲージ メモ]]\\ +[[python:voice_analysis|Python 音声解析]]\\
-[[python:module_sample | Python モジュールサンプル]]\\ +
-[[python:decorator|Python デコレータ]]\\ +
-[[http://www.shido.info/py/python7.html|Python のクラスシステム]]について解説されている文献\\+
  
 ===== Deep Learning 関連 ===== ===== Deep Learning 関連 =====
行 99: 行 147:
   [[python:python_psycopg2_xrea|Psycopg2 のインストール(Xrea編)]]\\   [[python:python_psycopg2_xrea|Psycopg2 のインストール(Xrea編)]]\\
   [[python:django_install_xrea|Django のインストール(Xrea編)]]\\   [[python:django_install_xrea|Django のインストール(Xrea編)]]\\
 +
 +===== 参考文献 =====
 +[[https://qiita.com/hatai/items/34c91d4ee0b54bd7cb8b|Awesome Python:素晴らしい Python フレームワーク・ライブラリ・ソフトウェア・リソースの数々 - Qiita]]\\
 +