cup
|-- cache.py module 缓存相关模块 ( Memory cache related module )
|-- decorators.py module python 修饰符,比如 @Singleton 单例模式 (Decorators of python)
|-- err.py module 异常 exception 类, Exception classes for CUP
|-- __init__.py module 默认__init__.py, Default __init__.py
|-- log.py module 打印日志类,CUP 的打印日志比较简洁、规范,设置统一、简单(cup logging module)
|-- mail.py module 发送邮件 ( CUP Email module (send emails))
|-- net package 网络相关操作( Network operations, such as net handler parameter tuning )
|-- oper.py module 一些混杂操作(Mixin operations)
|-- platforms.py module 跨平台、平台相关操作函数(Cross-platform operations)
|-- res package 资源获取、实时用量统计等,所有在 /prco 可获得的系统资源、进程、设备等信息 ( Resource usage queries (in /proc)、Prcoess query、etc )
|-- shell package 命令 Shell 操作 pakcage ( Shell Operations、cross-hosts execution )
|-- services package 构建服务支持的类(比如心跳、线程池 based 执行器等等) Heartbeat、Threadpool based executors、file service、etc
|-- thirdp package 第三方依赖纯 Py 模块( Third-party modules:pexpect、httplib2 )
|-- timeplus.py module 时间相关的模块(Time related module)
|-- unittest.py module 单元测试支持模块( Unittest、assert、noseClass )
|-- util package 线程池、可打断线程、语义丰富的配置文件支持( ThreadPool、Interruptable-Thread、Rich configuration、etc )
|-- version.py module 内部版本文件,CUP Version
如果你觉得 CUP 很棒,请帮我们 star,并推荐给厂内、厂外的 亲朋砖友。 更欢迎为 CUP 撰写 patch、新 feature,一起添砖加瓦!
感谢, ---Gallon
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.