# 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/3d/aa/2a3e199e8a030df0c6658cfcb7897f0be43aa97fa1dd51c1099ed251e0fc/grygry-2.5.7.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.5.7",
"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": "6d733f8e3412b0067df4aba7e3f907bd4a22d741fe31b7ab2ec5ef9e5c1aa326",
"md5": "ed3cbd94988a020b67994f2325e201ac",
"sha256": "f9d8cc75173375d47e08d825a2c4c872c7f503b16388b14efe3e3f910a904c56"
},
"downloads": -1,
"filename": "grygry-2.5.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ed3cbd94988a020b67994f2325e201ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 5635,
"upload_time": "2024-03-30T22:03:27",
"upload_time_iso_8601": "2024-03-30T22:03:27.502142Z",
"url": "https://files.pythonhosted.org/packages/6d/73/3f8e3412b0067df4aba7e3f907bd4a22d741fe31b7ab2ec5ef9e5c1aa326/grygry-2.5.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3daa2a3e199e8a030df0c6658cfcb7897f0be43aa97fa1dd51c1099ed251e0fc",
"md5": "e8adcc977d5c1e78210b5208d29b852c",
"sha256": "57d539b45f66ea4ca0ba77c863773d6c97732f0c04371b332abd1efcae39eec3"
},
"downloads": -1,
"filename": "grygry-2.5.7.tar.gz",
"has_sig": false,
"md5_digest": "e8adcc977d5c1e78210b5208d29b852c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 5318,
"upload_time": "2024-03-30T22:03:29",
"upload_time_iso_8601": "2024-03-30T22:03:29.313090Z",
"url": "https://files.pythonhosted.org/packages/3d/aa/2a3e199e8a030df0c6658cfcb7897f0be43aa97fa1dd51c1099ed251e0fc/grygry-2.5.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-30 22:03:29",
"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"
}