一般安裝完P(guān)ython后,我會(huì)先裝一些常用的Package。做個(gè)筆記,記錄下來,以備查詢:
Web FrameWorks
Tornado,訪問:http://www.tornadoweb.org/en/stable/
Flask,訪問:http://flask.pocoo.org/
Web.py,訪問:http://webpy.org/
Tools
xlrd,Excel處理利器,訪問:http://www.python-excel.org/
lxml,XML處理,訪問:http://lxml.de/
configparser,ini文件解析,訪問:https://docs.python.org/2/library/configparser.html
uuid,生成uuid,訪問:https://docs.python.org/2/library/uuid.html
msgpack-python,類似JSON的一個(gè)數(shù)據(jù)序列化,訪問:https://pypi.python.org/pypi/msgpack-python/
psutil,一個(gè)用于獲得處理器和系統(tǒng)相關(guān)信息的模塊,訪問:https://github.com/giampaolo/psutil
Database
MySQL-Python,Mysql庫(kù),訪問:http://mysql-python.sourceforge.net/
pymongo,MongoDB庫(kù),訪問:https://pypi.python.org/pypi/pymongo/
redis,Redis庫(kù),訪問:https://pypi.python.org/pypi/redis/
cxOracle,Oracle庫(kù),訪問:https://pypi.python.org/pypi/cx_Oracle
SQLAlchemy,SQL工具包及對(duì)象關(guān)系映射(ORM)工具,訪問:http://www.sqlalchemy.org/
peewee, SQL工具包及對(duì)象關(guān)系映射(ORM)工具,訪問:https://pypi.python.org/pypi/peewee
torndb,Tornado原裝DB,訪問:https://github.com/bdarnell/torndb
Net
requests,最好用的http工具,訪問:http://www.python-requests.org/
gevent,一個(gè)高并發(fā)的網(wǎng)絡(luò)性能庫(kù),訪問:http://www.gevent.org/
twisted,基于事件驅(qū)動(dòng)的網(wǎng)絡(luò)引擎框架。訪問:https://twistedmatrix.com/trac/
System
sh,強(qiáng)大的系統(tǒng)系統(tǒng)管理神器,訪問:https://pypi.python.org/pypi/sh
Date
Arrow,好用的時(shí)間處理庫(kù),訪問:http://crsmithdev.com/arrow/
when.py,友好的時(shí)間日期庫(kù),訪問:https://github.com/dirn/When.py
Image
PIL,Python Imaging Library,處理圖像,很強(qiáng)大,訪問:http://www.pythonware.com/products/pil/
Spider
PyQuery,解析網(wǎng)頁(yè),訪問:https://pypi.python.org/pypi/pyquery
beautifulSoup,分析網(wǎng)頁(yè),訪問:https://pypi.python.org/pypi/beautifulsoup4
Scrapy,著名的爬蟲框架,訪問:http://www.scrapy.org/
Other
Jinja2,模板引擎,https://pypi.python.org/pypi/Jinja2
virtualenv,Python虛擬環(huán)境,訪問:https://pypi.python.org/pypi/virtualenv/
新聞熱點(diǎn)
疑難解答
圖片精選