gorpy
============
*Good Old Regex and Python*
[Read the Docs] (https://gorpy.readthedocs.io/en/latest/index.html)
Features
--------
* Written entirely in Python.
* Grep-style interface for searching text
* Pipes and union operator allow more advanced filtering of files and directory trees so that you only see the files you want
* Easily look at text inside PDFs and Word documents
* Parse XML and HTML as HTML and XML rather than just plain text
* Powerful and extensible JsonPath implementation
* Harness the power of pandas to analyze tabular documents (e.g., csv, fwf) using the same JsonPath query language
* Easily update, delete, and open files found by the tool
How to use
----------
* Install Python 3.6 or newer.
* Install
```sh
# or PyPI
pip install gorpy
```
* Use command-line interface to do gorp stuff:
```sh
python gorp.py <query>
```
* or enter an interactive session:
```sh
python gorp.py
gorp> <query>
# results
# ...
# more results
gorp> <another query>
```
* or access gorp programmatically in a Python session (see gorp.readfiles.GorpSession)
Contributing
------------
Be sure to read the [contribution guidelines](https://github.com/molsonkiko/gorpy/blob/main/CONTRIBUTING.md).
Other stuff
------------
TODO: add code coverage link (the below link is broken)
(https://codecov.io/github/URL-OF-PROJECT?branch=master)](https://codecov.io/OTHER-URL-OF-PROJECT)
![gorpy logo](https://github.com/molsonkiko/gorpy/blob/main/gorpy_logo_small.PNG?raw=true)
_gorpy_logo.PNG and gorpy_logo_small.PNG modified from https://commons.wikimedia.org/wiki/File:Gorp.jpg and https://www.python.org/static/community_logos/python-logo-master-v3-TM.png_
Raw data
{
"_id": null,
"home_page": "https://github.com/molsonkiko/gorpy",
"name": "gorpy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "grep tool,text mining,jsonpath",
"author": "Mark Johnston Olson",
"author_email": "mjolsonsfca@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a6/94/adc772418dea137d5289b2da91eeb99c03c3c2054e71cdb7ca232e387090/gorpy-2.0.4.tar.gz",
"platform": null,
"description": "gorpy\r\n============\r\n\r\n*Good Old Regex and Python*\r\n\r\n[Read the Docs] (https://gorpy.readthedocs.io/en/latest/index.html)\r\n\r\n\r\nFeatures\r\n--------\r\n\r\n* Written entirely in Python.\r\n* Grep-style interface for searching text\r\n* Pipes and union operator allow more advanced filtering of files and directory trees so that you only see the files you want\r\n* Easily look at text inside PDFs and Word documents\r\n* Parse XML and HTML as HTML and XML rather than just plain text\r\n* Powerful and extensible JsonPath implementation\r\n* Harness the power of pandas to analyze tabular documents (e.g., csv, fwf) using the same JsonPath query language\r\n* Easily update, delete, and open files found by the tool\r\n\r\nHow to use\r\n----------\r\n\r\n* Install Python 3.6 or newer.\r\n* Install\r\n\r\n ```sh\r\n # or PyPI\r\n pip install gorpy\r\n ```\r\n\r\n* Use command-line interface to do gorp stuff:\r\n\r\n ```sh\r\n python gorp.py <query>\r\n ```\r\n* or enter an interactive session:\r\n ```sh\r\n python gorp.py\r\n gorp> <query>\r\n # results\r\n # ...\r\n # more results\r\n gorp> <another query>\r\n ```\r\n* or access gorp programmatically in a Python session (see gorp.readfiles.GorpSession)\r\n\r\nContributing\r\n------------\r\n\r\nBe sure to read the [contribution guidelines](https://github.com/molsonkiko/gorpy/blob/main/CONTRIBUTING.md). \r\n\r\nOther stuff\r\n------------\r\n\r\nTODO: add code coverage link (the below link is broken)\r\n(https://codecov.io/github/URL-OF-PROJECT?branch=master)](https://codecov.io/OTHER-URL-OF-PROJECT)\r\n\r\n\r\n![gorpy logo](https://github.com/molsonkiko/gorpy/blob/main/gorpy_logo_small.PNG?raw=true)\r\n\r\n_gorpy_logo.PNG and gorpy_logo_small.PNG modified from https://commons.wikimedia.org/wiki/File:Gorp.jpg and https://www.python.org/static/community_logos/python-logo-master-v3-TM.png_\r\n",
"bugtrack_url": null,
"license": "MIT/X",
"summary": "Grep tool with extensions for reading files in many different ways",
"version": "2.0.4",
"project_urls": {
"Homepage": "https://github.com/molsonkiko/gorpy"
},
"split_keywords": [
"grep tool",
"text mining",
"jsonpath"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "834a7cd8f144a126d0ea851c7607d04f78120e2a5e306600b6cde805fc88256f",
"md5": "fefd27632bd6c74a8182b15da0d994c6",
"sha256": "67305b965f1b139b1d84e455a4052385d5fc263d855b51e5f7f3dde7933f2df9"
},
"downloads": -1,
"filename": "gorpy-2.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fefd27632bd6c74a8182b15da0d994c6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 466824,
"upload_time": "2023-09-01T01:49:42",
"upload_time_iso_8601": "2023-09-01T01:49:42.185951Z",
"url": "https://files.pythonhosted.org/packages/83/4a/7cd8f144a126d0ea851c7607d04f78120e2a5e306600b6cde805fc88256f/gorpy-2.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a694adc772418dea137d5289b2da91eeb99c03c3c2054e71cdb7ca232e387090",
"md5": "58500d73bbacc08551d2ffc669ce5ed9",
"sha256": "5b4c9fe22dafd11a526711ba77351dd13d786683ba20a77e1dd356be5745bf21"
},
"downloads": -1,
"filename": "gorpy-2.0.4.tar.gz",
"has_sig": false,
"md5_digest": "58500d73bbacc08551d2ffc669ce5ed9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 456343,
"upload_time": "2023-09-01T01:49:43",
"upload_time_iso_8601": "2023-09-01T01:49:43.745643Z",
"url": "https://files.pythonhosted.org/packages/a6/94/adc772418dea137d5289b2da91eeb99c03c3c2054e71cdb7ca232e387090/gorpy-2.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-01 01:49:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "molsonkiko",
"github_project": "gorpy",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "gorpy"
}