Skip to main content

DB Model Trainer

A Python package for processing YAML in Databricks environments.

Installation

pip install db-model-trainer

Usage

As a Python Package

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:

# 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:

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/*

Metadata

Release files for db-model-trainer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for db-model-trainer 0.1.2
File Size Uploaded
db_model_trainer-0.1.2.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for db-model-trainer 0.1.2
File Interpreter ABI Platform
db_model_trainer-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / db_model_trainer-0.1.2.tar.gz

Download URL db_model_trainer-0.1.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
86ecc43389eb35f2e41032d78a3278f50246c32bdb56b1918a515505461786a4
BLAKE2b-256 checksum
How to use checksums
3703fdb0b48370f9dfeb1e63602211d70c54a1623069ac4cd5a4f90039de7a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / db_model_trainer-0.1.2-py3-none-any.whl

Download URL db_model_trainer-0.1.2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c11d17ee3080e841e16246c3583fef96da5fb8d161b3708869d029be233d127
BLAKE2b-256 checksum
How to use checksums
eeacddcc5d319a3d72f27799d5dc7ef2e5b5dee810981040e9fa1edf15bedc82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page