pair-diff
一个简单的目录结构比较工具,使用 uv 进行包管理。
A simple directory structure comparison tool, using uv for package management.
安装 | Installation
使用 uv 安装:
Install using uv:
cd dir_diff
uv sync
使用方法 | Usage
# 使用 uv 运行
uv run pair-diff <目录1路径> <目录2路径>
# 或者安装后直接使用
pair-diff <目录1路径> <目录2路径>
# Run with uv
uv run pair-diff <path-to-directory-1> <path-to-directory-2>
# Or use directly after installation
pair-diff <path-to-directory-1> <path-to-directory-2>
示例 | Examples
uv run pair-diff ./TensorRT-dir1 ./TensorRT-dir2
功能 | Features
- 比较两个目录的结构差异
Compare the structural differences between two directories - 以表格形式显示差异
Display differences in table format - 支持颜色输出
Support colored output - 自动忽略常见文件(.git, *.log, tmp, pycache)
Automatically ignore common files (e.g., .git, *.log, tmp, pycache) - 递归比较子目录
Recursively compare subdirectories - 返回适当的退出码(0=无差异,1=有差异)
Return appropriate exit codes (0=no differences, 1=has differences)
Metadata
Release files for pair-diff 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pair_diff-1.2.0.tar.gz | 6.4 kB | Without provenance | Details for pair_diff-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pair_diff-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for pair_diff-1.2.0-py3-none-any.whl |
Total release size: 10.5 kB
Release files / pair_diff-1.2.0.tar.gz
| Download URL | pair_diff-1.2.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
776d4f91eec5aa71ea5e3bdf60ae7c4e004b6f34b98b6304aeb6c73a7620b9b5
|
|
BLAKE2b-256 checksum How to use checksums |
b3b482536d7100b6c16dffa23a61b5e2040cd8118976727c1eeeaceba4a565cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / pair_diff-1.2.0-py3-none-any.whl
| Download URL | pair_diff-1.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22a9f0dff6f88c8019f493af4c0f8e9bed202d1e5fc4191ca4bd66b26d1c544b
|
|
BLAKE2b-256 checksum How to use checksums |
799d3f2aabb4bf4f12217d5c62443c19325465b4555b4f01b85b0dbf9d45561f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for pair-diff 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.