Metadata-Version: 2.1
Name: pyegrep
Version: 1.0.11
Summary: A tool for grep
Home-page: https://github.com/kanz84/pyegrep
Download-URL: https://github.com/kanz84/pyegrep/archive/refs/tags/v1.0.11.tar.gz
Author: kanz84
Author-email: kanz1384@gmail.com
License: MIT
Keywords: grep,egrep
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# pyegrep

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


Raw use
-------


```python   
    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:

```shell
    $ pip install pyegrep
```

On Debian systems:

```shell
    coming soon...
```
