Skip to main content

PathQuery is a tool to declaratively define file searches.

Project description

PathQuery is a tool to declaratively define file searches.

Example

Search for all files except the node_modules folder:

from pathquery import pathq

pathq("yourdir/*.js").but_not(pathq("yourdir/node_modules/*"))

Install

$ pip install pathquery

Hacking

If you want to hack, you can TDD with:

sudo pip install hitch
cd dumbyaml/tests
hitch init
hitch test *.test

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

pathquery-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page