Skip to content
/ CUP Public
forked from baidu/CUP

Wish CUP to be a popular common useful python-lib in the world! (Currently, Most popular python lib in baidu)

License

Notifications You must be signed in to change notification settings

xiaolin310/CUP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

* Visit Wiki to see more details: https://github.com/Baidu/CUP/wiki


1. Installation                                                                                    
    - run # python setup.py install                                                                    
                                                                                                       
2. Reference                                                                                           
    - CUP use pexpect and httplib.                                                                     
      * Pexpect http://pexpect.sourceforge.net/ (under MIT license)                                    
      * Httplib2 http://code.google.com/p/httplib2/ (under MIT license)   
      * requests https://github.com/kennethreitz/requests (under Apache V2 license)
      * pymysql https://github.com/PyMySQL/PyMySQL (under MIT license)   
3. Doc
    http://docs.iobusy.com/docs/cup/

* 访问wiki获取更多信息
* 基础库代码结构说明:                                                                                    
CUP                                                                                                    
    |-- bidu                    目录| package            baidu服务相关                 
    |-- cache.py                模块|module              缓存相关                                           
    |-- decorators.py           module                  通用修饰符                                         
    |-- err.py                  module                  CUP内部Exception处理                               
    |-- __init__.py             module                  CUP import处理模块                                 
    |-- log.py                  module                  CUP logging                                        
    |-- mail.py                 module                  CUP Email 发送模块                                 
    |-- net                     目录|package             网络操作、资源、异步通信框架                       
    |-- oper.py                 模块|module              各类混杂操作opertions                              
    |-- platforms.py            模块|module              跨平台相关保留module                               
    |-- res                     目录|package             机器资源信息获取、进程信息获取、监控等             
    |-- shell                   目录|package             shell操作、跨机执行、跨机数据传输等                
    |-- services                目录|package             心跳机制、执行器、buffer缓存                                          
    |-- thirdp                  目录|package             第三方库: pexpect、httplib2、                     
    |-- timeplus.py             模块|module              时间操作函数                                       
    |-- unittest.py             模块|module              UT测试相关、assert、noseClass                      
    |-- util                    目录|package             线程池、可打断线程、Public/Configure配置文件python实现、数据生成器
    |-- version.py              模块|module              CUP版本号管理   


About

Wish CUP to be a popular common useful python-lib in the world! (Currently, Most popular python lib in baidu)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%