Skip to main content

ripgrep powered search inside python without subprocess overhead

Project description

pyfastgrep

Fast file search for Python powered by ripgrep's engine.

Install

pip install pyfastgrep

Usage

import pyfastgrep

results = pyfastgrep.search(r'"/[^"]*-[^"]*"', "src")

for r in results:
    print(r)

Features

  1. Uses ripgrep internals (fast)
  2. Parallel search
  3. Respects .gitignore
  4. Python-friendly API

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyfastgrep-0.1.1-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file pyfastgrep-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyfastgrep-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for pyfastgrep-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 98344f8115eaff73daa5ae8466061be37abeee680e4d5e80a5761d5e75c136aa
MD5 a1927d1dca59b042657b57e90c67700b
BLAKE2b-256 eab30a56165b0992de24f54b3b17225be57985b4b89c6b2eefdb99fe619f8f3f

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