Skip to main content

Comparison utility

Project description

cmpa (Comparison utility)

Compares the contents of two directories (folders) and reports if they are equal or not.

Usage

dircmpa can be used either as a command line application or as a Python library package.

Command Line

Simple example:

cmpa <first_directory> <second_directory>

Use cmpa -h for a complete list of options.

Python library package

Simple example:

from cmpa import compare, Compare

# Just compare directory with itself.
compare(['.', '.'])
print()

# Use the class for finer grain observability
c = Compare(['.', '.'], silent=True)
print(c.get_total_files())
print(c.get_file_counts())
print(c.compare_ok_count)

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

cmpa-0.0.4.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file cmpa-0.0.4.tar.gz.

File metadata

  • Download URL: cmpa-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmpa-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b97f68822a1c452f744efa2e16932ba866fa57947fbf10925827e92a60df383d
MD5 1cdd3fbc38696f5f79538340c160bf6c
BLAKE2b-256 46e6bd271f56555469207dc244c412c1d21eac748f6d4e55185cc53daeb90003

See more details on using hashes here.

Supported by

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