Metadata-Version: 2.3
Name: corelibs-search
Version: 1.0.0
Summary: CoreLibs Data Search
Author: Clemens Schwaighofer
Author-email: Clemens Schwaighofer <clemens.schwaighofer@omc.com>
Requires-Dist: jmespath>=1.1.0
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# CoreLibs Python Search support

This is part of the Python CoreLibs

## Overview

Search in data support, like find entries in lists, not based on jmespath searchs

## Install

```sh
uv add --index opj-pypi=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ corelibs-search
```

## Usage

The following entries are avaiable

- corelibs_search.data_search

### PROJECT_METHODS usage

```py
from corelibs_<project>.<project> import <something>

<code>
```

### PROJECT_METHODS examples

PROJECT_USAGE examples

## Development

### UV setup

uv must be [installed](https://docs.astral.sh/uv/getting-started/installation/)

### Python venv setup

After clone, run the command below to install all dependenciss

```sh
uv sync
```

### Build and Publish

```sh
uv build
uv publish --index opj-pypi --token <gitea token>
```

### Python tests

All python tests are the tests/ folder. They are structured by the source folder layout

run them with

```sh
uv run pytest
```

Get a coverate report

```sh
uv run pytest --cov=<project>
uv run pytest --cov=<project> --cov-report=term-missing
```

### Other tests

In the test-run folder usage and run tests are located, runt them below

```sh
uv run test-run/<script>
```
