cmpa-0.0.4
توضیحات
Comparison utility
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cmpa-0.0.4 |
| نام | cmpa |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | James Abel |
| ایمیل نویسنده | j@abel.co |
| آدرس صفحه اصلی | https://github.com/jamesabel/cmpa |
| آدرس اینترنتی | https://pypi.org/project/cmpa/ |
| مجوز | MIT License |
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:
.. code:: python
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)
نحوه نصب
نصب پکیج whl cmpa-0.0.4:
pip install cmpa-0.0.4.whl
نصب پکیج tar.gz cmpa-0.0.4:
pip install cmpa-0.0.4.tar.gz