semvec/pypi-packages huggingface dataset:
adpcli 0.1.7
Artifact Provisioning Engine (ADP Engine) - Provisions artifacts from proyecto.yml
Requires Python: >=3.12

# ADP Engine (Provisioning)

Python artifact provisioning engine that reads a YAML configuration file and provisions resources across various development platforms.

## Installation

### Using Make (Recommended)

```bash
make install
```

This will install both production and development dependencies.

### Manual Installation

```bash
# Production dependencies
pip install -r requirements.txt

# Development dependencies (optional)
pip install -r requirements-dev.txt
```

## Usage

### Using Make (Recommended)

```bash
# Run with default config (proyecto.yml)
make run

# Run with custom config file
make run CONFIG=my-config.yml
```

### Manual Execution

```bash
python main.py [proyecto.yml]
```

If no file is specified, it will look for `proyecto.yml` in the current directory.

## Development

### Linting

```bash
make lint
```

Runs flake8 to check code quality and style.

### Code Formatting

```bash
make format
```

Formats code using black.

### Clean Cache Files

```bash
make clean
```

Removes Python cache files and build artifacts.

### Run Tests

```bash
make test
```

Runs tests (if available).

### Available Make Targets

Run `make help` to see all available targets.

## Project Structure

- `orchestrator.py`: Main orchestrator that reads the YAML and coordinates calls
- `github_client.py`: Client for interacting with the GitHub REST API
- `main.py`: CLI entry point
- `requirements.txt`: Production dependencies
- `requirements-dev.txt`: Development dependencies (linter, formatter, etc.)
- `Makefile`: Convenient commands for common tasks
- `.flake8`: Flake8 linter configuration
- `pyproject.toml`: Black formatter and pytest configuration

## Configuration

The `proyecto.yml` file must follow the structure specified in the project documentation.

## Notes

- GitHub token is temporarily hardcoded in `orchestrator.py`
- Organization name must be specified in each call (for now)
lid-search 0.2.0
Search in the lid database and return the new version number
Requires Python: <3.15,>=3.7

# LID Search
![Version 0.25.0](https://img.shields.io/badge/version-0.2.0-blue?style=plastic)
![Language Python 3.14](https://img.shields.io/badge/python-3.14-orange?style=plastic&logo=python)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)

Is a library to manage the version number of the PDS4 products coming from space missions.

## Installation

### Using pip

To install the library using pip you can use the following command:

```sh
python3 -m pip install -U pip
python3 -m pip install lid_search
```

### Using poetry

The library could be added to the poetry project using the command:

```sh
poetry add lid_serach
```

## Usage

### Database initialization

To initialize the database you can use the following instructions:

```python
>>> from lid_search import LidDB

>>> db = LidDB(jFile='input/data.json',temporary_folder='tmp',cache=False)
```

where: 
- *jFile* is the database in JSON format
- *temporary_folder* is the folder where will be stored the temporary SQLite3 database. The default is *./tmp*
- *cache* is a boolean flag and is used to eable the use a cache version of the database.

### Database interrogation

Now You can search the current version od the the lid using the *search*.

```python
>>> lid="urn:esa:psa:bc_mpo_simbio-sys:data_raw:sim_raw_sc_hric_cust0_internal_cruise_ico11_2024-04-08_001"
>>> info=db.search()
```
The output is a  [*semantic_version_tools*](https://pypi.org/project/semantic-version-tools/) class and the next version value could be obtained adding 1:

```python
>>> info 
0.1
>>> info += 1
>>> info
0.2
```

### Database closing

To close the database you can use the instructions:

```python
>>> db.close(preserve=False)
```

The keyword *preserve* is a bool that enable the preservation of the SQLite database, that could be recalled with the option *cache* in the database initialization.