Simple directory structure comparison tool
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pair_diff-1.2.0.tar.gz
(6.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pair_diff-1.2.0.tar.gz.
File metadata
- Download URL: pair_diff-1.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
776d4f91eec5aa71ea5e3bdf60ae7c4e004b6f34b98b6304aeb6c73a7620b9b5
|
|
| MD5 |
1f254fb5d735445fd3c83e707e180173
|
|
| BLAKE2b-256 |
b3b482536d7100b6c16dffa23a61b5e2040cd8118976727c1eeeaceba4a565cd
|
File details
Details for the file pair_diff-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pair_diff-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22a9f0dff6f88c8019f493af4c0f8e9bed202d1e5fc4191ca4bd66b26d1c544b
|
|
| MD5 |
7fc5f0f32114c72fe33e7a905a2d9a68
|
|
| BLAKE2b-256 |
799d3f2aabb4bf4f12217d5c62443c19325465b4555b4f01b85b0dbf9d45561f
|