Skip to main content

grygry

grygry is a set of command line utilities to grep different types of source code.

Description

This script is for my own use, but if you are interested:

  • The provided list of scripts find lines of source code in the current directory that match the argument string.
  • Options are hardcoded in a parameters file (see grygry/lib/parameters.json).
  • A list of script dynamically generated from the parameters file are available: gryall, grycfg, grycss, gryhtml, gryhtmlall, gryjs, gryjson, grymd, grynopy, grypy, grypy0, grypy2, gryrb, grysh, grytoml, grytxt, gryyml.
  • Just look in the parameters file to understand the various options (and adapt to your needs.)

This project is licensed under the MIT License.

Project: https://github.com/jdum/grygry

Author: jerome.dumonteil@gmail.com

Example

% grypy self.found
/Users/jd/dev/gits/grygry/grygry/lib/grylib.py
   20:         self.path = Path()
   21:         self.found = {}
   22:

   74:         self.find_word(path)
   75:         if not self.found:
   76:             return

...

Installation

Installation from Pypi (recommended):

pip install grygry

Release files for grygry 2.10.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 grygry 2.10.0
File Size Uploaded
grygry-2.10.0.tar.gz 5.5 kB Details

Built distribution (wheel)

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

Total release size: 12.2 kB

Release files / grygry-2.10.0.tar.gz

Download URL grygry-2.10.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eaa3382fe788849136fbd4759f90b4fb3982a06bbc420e8c0d1a09396a0a4cd3
BLAKE2b-256 checksum
How to use checksums
44ab30192c4867e3acab53317ae9af9a3431444ea05d64d9aa8b54f9ddfe619f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / grygry-2.10.0-py3-none-any.whl

Download URL grygry-2.10.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
950cbe2362e981afa53a1f0f9451447d1d05c7a2c274a7f21d198e3f7547fa83
BLAKE2b-256 checksum
How to use checksums
00f245c0f816ea677b30b3ddf368a503914ecf09fea2a4a1a37c4631eec8f1f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

2.10.0 This release

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.2

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.8

2 release files

2.5.7

2 release files

2.5.6

2 release files

2.5.0

2 release files

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