Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cmpa-0.0.4.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Apr 7, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page