Skip to main content

A tkinter app to search files based on a pattern

Project description

File Search TK

Simple Tkinter UI that:

  • Lists files from a folder returned by an external fetch_logs script given a query.
  • Shows selected file content.
  • Highlights occurrences of the same query within the text.

Requirements

  • Python 3.9+
  • A script or executable named fetch_logs resolvable in PATH that takes a single argument (query) and prints a directory path to stdout.

Install

If using Poetry:

poetry install

Or via pip:

pip install -e .

Run

Using the installed console script:

file-search-tk

Or directly:

python -m file_search_tk.app

Notes

  • The UI calls fetch_logs <query> in a background thread. The command must return a valid existing directory path on stdout and exit with code 0. Any stderr or non-zero exit code is treated as an error.
  • File list shows only regular files at the top level of the returned directory, sorted by filename.
  • Text area highlights case-insensitive matches of the query.

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

file_search_tk-0.1.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

file_search_tk-0.1.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file file_search_tk-0.1.2.tar.gz.

File metadata

  • Download URL: file_search_tk-0.1.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.2 Linux/6.1.0-37-amd64

File hashes

Hashes for file_search_tk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36f297e4a4db324a2c5aa32bc78ef918ad3f9e0414b5eefdafb226a932c6e5cf
MD5 4d935e5bc56bd974e25bdbae772ea093
BLAKE2b-256 ad809dd47878e66e029af0547bec6c87eee1f9c7b9e0ea0562b09b3cd969cb7f

See more details on using hashes here.

File details

Details for the file file_search_tk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: file_search_tk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.2 Linux/6.1.0-37-amd64

File hashes

Hashes for file_search_tk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cf94e3c2550dee843dbc4e3578248db834dc1ad4a1465da36e366241d4f9970
MD5 49f399bdaf9f548c9a28e3a590f7845d
BLAKE2b-256 23c4a1302c6967efb40ac14c4bd07d07554eeb1a112d10124b33c5f824c37497

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