Skip to main content

An convenience wrapper that allows you to use Windows' File Search functionality.

Project description

pywin-query

An convenience wrapper that allows you to use Windows' File Search functionality.

Usage

Basic example

    q = WinQuery("C:/path/to/directory")

    files_with_foo = q.query("foo")
    files_with_bar = q.query("bar")

    files_with_foo_or_bar = q.query(["foo", "bar"])

For different values from each search result, custom headers can be used that can be found on https://msdn.microsoft.com/en-us/library/windows/desktop/bb419046(v=vs.85).aspx

    q = WinQuery("C:/path/to/directory", ["System.ItemName"])

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

pywin-query-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

pywin_query-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pywin-query-0.0.1.tar.gz.

File metadata

  • Download URL: pywin-query-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for pywin-query-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5f47e67e3b23309c448defbebf3191bbadfb008fc60c46e1a9c0f8b5dbf4273d
MD5 c18b66b87a1a0d2295e8e7a4658466e7
BLAKE2b-256 0688a5a46092882876cbed935c83431a6068c0bef772475dbd0beae16796625c

See more details on using hashes here.

File details

Details for the file pywin_query-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pywin_query-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for pywin_query-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9cb8539d0544aa32053b658eb7be1ef672c7f950c0c69f935ae9ba4fc4bfdfd
MD5 4ba19de48cf8bd96b983b9324afcf6dc
BLAKE2b-256 609b613dc3e1e76b6c9575283473e5546d7c488661adcd56a6b4a8170fe7e17a

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