360 Secure SkillHub
360 安全技能中心

MLOps Project Initialization

通过 Shell 脚本初始化 MLOps Python 项目:创建 src/ 布局、基于 uv 的 pyproject.toml、.gitignore、VS Code 设置并初始化 Git 仓库;同时提供 pyproject.toml 与 VS Code 设置参考模板。运行需 bash、git,安装 uv 时需联网。

分类:开发
guohongbin-git
guohongbin-git
热度 22.01
最近更新 2026-05-17 12:17:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add guohongbin-git/mlops-initialization-cn
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
mlops-initialization-cn
version
1.0.0
description
MLOps project initialization with uv/git/VS Code best practices
license
MIT

MLOps 项目初始化 🚀

Setup new MLOps projects with modern Python toolchain.

Features

1. Project Initialization 📦

Create complete project structure:

./scripts/init-project.sh my-mlops-project

Creates:

  • src/ layout
  • pyproject.toml with uv
  • .gitignore (Python/MLOps)
  • .vscode/settings.json
  • Git repository

2. Configuration Templates 📋

Copy reference configs:

# pyproject.toml template
cp references/pyproject.toml ../your-project/

# VS Code settings
cp references/vscode-settings.json ../your-project/.vscode/

Quick Start

# Initialize new project
./scripts/init-project.sh my-project
cd my-project

# Add dependencies
uv add pandas numpy scikit-learn

# Sync environment
uv sync

# Verify
uv run python -c "import sys; print(sys.executable)"

What You Get

  • ✅ src/ package layout
  • ✅ Locked dependencies (uv.lock)
  • ✅ Ruff + MyPy configured
  • ✅ VS Code settings
  • ✅ Git repository

References

  • references/pyproject.toml - Full config example
  • references/vscode-settings.json - IDE settings

Author

Converted from MLOps Coding Course

Changelog

v1.0.0 (2026-02-18)

  • Initial OpenClaw conversion
  • Added init script
  • Added reference configs