python分析器

bio的Python项目详细描述


CircleCICoverage


代码bio

bio包提供了分析python代码的实用程序。


安装

pip install bio

Decorator

^{pr 2}$

Using the ^{} decorator with no arguments will simply print the output to ^{}. Alternatively, you can provide the file location for the profiler output.

^{pr 3}$

In the example shown above, the output will be written to both ^{} and the given file location. If you would prefer not to write to ^{} you can use the ^{} option.

^{pr 4}$

Context Manager

^{pr 5}$

Developers

Testing

Bio uses tox用于测试。要运行测试,只需执行以下操作:

tox

tox的配置可以在tox.ini文件中找到。生物 使用pytest作为首选测试框架。在运行 测试,tox将执行名为black的自动格式化工具。之后 测试已经完成,tox将创建覆盖率标记(如所示 使用coverage_badge工具。

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

推荐PyPI第三方库


热门话题
java在TextView中对齐部分文本   带有iText和eTPKCS11的java PKCS#11签名。dll&SunPKCS11提供程序   java Intellij Idea找不到jar   java Chrome/Firefox和Jetty HTTPS   java我无法打包找不到的JavaFX应用程序模块   多线程Java:排序从异步任务检索的结果   java客户端/服务器socket不能与外部连接一起工作   java如何在单击“下一步”按钮时获取其他详细信息?   java组织。springframework。网状物客户RestTemplate应声明为@Bean,而plain@Autowired抛出错误   java如何绘制javax。摆动将ImageIcon转换为JavaFX。fxml呈现用户界面?   使用for循环的Java跟踪   java如何编码字符串以显示彩色文本(基于字符串中的前缀)   Java保存/打开文件对象   基于java复选框的搜索:使用尽可能多的“”动态生成准备好的语句作为选中复选框的计数   java为什么crawler4j随机挂起?