ts-ml-bundle


Namets-ml-bundle JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/satendra4u/ts-ml-bundle-cli
SummaryCLI tool to generate Databricks ML platform project structure with governance and best practices
upload_time2025-09-04 11:39:58
maintainerNone
docs_urlNone
authorSatyendra
requires_python<4.0.0,>=3.8.1
licenseNone
keywords databricks mlops ml-platform template cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Databricks ML Bundle CLI

A CLI tool to generate Databricks ML platform project structures with governance and best practices.

## Installation

```bash
pip install ts-ml-bundle
```

## Usage

Generate a new ML project:

```bash
ts-ml-init --name my-ml-project --workspace-host https://your-workspace.cloud.databricks.com --model-type segmentation --use-gpu
```

Or use the short command:

```bash
tml-init -n my-ml-project -w https://your-workspace.cloud.databricks.com -m classification
```

### Options

- `--name, -n`: Project name (required)
- `--output-dir, -o`: Output directory (default: current directory)
- `--workspace-host, -w`: Databricks workspace URL (required)
- `--model-type, -m`: Model type - classification, regression, segmentation, nlp, custom (default: custom)
- `--use-gpu`: Enable GPU configuration for training

## Generated Structure

The CLI generates a complete ML platform project with:

- **Multi-environment support** (dev/stg/prod)
- **Unity Catalog integration**
- **MLflow experiment tracking**
- **Quality gates and approvals**
- **CI/CD pipeline with GitHub Actions**
- **Cluster policies and security**
- **Modular Python package structure**

## Example

```bash
# Generate a computer vision project
databricks-ml-init \
  --name vista-segmentation \
  --workspace-host https://my-workspace.cloud.databricks.com \
  --model-type segmentation \
  --use-gpu

# Navigate to project
cd vista-segmentation

# Install dependencies
pip install -r requirements.txt

# Deploy to Databricks
databricks bundle validate --target dev
databricks bundle deploy --target dev
```

## Features

- ✅ **Governance-first**: Built-in security, permissions, and audit trails
- ✅ **Multi-environment**: Separate dev/staging/production environments
- ✅ **Model-specific**: Templates optimized for different ML use cases
- ✅ **Production-ready**: Includes serving endpoints, monitoring, and CI/CD
- ✅ **Unity Catalog**: Full integration with Databricks governance platform

## Development

```bash
# Clone repository
git clone https://github.com/yourusername/ts-ml-bundle-cli
cd ts-ml-bundle-cli

# Install with Poetry
poetry install

# Run locally
poetry run ts-ml-init --help
```

## Publishing to PyPI

```bash
# Build package
poetry build

# Publish to PyPI
poetry publish
```

## License

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/satendra4u/ts-ml-bundle-cli",
    "name": "ts-ml-bundle",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": "databricks, mlops, ml-platform, template, cli",
    "author": "Satyendra",
    "author_email": "skumar@tetrascience.com",
    "download_url": "https://files.pythonhosted.org/packages/c9/c9/a84f184ef885cec94b093dfc14b6d259997df1e759cb1113d04a852c0087/ts_ml_bundle-0.1.0.tar.gz",
    "platform": null,
    "description": "# Databricks ML Bundle CLI\n\nA CLI tool to generate Databricks ML platform project structures with governance and best practices.\n\n## Installation\n\n```bash\npip install ts-ml-bundle\n```\n\n## Usage\n\nGenerate a new ML project:\n\n```bash\nts-ml-init --name my-ml-project --workspace-host https://your-workspace.cloud.databricks.com --model-type segmentation --use-gpu\n```\n\nOr use the short command:\n\n```bash\ntml-init -n my-ml-project -w https://your-workspace.cloud.databricks.com -m classification\n```\n\n### Options\n\n- `--name, -n`: Project name (required)\n- `--output-dir, -o`: Output directory (default: current directory)\n- `--workspace-host, -w`: Databricks workspace URL (required)\n- `--model-type, -m`: Model type - classification, regression, segmentation, nlp, custom (default: custom)\n- `--use-gpu`: Enable GPU configuration for training\n\n## Generated Structure\n\nThe CLI generates a complete ML platform project with:\n\n- **Multi-environment support** (dev/stg/prod)\n- **Unity Catalog integration**\n- **MLflow experiment tracking**\n- **Quality gates and approvals**\n- **CI/CD pipeline with GitHub Actions**\n- **Cluster policies and security**\n- **Modular Python package structure**\n\n## Example\n\n```bash\n# Generate a computer vision project\ndatabricks-ml-init \\\n  --name vista-segmentation \\\n  --workspace-host https://my-workspace.cloud.databricks.com \\\n  --model-type segmentation \\\n  --use-gpu\n\n# Navigate to project\ncd vista-segmentation\n\n# Install dependencies\npip install -r requirements.txt\n\n# Deploy to Databricks\ndatabricks bundle validate --target dev\ndatabricks bundle deploy --target dev\n```\n\n## Features\n\n- \u2705 **Governance-first**: Built-in security, permissions, and audit trails\n- \u2705 **Multi-environment**: Separate dev/staging/production environments\n- \u2705 **Model-specific**: Templates optimized for different ML use cases\n- \u2705 **Production-ready**: Includes serving endpoints, monitoring, and CI/CD\n- \u2705 **Unity Catalog**: Full integration with Databricks governance platform\n\n## Development\n\n```bash\n# Clone repository\ngit clone https://github.com/yourusername/ts-ml-bundle-cli\ncd ts-ml-bundle-cli\n\n# Install with Poetry\npoetry install\n\n# Run locally\npoetry run ts-ml-init --help\n```\n\n## Publishing to PyPI\n\n```bash\n# Build package\npoetry build\n\n# Publish to PyPI\npoetry publish\n```\n\n## License\n\nMIT License\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "CLI tool to generate Databricks ML platform project structure with governance and best practices",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://github.com/satendra4u/ts-ml-bundle-cli",
        "Homepage": "https://github.com/satendra4u/ts-ml-bundle-cli",
        "Repository": "https://github.com/satendra4u/ts-ml-bundle-cli"
    },
    "split_keywords": [
        "databricks",
        " mlops",
        " ml-platform",
        " template",
        " cli"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0fe3045c4a34c0a2100222cee227e6a109b6781c228d4423c12b4bc54f87a64e",
                "md5": "6b6549227b58c935b2221e85a7b10044",
                "sha256": "f2b225667700fde2aa9e4fbcc0e4c230500ced8fbb0abfc542c102905fc1f2e3"
            },
            "downloads": -1,
            "filename": "ts_ml_bundle-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6b6549227b58c935b2221e85a7b10044",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.8.1",
            "size": 6560,
            "upload_time": "2025-09-04T11:39:57",
            "upload_time_iso_8601": "2025-09-04T11:39:57.317634Z",
            "url": "https://files.pythonhosted.org/packages/0f/e3/045c4a34c0a2100222cee227e6a109b6781c228d4423c12b4bc54f87a64e/ts_ml_bundle-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9c9a84f184ef885cec94b093dfc14b6d259997df1e759cb1113d04a852c0087",
                "md5": "847f89b72490a8e679df8d11d3c635ef",
                "sha256": "af215920e1cb6595ac69f08ed86223dbc5e1fbe6348857bdb6ec418c5afa59e4"
            },
            "downloads": -1,
            "filename": "ts_ml_bundle-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "847f89b72490a8e679df8d11d3c635ef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.8.1",
            "size": 5089,
            "upload_time": "2025-09-04T11:39:58",
            "upload_time_iso_8601": "2025-09-04T11:39:58.447782Z",
            "url": "https://files.pythonhosted.org/packages/c9/c9/a84f184ef885cec94b093dfc14b6d259997df1e759cb1113d04a852c0087/ts_ml_bundle-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-04 11:39:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "satendra4u",
    "github_project": "ts-ml-bundle-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ts-ml-bundle"
}
        
Elapsed time: 0.45407s