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

yipeiwu_com6年前Python基础

一般安装完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/

相关文章

点球小游戏python脚本

本文实例为大家分享了python点球小游戏的具体代码,供大家参考,具体内容如下 1.游戏要求: 设置球的方向:左中右三个方向,射门或者扑救动作,循环5次,直接输入方向。电脑随机挑选方...

python tkinter canvas 显示图片的示例

先来看一下该方法的说明 create_image(position, **options) [#] Draws an image on the canvas. position I...

python中map()与zip()操作方法

对于map()它的原型是:map(function,sequence),就是对序列sequence中每个元素都执行函数function操作。 比如之前的a,b,c = map(int,r...

python基于Tkinter库实现简单文本编辑器实例

本文实例讲述了python基于Tkinter库实现简单文本编辑器的方法。分享给大家供大家参考。具体实现方法如下: ## {{{ http://code.activestate.com...

python基础教程之匿名函数lambda

 python lambda 当我们在使用函数时,有时候,并不需要显示的定义一个函数,我们可以使用匿名函数更加方便,在Python中对匿名函数也提供了支持。 比如当我们想计算...