Skip to main content

File System Query.

Working with the file system is too verbose.

FSQuery provides a way of thinking about the file system inspired by JQuery.

An FSQuery is created from a particular director with a number of terms added as modifiers.

A simple example :

from fsquery import FSQuery

fsq = FSQuery("/home/myaccount").NoFollow(".git").Ext(".py").FileOnly()
for n in fsq :
    print(n.abs)

This FSQuery searches all directories under /home/myaccount, except directories with ".git" in their name.

It matches files with a ".py" extension. And the FileOnly() suppresses returning directories.

See more documentation on the README on GitHub.

Metadata

Release files for fsquery 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fsquery 0.3.0
File Size Uploaded Provenance Actions
fsquery-0.3.0.tar.gz 7.4 kB Without provenance Details for fsquery-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fsquery 0.3.0
File Interpreter ABI Platform Actions
fsquery-0.3.0-py3-none-any.whl Python 3 none any Details for fsquery-0.3.0-py3-none-any.whl

Total release size: 12.8 kB

Release files / fsquery-0.3.0.tar.gz

Download URL fsquery-0.3.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b02d3ac751e77641d5e99b6e1cc655e0cab73c44a53236ff6ed6fca5d5a21b9e
BLAKE2b-256 checksum
How to use checksums
6454348452ead60cf665f1c0b93fbe1537c2763796d2d97d202119e381042f26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / fsquery-0.3.0-py3-none-any.whl

Download URL fsquery-0.3.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e471db47d35226b619466f470e49dbf85541b811f76af3a16b3dfdae981eb390
BLAKE2b-256 checksum
How to use checksums
b4671d48937739c6f87e2b8734e19747e19924bf933f7d9a82d36682250deac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for fsquery 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page