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.1.tar.gz (4.4 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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: db_model_trainer-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 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.1.tar.gz
Algorithm Hash digest
SHA256 ef6ef4a4c18cc1a9d307e8efc270ddee4356cc4589c2161ef97858108aa1fb7c
MD5 c9a595dbcb9f6c15f3851213dbefd5c4
BLAKE2b-256 0c89bfad59f73c99adf2559a6972d48f64d1ad75cb4172d106daac45e78cd469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for db_model_trainer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e0713c35034f512bb9109e1fcec4665589a21f0423ac919e06a5a67986e4616
MD5 825cd961129a0939f264c791418e2778
BLAKE2b-256 4f412353b0b0f2cd501ea1739fb32778c4e75f8cca0cf50ab81beabb5acd10b4

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