Skip to main content

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

    # or PyPI
    pip install gorpy
    
  • Use command-line interface to do gorp stuff:

    python gorp.py <query>
    
  • or enter an interactive session:

    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.

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

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

Release files for gorpy 2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gorpy 2.0.4
File Size Uploaded
gorpy-2.0.4.tar.gz 456.3 kB Details

Built distribution (wheel)

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

Total release size: 923.2 kB

Release files / gorpy-2.0.4.tar.gz

Download URL gorpy-2.0.4.tar.gz
Size 456.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b4c9fe22dafd11a526711ba77351dd13d786683ba20a77e1dd356be5745bf21
BLAKE2b-256 checksum
How to use checksums
a694adc772418dea137d5289b2da91eeb99c03c3c2054e71cdb7ca232e387090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / gorpy-2.0.4-py3-none-any.whl

Download URL gorpy-2.0.4-py3-none-any.whl
Size 466.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67305b965f1b139b1d84e455a4052385d5fc263d855b51e5f7f3dde7933f2df9
BLAKE2b-256 checksum
How to use checksums
834a7cd8f144a126d0ea851c7607d04f78120e2a5e306600b6cde805fc88256f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

2.0.4 This release

2 release files

1.0.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.1.6

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