Python常用包
一、Web框架:
Tornado,访问:http://www.tornadoweb.org/en/stable/
Flask,访问:http://flask.pocoo.org/
Web.py,访问:http://webpy.org/
django:https://www.djangoproject.com/
cherrypy:http://cherrypy.org/
jinjs:http://docs.jinkan.org/docs/jinja2/
二、GUI 图形界面
Tkinter :https://wiki.python.org/moin/TkInter/
wxPython:https://www.wxpython.org/
PyGTK:http://www.pygtk.org/
PyQt:https://sourceforge.net/projects/pyqt/
PySide:http://wiki.qt.io/Category:LanguageBindings::PySide
三、科学计算
numpy:http://www.numpy.org/
SciPy:https://www.scipy.org/
pandas: http://pandas.pydata.org/
blaze: http://blaze.readthedocs.io/en/latest/index.html
四、密码学
cryptography:https://pypi.python.org/pypi/cryptography/
hashids:http://www.oschina.net/p/hashids
Paramiko:http://www.paramiko.org/
Passlib:https://pythonhosted.org/passlib/
PyCrypto:https://pypi.python.org/pypi/pycrypto
PyNacl:http://pynacl.readthedocs.io/en/latest/
五、爬虫相关
scrapy:https://scrapy.org/
pyspider: https://github.com/binux/pyspider
portia:https://github.com/scrapinghub/portia
html2text:https://github.com/Alir3z4/html2text
BeautifulSoup:https://www.crummy.com/software/BeautifulSoup/
lxml:http://lxml.de/
selenium:http://docs.seleniumhq.org/
mechanize:https://pypi.python.org/pypi/mechanize
PyQuery:https://pypi.python.org/pypi/pyquery/
creepy:https://pypi.python.org/pypi/creepy
gevent,一个高并发的网络性能库,访问:http://www.gevent.org/
requests,最好用的http工具,访问:http://www.python-requests.org/
六、图像处理
bigmoyan:http://scikit-image.org/
Python Imaging Library(PIL):
http://www.pythonware.com/products/pil/
pillow: http://pillow.readthedocs.io/en/latest/
七、自然语言处理
nltk: http://www.nltk.org/
snownlp: https://github.com/isnowfy/snownlp
Pattern:https://github.com/clips/pattern
TextBlob:http://textblob.readthedocs.io/en/dev/
Polyglot:https://pypi.python.org/pypi/polyglot
jieba: https://github.com/fxsjy/jieba
八、数据库驱动
mysql-python: https://sourceforge.net/projects/mysql-python/
PyMySQL:https://github.com/PyMySQL/PyMySQL
PyMongo:https://docs.mongodb.com/ecosystem/drivers/python/
pymongo,MongoDB库,访问:https://pypi.python.org/pypi/pymongo/
redis,Redis库,访问:https://pypi.python.org/pypi/redis/
cxOracle,Oracle库,访问:https://pypi.python.org/pypi/cx_Oracle
SQLAlchemy,SQL工具包及对象关系映射(ORM)工具,访问:http://www.sqlalchemy.org/
peewee, SQL工具包及对象关系映射(ORM)工具,访问:https://pypi.python.org/pypi/peewee
torndb,Tornado原装DB,访问:https://github.com/bdarnell/torndb
九、Web
pycurl ———— URL处理工具
smtplib模块 ———— 发送电子邮件
自带库:
十、其他库暂未分类
1、PyInstaller
PyInstaller是一个十分有用的第三方库,它能够在Windows、Linux、 Mac OS X 等操作系统下将 Python 源文件打包,通过对源文件打包, Python 程序可以在没有安装 Python 的环境中运行,也可以作为一个 独立文件方便传递和管理。
import numpy as np 矩阵运算