갈루아의 반서재

728x90














아래와 같이 설치된 파이썬 패키지 목록을 얻을 수 있다.


1
2
3
4
>>> import pip
>>> installed_packages = pip.get_installed_distributions()
>>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version) for i in pip.get_installed_distributions()])
>>> print(installed_packages_list)
cs


['abstract-rendering==0.5.1', 'alabaster==0.7.3', 'argcomplete==0.8.9', 'astropy==1.0.3', 'babel==1.3', 'backports.ssl-match-hostname==3.4.0.2', 'bcolz==0.9.0', 'beautifulsoup4==4.3.2', 'binstar==0.11.0', 'bitarray==0.8.1', 'blaze==0.8.0', 'blz==0.6.2', 'bokeh==0.9.0', 'boto==2.38.0', 'bottleneck==1.0.0', 'cdecimal==2.3', 'certifi==14.5.14', 'cffi==1.1.0', 'clyent==0.3.4', 'colorama==0.3.3', 'configobj==5.0.6', 'cryptography==0.9.1', 'cython==0.22.1', 'cytoolz==0.7.3', 'datashape==0.4.5', 'decorator==3.4.2', 'django-allauth==0.19.1', 'django-haystack==2.3.2', 'django-messages==0.5.1', 'django-nocaptcha-recaptcha==0.0.18', 'django-pagination-py3==1.1.1', 'django==1.8.2', 'djangobb-forum==0.0.1a0', 'docutils==0.12', 'enum34==1.0.4', 'fastcache==1.0.2', 'feedparser==5.2.1', 'flask==0.10.1', 'funcsigs==0.4', 'gevent-websocket==0.9.3', 'gevent==1.0.1', 'greenlet==0.4.7', 'grin==1.2.1', 'h5py==2.5.0', 'idna==2.0', 'ipaddress==1.0.7', 'ipython==3.2.0', 'itsdangerous==0.24', 'jdcal==1.0', 'jedi==0.8.1', 'jinja2==2.7.3', 'jsonschema==2.4.0', 'llvmlite==0.5.0', 'lxml==3.4.4', 'markupsafe==0.23', 'matplotlib==1.4.3', 'mechanize==0.2.5', 'mistune==0.5.1', 'mock==1.0.1', 'multipledispatch==0.4.7', 'mysql-python==1.2.5', 'networkx==1.9.1', 'nltk==3.0.3', 'nose==1.3.7', 'numba==0.19.1', 'numexpr==2.4.3', 'numpy==1.9.2', 'oauthlib==1.0.3', 'odo==0.3.2', 'openpyxl==1.8.5', 'pandas==0.16.2', 'patsy==0.3.0', 'pep8==1.6.2', 'pillow==2.8.2', 'pip==7.1.2', 'ply==3.6', 'postmarkup==1.2.2', 'psutil==2.2.1', 'ptyprocess==0.4', 'py==1.4.27', 'pyasn1==0.1.7', 'pycosat==0.6.1', 'pycparser==2.14', 'pycrypto==2.6.1', 'pycurl==7.19.5.1', 'pyflakes==0.9.2', 'pygments==2.0.2', 'pymysql==0.6.7', 'pyopenssl==0.15.1', 'pyparsing==2.0.3', 'pytest==2.7.1', 'python-dateutil==2.4.2', 'python-openid==2.2.5', 'pytz==2015.4', 'pyyaml==3.11', 'pyzmq==14.7.0', 'redis==2.10.3', 'requests-oauthlib==0.5.0', 'requests==2.7.0', 'rope==0.9.4', 'runipy==0.1.3', 'scikit-image==0.11.3', 'scikit-learn==0.16.1', 'scipy==0.15.1', 'selenium==2.48.0', 'setuptools==18.3.2', 'six==1.9.0', 'snowballstemmer==1.2.0', 'sockjs-tornado==1.0.1', 'sphinx-rtd-theme==0.1.7', 'sphinx==1.3.1', 'spyder==2.3.5.2', 'sqlalchemy==1.0.5', 'statsmodels==0.6.1', 'sympy==0.7.6', 'tables==3.2.0', 'terminado==0.5', 'theano==0.7.0', 'toolz==0.7.2', 'tornado==4.2', 'ujson==1.33', 'unicodecsv==0.9.4', 'werkzeug==0.10.4', 'wheel==0.26.0', 'whoosh==2.7.0', 'xlrd==0.9.3', 'xlsxwriter==0.7.3', 'xlwt==1.0.0']



728x90