Python开发常用的一些开源Package分享,python开源package


一般安装完Python后,我会先装一些常用的Package。做个笔记,记录下来,以备查询:

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的一个数据序列化,访问:https://pypi.python.org/pypi/msgpack-python/
psutil,一个用于获得处理器和系统相关信息的模块,访问:https://github.com/giampaolo/psutil

Database

MySQL-Python,Mysql库,访问:http://mysql-python.sourceforge.net/
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

Net

requests,最好用的http工具,访问:http://www.python-requests.org/
gevent,一个高并发的网络性能库,访问:http://www.gevent.org/
twisted,基于事件驱动的网络引擎框架。访问:https://twistedmatrix.com/trac/

System

sh,强大的系统系统管理神器,访问:https://pypi.python.org/pypi/sh

Date

Arrow,好用的时间处理库,访问:http://crsmithdev.com/arrow/
when.py,友好的时间日期库,访问:https://github.com/dirn/When.py

Image

PIL,Python Imaging Library,处理图像,很强大,访问:http://www.pythonware.com/products/pil/

Spider

PyQuery,解析网页,访问:https://pypi.python.org/pypi/pyquery
beautifulSoup,分析网页,访问:https://pypi.python.org/pypi/beautifulsoup4
Scrapy,著名的爬虫框架,访问:http://www.scrapy.org/

Other

Jinja2,模板引擎,https://pypi.python.org/pypi/Jinja2
virtualenv,Python虚拟环境,访问:https://pypi.python.org/pypi/virtualenv/

评论关闭