gevent源码目录结构

File Meaning
AUTHORS 作者列表
CHANGES.rst 各个版本的历史修改记录
CONTRIBUTING.rst 为gevent作贡献的方式
LICENSE 许可
MANIFEST.in 文件清单
Makefile Makefile,包含编译及测试等自动化命令
NOTICE 注意,一些特殊内容的不同许可
README.rst 简介,github主页
TODO TODO, iss tracker
_setupares.py c-ares的setup脚本
_setuplibev.py libev的setup脚本
_setuputils.py psutil的setup脚本
appveyor/ windows平台的持续化集成
appveyor.yml appveyor的配置
benchmarks/ 性能测试脚本
deps/ 依赖的第三方包(c-ares, libev)
dev-requirements.txt 开发安装依赖
doc/ 文档
examples/ 应用实例
rtd-requirements.txt rtd安装依赖
scripts/ 一些脚本
setup.cfg setup配置
setup.py* setup脚本
src/ gevent源码
tox.ini 持续集成配置
util/ 一些应用脚本

src目录

File Meaning
__init__.py import入口
_compat.py 兼容处理
_fileobjectcommon.py FileObjectBase类
_fileobjectposix.py posix下封装FileObjectBase
_semaphore.pxd cython头文件
_semaphore.py Semaphore类
_socket2.py py2 socket
_socket3.py py3 socket
_socketcommon.py socket通用部分
_ssl2.py py2 ssl socket
_ssl3.py py3 ssl socket
_sslgte279.py py279+ ssl socket
_tblib.py python-tblib
_threading.py target real thread
_util.py 常用基类
_util_py2.py reraise
ares.pyx ares cython module
backdoor.py BackdoorServer
baseserver.py BaseServer
builtins.py __import__
cares.pxd cares cython
cares_ntop.h cares header
cares_pton.h cares header
core.py libev core
dnshelper.c dns help func
event.py Event, AsyncResult
fileobject.py 3种FileObject类
greenlet.py Greenlet, killall, joinall
hub.py hub
libev/ libev
local.py greenlet local
lock.py lock, semaphore
monkey.py patch_xxx
os.py os replace
pool.py greenlet pool
python.pxd python cython
pywsgi.py wsgi server
queue.py Queue
resolver_ares.py resolver ares
resolver_thread.py resolver native
select.py select
server.py StreamServer, DatagramServer
signal.py signal
socket.py socket 2 or 3
ssl.py ssl 2 or 3
subprocess.py subprocess
thread.py thread
threading.py threading
threadpool.py ThreadPool
timeout.py timeout
util.py wrap_errors
win32util.py formatError
wsgi.py pywsgi
comments powered by Disqus