Simple to use tools to create and check directory contents - ideal for integrity checking
Project description
The Cataloger is a command line tool for the creation of catalogs and then checking files against that catalog. Typically it is intended to be used to confirm that a directory structure can be deployed/copied in a consistent way from a source to a target.
There is a two step process for confirming consistency :
A catalog is created (using the catalog create command). This command scans the directory tree, looking for appropriate files. The catalog contains the path to the file and a checksum/hash of the file. The checksum recorded is sufficient to stop changes in that file..
Following deployment of the directory tree (including the catalog file and any configuration file), the catalog is be checked against the deployed directory structure, by using the catalog check command. This command scans the directory tree, looking for files using the same criteria as the catalog was constructed, and checking the found files against the cate file. During this check 3 types of exception can be reported :
mismatched files - where the signature of the deployed file is not the same as that in the catalog.
missing files - where files are listed in the catalog but not in the deployed directory tree
record_extra files - where files exist in the deployed directory tree but don’t exist in the catalog
The toolset was initially designed to check a deployment of a Django based website, and therefore many of the defaults are set for DJango projects including : The source files to look for, and also which sub-directories to ignore. All of these can be overidden by command line options,in configuration file as well (from 0.1.0rc4)
Links :
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cataloger-1.0.0rc5-py3-none-any.whl.
File metadata
- Download URL: cataloger-1.0.0rc5-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae7b2e3711edb2f10353f0b4cc720b2cd30113af3c1bb89634280a2847185d98
|
|
| MD5 |
8fc1739776e2288dbd3f3d3c83b7d192
|
|
| BLAKE2b-256 |
18f5ce3330f053a2f916d091e2f1e54e4548595691774a6a5ee5b3f618ee8110
|