为 Python 项目自动生成的依赖文件 Pigar

码农软件 · 软件分类 · 常用工具包 · 2019-08-15 14:56:52

软件介绍

Pigar 是为 Python 项目自动生成精确无误的依赖文件。

用 pip 安装:

$ [sudo] pip install pigar

pigar 能找区别不同 Python 版本之间的差异,非常精确,并找出依赖包在代码中的哪些位置引用了,这非常方便,可以发现某些无用却引用了的包:

$ pigar

# example/e1.py: 18
pkg_a == 3.3.3

# example/e2.py: 10
pkg_b == 1.1.1

如果你折腾别人的项目的时候遇到“Import Error: xxx”,那么你可以用下列方式来搜索这个导入名到底来自哪个安装包,在阅读别人源码的时候也非常有用:

$ pigar -s <import_name>

另外 pigar 也能检测依赖的最新版本。

详见:https://github.com/Damnever/pigar

本文地址:https://codercto.com/soft/d/12424.html

Flexible Rails

Flexible Rails

Peter Armstrong / Manning Publications / 2008-01-23 / USD 44.99

Rails is a fantastic tool for web application development, but its Ajax-driven interfaces stop short of the richness you gain with a tool like Adobe Flex. Simply put, Flex is the most productive way t......一起来看看 《Flexible Rails》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具