Skip to main content

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


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.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pair_diff-1.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pair_diff-1.1.0.tar.gz.

File metadata

  • Download URL: pair_diff-1.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pair_diff-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9e83bd6aae7d2d9112f5cb36b31419cc7ae990acabf19c583612c12fe39a015d
MD5 ef0c82cda85c8f4702fd687b54c15a41
BLAKE2b-256 8ae27324d313cc4006dd1cd9d791a3a664a95ca246ee8b6bf1ba9d8fd379b1d3

See more details on using hashes here.

File details

Details for the file pair_diff-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pair_diff-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pair_diff-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c8c082db63777c31e06bee2aa444027fb2dbf0794b1cde10b21fc75832e046
MD5 4874a71651acb14886bcf6e877680926
BLAKE2b-256 ff5f312689682406e82455147772b44403ae2c527aa66b84d5e3d439e3fd5c5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page