Skip to main content

Grep tool with extensions for reading files in many different ways

Project description

gorpy

Good Old Regex and Python

Some packages describing package

Can't have a readthedocs.io site until I have a docs section formatted for Sphinx. [Read the Docs](URL of readthedocs.io site).

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. 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)

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

gorpy-0.1.6.tar.gz (441.6 kB view details)

Uploaded Source

Built Distribution

gorpy-0.1.6-py3-none-any.whl (447.6 kB view details)

Uploaded Python 3

File details

Details for the file gorpy-0.1.6.tar.gz.

File metadata

  • Download URL: gorpy-0.1.6.tar.gz
  • Upload date:
  • Size: 441.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for gorpy-0.1.6.tar.gz
Algorithm Hash digest
SHA256 21fde0999eff7bc61edc44b36dd0cf508322a51e878987c474a105df359da77b
MD5 f4300a2670cac389c7d43d3b9ed0220d
BLAKE2b-256 90c20f0fffa48d751af5933a462b2c6aba4c4843fd304a7e00b5969caed69c0a

See more details on using hashes here.

File details

Details for the file gorpy-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: gorpy-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 447.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for gorpy-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9f88ab06e83fd3f57975c27bd6681bfcf4ac0daffc67f2baecde207764545206
MD5 294073c64135bf4a5c9709ac28e941ea
BLAKE2b-256 62de7399b0125c7bc97b19c5e56295bfbe5d4d683358b1951b456a03b5f6d2ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page