Skip to main content

A package for processing YAML in Databricks

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

db_model_trainer-0.1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

db_model_trainer-0.1.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file db_model_trainer-0.1.2.tar.gz.

File metadata

  • Download URL: db_model_trainer-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for db_model_trainer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 86ecc43389eb35f2e41032d78a3278f50246c32bdb56b1918a515505461786a4
MD5 85fb804437e359677b04241e2439c3f4
BLAKE2b-256 3703fdb0b48370f9dfeb1e63602211d70c54a1623069ac4cd5a4f90039de7a2a

See more details on using hashes here.

File details

Details for the file db_model_trainer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for db_model_trainer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c11d17ee3080e841e16246c3583fef96da5fb8d161b3708869d029be233d127
MD5 65bf5a0f54703615f546f2e3479905e7
BLAKE2b-256 eeacddcc5d319a3d72f27799d5dc7ef2e5b5dee810981040e9fa1edf15bedc82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page