Add your description here
Project description
MLOps Quality Assurance
This repository provides tools for quality assurance in MLOps projects, focusing on code and dependency best practices for Python and Jupyter notebooks.
Features
- LibraryChecker: Scans Jupyter notebooks for unpinned pip installs to ensure reproducibility.
- CLI: Command-line interface for running quality checks (see
src/achs_mlops_quality/cli.py). - Utilities: Helpers for finding Python scripts and notebooks.
Project Structure
mlops_quality_assurance/
├── main.py
├── pyproject.toml
├── pytest.ini
├── README.md
├── uv.lock
├── src/
│ └── achs_mlops_quality/
│ ├── __init__.py
│ ├── cli.py
│ ├── models/
│ │ ├── __init__.py
│ │ └── library_checker.py
│ └── utils/
│ └── __init__.py
└── tests/
└── unit/
└── test_library_checker.py
Installation
- Clone the repository:
git clone <repo-url> cd mlops_quality_assurance
- Install dependencies (using uv or pip):
uv sync
Usage
LibraryChecker
You can use the LibraryChecker class to scan notebooks for pip install issues:
from achs_mlops_quality.models.library_checker import LibraryChecker
checker = LibraryChecker(src_path="path/to/your/notebooks")
checker.analize_notebooks()
print(f"Issues detected: {checker.issues_detected}")
CLI
A command-line interface is available. Run:
uv run main.py --help
Testing
Run unit tests with pytest:
uv run pytest
Contributing
Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlops_quality_assurance-0.1.1.tar.gz.
File metadata
- Download URL: mlops_quality_assurance-0.1.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a14a9ae5c062852273e9f810f80a67830074a72e8f3e29523b47b0f3e600aab4
|
|
| MD5 |
76875e539db31f86ec720fda4dd13721
|
|
| BLAKE2b-256 |
8b9281b5abbf41fe91a26c64614dca115206e27bbdd840f99aab0fce19c12995
|
File details
Details for the file mlops_quality_assurance-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mlops_quality_assurance-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d4634c328b2d6d0ad9344200df7d7f65eefb86083274d86d915fff75724392
|
|
| MD5 |
0c0b6d6bc41267272d0a683e3485d77d
|
|
| BLAKE2b-256 |
66be4d6cc73483ff0ed6a1049c12f0982621d95a77ad11b369769002c5083030
|