Command line utility to grep different types of source code.
Project description
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 grypy
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
grygry-2.6.1.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file grygry-2.6.1.tar.gz
.
File metadata
- Download URL: grygry-2.6.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac5188f7df8e0f8e3249e93d9da45ed0ccd8c8feec7ae306fff9c492848435a |
|
MD5 | f987fe1e933b9200f181136fd8209e1d |
|
BLAKE2b-256 | ab82181556ff8007fcb8729a97666e872f50b3ff2e017a739a078c45e7715d38 |
File details
Details for the file grygry-2.6.1-py3-none-any.whl
.
File metadata
- Download URL: grygry-2.6.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46cd7120bb50b73319b1df8bb8597e4f1ca5b7015f4fee95e5abd95ec51b9121 |
|
MD5 | 669a4454c4f64c6d7fe1ceb5fecd8c84 |
|
BLAKE2b-256 | f9f403e026cd1f04f22ce4b8f374284943c67d83760484bb61deaf5c80c5f081 |