A Python script to index a large folder structure into a parquet file, along with metadata
Project description
folder-indexer-py
A Python script to index a large folder structure into a parquet file, along with metadata
Description
This script is useful for searching for files stored on a reasonably slow disk from backups, especially in where you aren't sure about the files are are searching for.
Use tools like DBeaver and DuckDB to query and explore the generated index.
Usage
uv tool install folder_indexer
folder_indexer -i /path/to/input/folder -o /path/to/output/folder
Metadata Indexed and Output
The output parquet file (file_index.parquet) has the following columns:
* file_path
* folder_path
* file_name
* file_size_bytes
* md5_hash_hex
* sha256_base64
* date_created
* date_modified
* magic_file_type_1
* first_100_bytes
* last_100_bytes
* timestamp_crawled
* indexing_start_timestamp
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
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 folder_indexer-0.2.0.tar.gz.
File metadata
- Download URL: folder_indexer-0.2.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a2f14e2a5a67b3054476966fef85b77e96071c715bc6a1ff62bf52fbaed20c7
|
|
| MD5 |
049b7ff6a7a9649d0ca2e39f968f55de
|
|
| BLAKE2b-256 |
9d0601de953bc27626fd772865c000f8cc6d7c2335f1ecd9fcabc9aecb6aa5ae
|
File details
Details for the file folder_indexer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: folder_indexer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79e9bfd09dc4440311d053d98de1e84705bcf2813800a5e550ce50730c464ab8
|
|
| MD5 |
2c8952eeb58702ce44a39238c3c55d0e
|
|
| BLAKE2b-256 |
5be69a0d7eabbf87040d84cfcaf921dec3b0e6b09cada78c37bda78df1f876f9
|