Skip to main content

Fast NTFS indexing and search for Windows amd64.

Project description

py-ntfs-quick-index

Fast Windows NTFS indexing and search for amd64 machines.

pnqi uses NTFS MFT enumeration for initial indexing and the NTFS USN Journal for incremental refreshes. Indexes are stored as SQLite files named pnqi.index.sqlite in the volume root, for example C:\pnqi.index.sqlite.

Requirements

  • Windows only
  • amd64 / x86_64 CPU only
  • Administrator privileges
  • NTFS volumes only
  • Python 3.10+

The program elevates only at startup through py-admin-launch. Internal library calls require the already-elevated process and do not trigger additional UAC prompts.

Install

python -m pip install -e .

CLI

Create or replace an index for a folder:

pnqi index C:\

Search with * wildcards. * matches any string, including \.

pnqi search "C:\Users\*\Desktop\*.pdf"

Show descendants sorted by recursive size:

pnqi sizes C:\Users --limit 100

Show only direct children:

pnqi sizes C:\Users --direct

CLI progress bars use tqdm, and Ctrl+C cancels cleanly.

GUI

pnqi-gui

The GUI supports creating indexes, searching wildcard paths, browsing indexed folders, and viewing recursive sizes. During long operations the interface is locked except for Cancel. Cancelled index builds write only to a temporary SQLite file and do not replace the existing index.

Incremental Updates

On startup, and before searches or browsing, pnqi checks existing pnqi.index.sqlite files and replays USN Journal changes into SQLite. If the USN Journal was recreated or no longer contains the required history, pnqi reports that the index must be recreated.

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

py_ntfs_quick_index-0.1.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_ntfs_quick_index-0.1.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file py_ntfs_quick_index-0.1.0.tar.gz.

File metadata

  • Download URL: py_ntfs_quick_index-0.1.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Windows/11

File hashes

Hashes for py_ntfs_quick_index-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ebc68096ca73b7f0369df2eae604d8d38988d252a60d15bd20c9f2a9cde5816
MD5 75bd43e0925c03bb9834fdeaa2e958e9
BLAKE2b-256 7325f95cb1327efde000df91471be954ab84fba4f5338cebf59e431044045dd1

See more details on using hashes here.

File details

Details for the file py_ntfs_quick_index-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_ntfs_quick_index-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22b7ac039382765479db3d451297a8a9c760c2cd257f6973416eee8bd9b89670
MD5 8a0143fb436859d39763bcf33c32c771
BLAKE2b-256 11b596d390fdba92ce6d893a746713b17c3c9dc6623f07885582b5b87a318be0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page