Python 库列表

来自百合仙子's Wiki
跳转到导航 跳转到搜索

Python 2, 3

TODO

重新分类整理
PyMPlayer —— 控制mplayer
greenlet —— Lightweight in-process concurrent programming.

参见主条目greenlet

multipart —— HTTP 文件上传
termcolor —— 终端输出ANSI彩色文本
colorama —— 跨平台打印彩色终端文本,可与termcolor 配合使用
svgwrite —— 生成 SVG 图像
objgraph —— 使用 GraphViz 查看 Python 对象
Python Object Graphs — objgraph documentation
pyPdf —— PDF文件处理

参见主条目pyPdf

pipe —— shell 式的管道符
相关链接
dateutil —— 日期处理

系统

参见主条目python-sh

用户界面

参见主条目urwid

  • kennethreitz/clint, Python Command-line Application Tools. 包含终端高亮、缩进、配置文件管理等功能

网络

HTTP

  • http-parser, HTTP request/response parser for python in C. 部分使用 Cython 编写,支持相当底层的操作,可在数据到达时逐步解析。

服务端

参见主条目Tornado

客户端

参见主条目Python Requests

XMPP

参见主条目pyxmpp2

FTP

SMTP

DNS

  • dnslib: A library to encode/decode DNS wire-format packets supporting both Python 2.7 and Python 3.2+. 解析 DNS 数据包,不进行网络操作。
  • dnspython, DNS 解析等

数学和科学计算

数据存储

数据处理、分析与展示

二进制数据处理

文本处理

参见主条目pygments

参见主条目autopep8

参见主条目Python regex

  • chardet已失效,存档
  • cchardet 相对于 chardet 更偏向于俄语
  • charaderequests 使用的。相对于 cchardet 对 GBK 编码要好一些,但是依然不如 chardet 准确。

语种识别

字符与语言数据

结构化数据

日期与时间

电话号码

加密与安全

  • python-bcrypt, a update-to-date fork of py-bcrypt, the OpenBSD Blowfish password hashing algorithm

多媒体

图像处理

参见主条目Pillow

音频处理

  • stagger, an ID3v1/ID3v2 tag manipulation package written in pure Python 3.

参见主条目stagger

与其它程序交互

与其它语言交互

FFI 接口

另见 Python ctypes

Lua相互调用

不同版本间调用

execnet —— rapid multi-Python deployment

外部链接

参考资料