Skip to content

zhangxt/CUP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 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/

* Visit wiki to get examples.
* Structure:                                                                                    
CUP                                                                                                    
    |-- cache.py                module              Memory cache related module                                           
    |-- decorators.py           module              Decorators of python                                       
    |-- err.py                  module              Exception classes for CUP                              
    |-- __init__.py             module              Default __init__.py                                 
    |-- log.py                  module              CUP logging                                        
    |-- 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             Resource usage queries (all that you can find in /proc)、Prcoess info query、etc            
    |-- shell                   package             Shell Operations、cross-machines execution、cross-hosts data transfer               
    |-- services                package             Heartbeat service、Threadpool based function executor service、file service、etc                                          
    |-- thirdp                  package             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  


About

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

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%