mozmlops
A package for getting your models into production!
For the Model Orchestration/Experiment Evaluation Flow Template
You'll find a README in the src/mozmlops/templates directory!
Installation for use
You can install the library with pip install mozmlops.
Installation for local testing and contributing
Steps:
- Clone this repository
cdinto the repository- Start up a virtual environment:
python -m venv env
source env/bin/activate
python -m pip install poetrypoetry install
Running tests
Linting:
Run ruff check to find style issues and ruff check --fix to fix many automatically.
Unit tests:
Run pytest from the top-level directory.
Integration tests:
You need to be logged into GCP to run the integration tests; you can use the gcloud CLI command gcloud auth login.
Run the integration tests with pytest -m integration.
Usage
An example import line (in fact, the only one currently implemented) would be:
from mozmlops.storage_client import CloudStorageAPIClient
at the top of your favorite Python file, or in a python console.
From there, you can try running this line:
store = CloudStorageAPIClient('some-project-name', 'some-bucket-name')
To make sure the import worked.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
mozmlops was created by Mozilla MLOps. It is licensed under the terms of the Mozilla Public License.
Credits
mozmlops was created with cookiecutter and the py-pkgs-cookiecutter template.
Metadata
Release files for mozmlops 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mozmlops-0.1.4.tar.gz | 1.5 MB | Without provenance | Details for mozmlops-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mozmlops-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for mozmlops-0.1.4-py3-none-any.whl |
Total release size: 3.1 MB
Release files / mozmlops-0.1.4.tar.gz
| Download URL | mozmlops-0.1.4.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fd34230e0d287f9eef7eb444160cc5bbb52ace5160771c0cfa15f50080322aa
|
|
BLAKE2b-256 checksum How to use checksums |
c34752e6ff3f7a874e58520c5cd8fe6201306cc4745177e559469e380c32d093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.0 Darwin/22.6.0
|
Release files / mozmlops-0.1.4-py3-none-any.whl
| Download URL | mozmlops-0.1.4-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ce0f88cc201347b87b090f104216404d369e7fe479c5b82e5f1b586c9a05ed1
|
|
BLAKE2b-256 checksum How to use checksums |
38cefaca15bd830fedee811e9e8c0939d5b623529aa09dc47a2d12eea7bc5714
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.0 Darwin/22.6.0
|
Security for mozmlops 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.