Skip to main content

A tool for grep

Project description

Pyegrep

Pyegrep is a very similar package to Grep(on linux) for python

Raw use

.. code-block:: python

    from greps import grep_service

    params = {
        "before": 2,
        "after": 3,
        "patterns": "xyz",
        "address": file_address,
        "hide_colors": True,
        "max_line_numbers": 1000,
        "is_regex": False,
        "is_case_sensitive" : False,
    }
    output = grep_service.grep(params)
    print(output)




Installation
------------

To install pyegrep, simply:

.. code-block:: bash

    $ pip install pyegrep

On Debian systems:

.. code-block:: bash

    coming soon...

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

pyegrep-1.0.7.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file pyegrep-1.0.7.tar.gz.

File metadata

  • Download URL: pyegrep-1.0.7.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyegrep-1.0.7.tar.gz
Algorithm Hash digest
SHA256 eda13e636f6e225f10197eb83c1f832c9c9f56482f2171f226864bde47c1a559
MD5 8c87166addb806423e1f423d80ea315f
BLAKE2b-256 94de78aa35ba25bb340bf6a6a02b5bf76f54a21522d21c20aeac0b06147b8379

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