Skip to main content

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)

Source distribution for pair-diff 1.2.0
File Size Uploaded
pair_diff-1.2.0.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pair-diff 1.2.0
File Interpreter ABI Platform
pair_diff-1.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page