Skip to main content

pyegrep

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

Raw use

    from pyegrep.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:

    $ pip install pyegrep

On Debian systems:

    coming soon...

Release files for pyegrep 1.0.11

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

Source distribution (sdist)

Source distribution for pyegrep 1.0.11
File Size Uploaded
pyegrep-1.0.11.tar.gz 3.0 kB Details

Release files / pyegrep-1.0.11.tar.gz

Download URL pyegrep-1.0.11.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9c8f4730699df1e4ebacd51f0f5d2f5040c7be4fa99ceb46d9e0fd2dc91eac16
BLAKE2b-256 checksum
How to use checksums
935eb425a76eff27a433ee45062d3194f2d0ef142513bb2fd18d504412a6b8a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.11 This release

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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