# 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
```shell
% 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):
```python
pip install grypy
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jdum/grygry",
"name": "grygry",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "code, source, grep",
"author": "Jerome Dumonteil",
"author_email": "jerome.dumonteil@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ab/82/181556ff8007fcb8729a97666e872f50b3ff2e017a739a078c45e7715d38/grygry-2.6.1.tar.gz",
"platform": null,
"description": "# grygry\n\n`grygry` is a set of command line utilities to grep different types of source code.\n\n## Description\n\nThis script is for my own use, but if you are interested:\n\n- The provided list of scripts find lines of source code in the current directory that match the argument string.\n- Options are hardcoded in a parameters file (see `grygry/lib/parameters.json`).\n- 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.\n- Just look in the parameters file to understand the various options (and adapt to your needs.)\n\nThis project is licensed under the MIT License.\n\nProject:\n https://github.com/jdum/grygry\n\nAuthor:\n jerome.dumonteil@gmail.com\n\n\n## Example\n\n```shell\n% grypy self.found\n/Users/jd/dev/gits/grygry/grygry/lib/grylib.py\n 20: self.path = Path()\n 21: self.found = {}\n 22:\n\n 74: self.find_word(path)\n 75: if not self.found:\n 76: return\n\n...\n```\n\n\n## Installation\n\nInstallation from `Pypi` (recommended):\n\n\n```python\npip install grypy\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Command line utility to grep different types of source code.",
"version": "2.6.1",
"project_urls": {
"Homepage": "https://github.com/jdum/grygry",
"Repository": "https://github.com/jdum/grygry"
},
"split_keywords": [
"code",
" source",
" grep"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f9f403e026cd1f04f22ce4b8f374284943c67d83760484bb61deaf5c80c5f081",
"md5": "669a4454c4f64c6d7fe1ceb5fecd8c84",
"sha256": "46cd7120bb50b73319b1df8bb8597e4f1ca5b7015f4fee95e5abd95ec51b9121"
},
"downloads": -1,
"filename": "grygry-2.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "669a4454c4f64c6d7fe1ceb5fecd8c84",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 5844,
"upload_time": "2024-11-01T11:11:56",
"upload_time_iso_8601": "2024-11-01T11:11:56.522211Z",
"url": "https://files.pythonhosted.org/packages/f9/f4/03e026cd1f04f22ce4b8f374284943c67d83760484bb61deaf5c80c5f081/grygry-2.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ab82181556ff8007fcb8729a97666e872f50b3ff2e017a739a078c45e7715d38",
"md5": "f987fe1e933b9200f181136fd8209e1d",
"sha256": "7ac5188f7df8e0f8e3249e93d9da45ed0ccd8c8feec7ae306fff9c492848435a"
},
"downloads": -1,
"filename": "grygry-2.6.1.tar.gz",
"has_sig": false,
"md5_digest": "f987fe1e933b9200f181136fd8209e1d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 5404,
"upload_time": "2024-11-01T11:11:57",
"upload_time_iso_8601": "2024-11-01T11:11:57.433178Z",
"url": "https://files.pythonhosted.org/packages/ab/82/181556ff8007fcb8729a97666e872f50b3ff2e017a739a078c45e7715d38/grygry-2.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 11:11:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jdum",
"github_project": "grygry",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "grygry"
}