Metadata-Version: 1.1
Name: colour-printing
Version: 0.1.2
Summary: colour-printing
Home-page: https://github.com/Faithforus/Colour-printing
Author: faithforus
Author-email: ljunf817@163.com
License: UNKNOWN
Description: ===============
        Colour-printing
        ===============
        以不同颜色区分终端输出信息类型，标识出重要信息
        ============================================================
        
        Python version: 3.5+
        
        - 内置类型
        
          + INFO(默认) SUCCESS ERROR WARRING
        - 过滤器
        
          + Switch.filter : list
        - 开关
        
          + Switch.signal : bool
        
        =====
        示例
        =====
        
        ::
        
          print('Default Setting!')
          log = ColourPrint()
        
          log.info("hello world!")
        
          #Switch.filter.append('SUCCESS') #过滤
        
          log.error("hello world!")
          log.success("hello world!")
        
          #Switch.signal=False #关闭
        
          log.warn("hello world!")
        
        ===========
        自定义style
        ===========
        
        - 查看样式表： print(ColourPrint())
        
        ::
        
          print('User Setting!')
        
          class MyColour(ColourPrint):
              def custom(self):
                  self.debug = self.Markers('debug').flag_style(model='bold').time_style()
                  self.log = self.Markers('log')
        
          echo = MyColour()
          echo.debug('hello world!')
        
Keywords: python package print
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
