xolox彩色日志的分支,可以记录到travis和jupyter

bitranox-coloredlogs的Python项目详细描述


bitranox_彩色日志

版本v14.0.9自2020-10-09起参见Changelog

travis_buildlicensejupyterpypi

codecovbetter_codeMaintainabilityMaintainabilityCode Coveragesnyk

xolox彩色日志的分支,可以记录到travis和jupyter

由于参数isatty的行为不像预期的(应该强制)颜色,所以原始版本是这样的 在travis和jupyter(stdout)上不显示颜色。在

有了这个版本,你可以在jupyter和travis上有彩色日志。在

我希望Peter接受我的PullRequest,然后我可以删除这个剥离(无测试)版本

在这里找到原件:https://coloredlogs.readthedocs.io/en/latest/

自动化测试、Travis矩阵、文档、徽章等由PizzaCutter(cookiecutter on steroids)管理

需要Python版本:3.6.0或更高版本

使用python3.6、3.7、3.8、3.8-dev、pypy3在linux“仿生”上进行测试-体系结构:amd64、ppc64le、s390x、arm64

Linux, macOS, Windows下测试,自动每日构建和监视

  • Try it Online
  • Usage
  • Usage from Commandline
  • Installation and Upgrade
  • Requirements
  • Acknowledgements
  • Contribute
  • Report Issues
  • Pull Request
  • Code of Conduct
  • License
  • Changelog
  • 在线试用

    您可以使用“启动活页夹”徽章在Jupyter笔记本中立即尝试,或单击here

    用法

    import the module and check the code - its easy and documented there, including doctest examples.
    in case of any questions the usage section might be expanded at a later time
    

    命令行的用法

    ^{pr2}$

    安装和升级

    • 在开始之前,强烈建议您更新pip和设置工具:
    python -m pip --upgrade pip
    python -m pip --upgrade setuptools
    
    • 要通过pip从PyPi安装最新版本(推荐):
    python -m pip install --upgrade bitranox_coloredlogs
    
    • 要通过pip从github安装最新版本:
    python -m pip install --upgrade git+https://github.com/bitranox/bitranox_coloredlogs.git
    
    • 包括在你的要求.txt公司名称:
    # Insert following line in Your requirements.txt:
    # for the latest Release on pypi:
    bitranox_coloredlogs
    
    # for the latest development version :
    bitranox_coloredlogs @ git+https://github.com/bitranox/bitranox_coloredlogs.git
    
    # to install and upgrade all modules mentioned in requirements.txt:
    python -m pip install --upgrade -r /<path>/requirements.txt
    
    • 要从源代码安装最新的开发版本:
    # cd ~
    $ git clone https://github.com/bitranox/bitranox_coloredlogs.git
    $ cd bitranox_coloredlogs
    python setup.py install
    
    • 通过生成文件: makefile是一种非常方便的安装方式。在这里我们可以做得更多, 比如安装虚拟环境、清理缓存等等。在
    # from Your shell's homedirectory:
    $ git clone https://github.com/bitranox/bitranox_coloredlogs.git
    $ cd bitranox_coloredlogs
    
    # to run the tests:
    $ make test# to install the package
    $ make install
    
    # to clean the package
    $ make clean
    
    # uninstall the package
    $ make uninstall
    

    要求

    将自动安装以下模块:

    ## project requirements
    click
    humanfriendly >=7.1
    

    致谢

    • 特别感谢“鲍勃叔叔”罗伯特·C·马丁,特别是他关于“干净代码”和“干净架构”的书

    贡献

    我很乐意为你叉和发送我的请求,为这个项目。 -please Contribute

    许可证

    此软件是按MIT license授权的

    -

    变更日志

    • 新API的主要版本更改不兼容
    • 新的次要版本,以向后兼容的方式添加了功能
    • 新的补丁版本,用于向后兼容的错误修复

    v14.0.9

    2020-10-09:服务发布
    • 更新travis build matrix for linux 3.9-dev
    • 为windows 3.9/3.10更新travis构建矩阵(路径)

    v14.0.8

    2020-08-08:服务发布
    • 修复文档
    • 修理特拉维斯
    • 不推荐pycodestyle
    • 机具薄片8

    v14.0.7

    2020-08-01:修复pypi部署

    v14.0.6

    2020-07-31:修复特拉维斯建筑

    v14.0.5

    2020-07-29:功能发布
    • 使用新的Pizzaker模板

    v14.0.4

    2020-07-17:补丁发布
    • 添加了\uu init_uu.pyi文件以进行最小类型注释
    • 把它做成PEP561包

    v14.0.2

    2020-07-17:TTY-c的@EpicWink默认流他妈的是斯特德

    v14.0.1

    2020-07-17:补丁发布
    • 使参数安装(isatty=True)强制ColorFormatter

    欢迎加入QQ群-->: 979659372 Python中文网_新手群

    推荐PyPI第三方库


    热门话题
    apache commons 3.1中的java httpClient代理支持   ubuntu 14.04 Java:找不到类Xmx1g   java如何用当前用户的数据填充recyclerview?   java Alter Hibernate事务超时仅用于一种方法?   如果没有pow()、函数或递归,如何在c/c++中使用幂函数   java将html UI与本机安卓应用程序相结合   创建GridPane子项时发生java错误   java在基类构造函数中调用虚方法   客户端重新连接javasocket   具有建议日期的java Open DatePicker   雅加达ee Java ee请求范围和异步   classnotfoundexception无法执行目标组织。科德豪斯。项目<projectname>上的mojo:execmavenplugin:1.6.0:java(defaultcli):   java字符串内容相同,但equals方法返回false   primefaces调度的java问题   java帮助我理解关于实现接口的这一课   java Jsoup在下载页面文本时将所有url分离   java将字符串转换为整数错误   java如何从mapDB数据库中检索数据,而不必每次都重写它?