Creates/Updates an Index of files with hashes in a directory
Project description
Flashpoint Indexer
Description
Flashpoint Indexer (fpindexer) is an indexing tool / library designed to quickly create and update an index of files in a directory. Relative path, size, date modified, md5 and sha1 hashes are saved.
Usage
An index.json
file will be made in the directory you run the indexer on.
As a script
python3 -m fpindexer [path]
OR
flashpoint-indexer [path]
If path is not provided then it will index the working directory
As a library
from fpindexer import index_path
path = '/path/to/folder'
index_path(path)
Output
{
"relative/path/to/file": {
"dateModified": 12345678900,
"size": 1234,
"md5": "7ddf32e17a6ac5ce04a8ecbf782ca509",
"sha1": "a415ab5cc17c8c093c015ccdb7e552aee7911aa4"
}
}
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 Distribution
Built Distribution
Close
Hashes for flashpoint_indexer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84eff32a58a7f3cc4376db6491a802ebbd0a2d305801c16f721ffa9571a06238 |
|
MD5 | 80ff8dbec27ad553a9810b39f844e9d9 |
|
BLAKE2b-256 | 9395a831afdf57c0f0550145f7f459d6f98045f4f50989e4fc0628fab3c08115 |