Python関連の知識
- Pythonは2系、3系がある。
- 2系は2.7.11位、3系は3.5.1位が最新
- Anaconda(https://www.continuum.io/downloads)
- pythonのディストリビューションの一つで、主要ライブラリをオールインワンでインストール
- conda
- パッケージ管理システム(pipの代わり)、バージョン管理もできる(pyenvの代わり)、仮想環境管理(virtualenv/venvの代わり)にも使えます
- Miniconda
conda, its dependencies, and Python
- Python関連の用語(下記サイト(http://www.yunabe.jp/docs/python_package_management.html)より抜粋)
- site-packages
- そのサイト (マシン環境) 固有のモジュールは site-packages に保存される
- User site directory
- Python 2.6 から per user site-packages というものが存在していて、ユーザ毎のモジュールを保存することができる。
- PyPI
- distutils
- Python 標準のパッケージ管理用のモジュール。
- setuptools や pip などのその他のパッケージ管理システムは distutils に機能を拡張するものである。
- setuptools
- distutils を拡張するライブラリと easy_install というモジュールのインストールを行う補助コマンドのセット。
- easy_install
- pip
- pip はeasy_install の強化版
- site-packages
- その他
- rbenvのshims というフォルダ
- Shimの意味 - Qiita
プログラムのバージョン間の差異を埋める緩衝材のように使う薄いレイヤーみたいなもの
- Shim (computing) - Wikipedia, the free encyclopedia
- Shimの意味 - Qiita
- デコレータ
- rbenvのshims というフォルダ
用語のまとめサイト:
Python パッケージ管理技術まとめ (pip, setuptools, easy_install, etc) http://www.yunabe.jp/docs/python_package_management.html
Pythonの書き方:
[Python] コーディング規約(PEP8)を学んで、Pythonらしいコードを書く - YoheiM .NET http://www.yoheim.net/blog.php?q=20160612