Skip to main content

fastglob

fastglob is a Linux-only Python package that accelerates Python glob-style pathname matching with an in-process Rust/PyO3 engine.

Install

pip install fastglob

The wheel includes the native fastglob._core extension. Source installs need a Rust toolchain and maturin.

Use

import fastglob

fastglob.glob("**/*.py", recursive=True)
list(fastglob.iglob("*.py"))  # iterator-shaped, eagerly materialized in 0.1.x
fastglob.match("**/vendor/**", "src/vendor/lib.rs")
fastglob.escape("a*b")

** requires recursive=True. The package follows the documented glob/fnmatch contracts described in the repository's compatibility contract. Recursive walks over directory cycles terminate, but exact duplicate cycle-path counts are unspecified. This is not micromatch, gitignore matching, shell brace expansion, or pathlib acceleration.

See the project README and API documentation for the full surface. Licensed under MIT.

Metadata

Release files for fastglob 0.1.4

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

Source distribution (sdist)

Source distribution for fastglob 0.1.4
File Size Uploaded Provenance Actions
fastglob-0.1.4.tar.gz 62.3 kB Without provenance Details for fastglob-0.1.4.tar.gz

Release files / fastglob-0.1.4.tar.gz

Download URL fastglob-0.1.4.tar.gz
Size 62.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5ef02199c8e40e30bb77f36d550adf1ec4b16c4d71e769fd8a6c10095bee3de4
BLAKE2b-256 checksum
How to use checksums
01736ae5aa92bbc78e5bf1786ca7acf4e89312548313acc376e5d250484ffdd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for fastglob 0.1.4

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