semvec/pypi-packages huggingface dataset:
grep-excel 1.0.0
A grep-like utility for searching Excel files
License: MIT
Requires Python: >=3.6

# Grep Excel

[![PyPI](https://img.shields.io/pypi/v/grep-excel)](https://pypi.org/project/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:

```sh
pip install grep_excel
```

## Usage

To use the grep_excel, run the following command:

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

```sh
git clone https://github.com/stenzr/grep_excel
cd grep_excel
```

#### Create a virtual environment and activate it:

```sh
Copy code
python3 -m venv venv
source venv/bin/activate
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
ez_config_mgt 0.1.1
Easy config management
License: MIT
Requires Python: <3.13,>=3.11
Keywords: config, management

# Easy config

Simple class to manage configurations.

## Installation

Classic through pip or your favourite package manager:

```shell
pip install ez-config-mgt
```

## Usage

You want to define a default configuration and allow users to override some of the settings. 
The class simply get the config value for the user's specific config and get the default value if not defined.

First thing is to instantiate a configuration. 

```python
from ez_config_mgt import BaseConfig

config = BaseConfig('test')

print(config)
```

'test' is the name of the configuration. You can define several configurations.

You can tailor the default configuration to your needs.

```python
from ez_config_mgt import BaseConfig, extend_default_config

extend_default_config({'mydefaults': { 'example': 'test' }})

config = BaseConfig('test')

print(config)
```

Class is meant to be inherited. It's quite useful if you just need one config and prefer not to bother passing arguments in your main code.

```python
from ez_config_mgt import BaseConfig

class MyToolConfig(BaseConfig):
    def __init__(self):
        super().__init__('mytool', default_conf = { 
            'config': { 'file': 'config', 'directory': './conf' }, 
            'mydefaults': { 'example': 'test' }})

config = MyToolConfig()

print(config)
```

Alternatively, you can first extend the default config. It's rather convenient if your package is made of multiple parts, each of them having its own configuration needs that you want to deal with in one single config.

```python
from ez_config_mgt import BaseConfig, extend_default_config

extend_default_config({'mydefaults': { 'example': 'test' }})

class MyToolConfig(BaseConfig):
    def __init__(self):
        super().__init__('mytool')

config = MyToolConfig()

print(config)
```

## Acknowledgements

This is quite simple stuff that was written to speed up config management for internal needs. It's published to be criticized, of course, but mainly to make reuse and deployment easier.