Skip to main content

CLI for sparse checkouts of results from grep.app repo search

Project description

grepow

PyPI version Python versions License pre-commit.ci status

CLI for sparse checkouts of results from grep.app repo search.

Installation

uv pip install grepow

Requirements

  • Python 3.10+
  • Git (with sparse-checkout support)

About

  • grep.app search: Uses the grep.app API to fetch search results
  • Sparse checkouts: Clones only the files matching your search hits from the matching repos
  • Group hits by repo: Aggregates multiple hits per repository from search results

Usage

To search and sparse checkout matching files:

grepow "your search query" repo_dirs

The results will be saved to repo_dirs (created if it doesn't exist), cloned into subdirs.

Alternatively, for full repos, pass the --full flag.

Contributing

Contributions are welcome! Please:

  1. Open an issue to discuss bugs or feature requests
  2. Fork the repo and submit a PR for changes
  3. Install dev dependencies with uv sync and run pre-commit install

License

MIT License - see LICENSE for details.

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

grepow-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

grepow-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file grepow-0.1.1.tar.gz.

File metadata

  • Download URL: grepow-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grepow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6c7cbbbaed7c243b04038178c129eacb60e45795b4d6836cf423b054a9420629
MD5 2e358d5fba97fe36e546a3eaaebc8683
BLAKE2b-256 e6f93403b4cd44c547dbc4726360ea8fdf6e158930bbf45163e8089157c4da2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for grepow-0.1.1.tar.gz:

Publisher: CI.yml on lmmx/grepow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file grepow-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: grepow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grepow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b228269212a8d21bf3aac7b6be1bb7f03919a5495f88d08baee3431960d64dd
MD5 7ab46e08e2b47e8e869167d801e7bbf5
BLAKE2b-256 1323db20cd501a914444617994184988e56b1ecf13c26a56d5f5a118c1bfcf03

See more details on using hashes here.

Provenance

The following attestation bundles were made for grepow-0.1.1-py3-none-any.whl:

Publisher: CI.yml on lmmx/grepow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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