A grep-like utility for searching Excel files
Project description
Grep Excel
ExcelGrep is an utility for searching through Excel files in a directory (including nested directories) to find cells that match a specified pattern.
Features
- Search Pattern: Find cells containing a specified string pattern.
- Exclude Pattern: Optionally exclude matches that contain a specified string pattern.
- Print Row Data: Optionally print the entire row data of matching cells.
- Progress Tracking: Displays progress information for scanning files and cells.
- Performance Metrics: Shows elapsed time for scanning and overall progress.
Installation
You can install the package using pip:
pip install grep_excel
Usage
To use the grep_excel, run the following command:
grep-excel ./your_directory "pattern_to_search" --exclude "pattern_to_exclude" --print-row
Arguments
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Write tests for your changes.
- Ensure all tests pass.
- Submit a pull request.
Development
To set up a development environment:
Clone the repository:
git clone https://github.com/stenzr/grep_excel
cd grep_excel
Create a virtual environment and activate it:
Copy code
python3 -m venv venv
source venv/bin/activate
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grep_excel-1.0.0.tar.gz.
File metadata
- Download URL: grep_excel-1.0.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e53bcdf872fc19f3d8a4db05908d4d025a2377707a4a2d2e9862283eab222748
|
|
| MD5 |
7733d51d42728609ff3e0641140e2c08
|
|
| BLAKE2b-256 |
441981e99c11c617473016af98a92e85244bffc0e26918bff7851ef120ac9296
|
File details
Details for the file grep_excel-1.0.0-py3-none-any.whl.
File metadata
- Download URL: grep_excel-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a637e0c034ccb36fe9ce479d03273c904db5c33120dcf1738c3bbd60cd5d2df3
|
|
| MD5 |
bd41e58c54b11ada65d957a2f8e38e8f
|
|
| BLAKE2b-256 |
808d75c9d04db871d2391d8b560030672159779ca70df95ec6b99ac4603931b2
|