Metadata-Version: 2.4
Name: db-model-trainer
Version: 0.1.1
Summary: A package for processing YAML in Databricks
Home-page: https://github.com/BenMacKenzie/db-model-trainer.git
Author: Ben Mackenzie
Author-email: Ben Mackenzie <ben.mackenzie@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/db-model-trainer
Project-URL: Bug Tracker, https://github.com/yourusername/db-model-trainer/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: click>=8.0.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# DB Model Trainer

A Python package for processing YAML in Databricks environments.

## Installation

```bash
pip install db-model-trainer
```

## Usage

### As a Python Package

```python
from db_model_trainer import process_yaml

# Example YAML string
yaml_string = """
name: test
version: 1.0
"""

# Process the YAML
result = process_yaml(yaml_string)
print(result)
```

### Command Line Interface

The package provides a command-line tool `yaml-processor` that can process YAML files or input from stdin:

```bash
# Process a file
yaml-processor input.yaml -o output.yaml

# Process from stdin
echo "name: test" | yaml-processor

# Get help
yaml-processor --help
```

## Development

To install in development mode:

```bash
pip install -e .
```

## License

This project is licensed under the MIT License - see the LICENSE file for details.



python -m build
python -m twine upload dist/*


