Skip to main content

Package for initializing ML projects following ML Ops best practices.

Project description

ML Ops Quickstart

Documentation Status Code coverage PyPI package Code style: black license: MIT

ML Ops Quickstart is a tool for initializing Machine Learning projects following ML Ops best practices.

Setting up new repositories is a time-consuming task that involves creating different files and configuring tools such as linters, docker containers and continuous integration pipelines. The goal of mloq is to simplify that process, so you can start writing code as fast as possible.

mloq generates customized templates for Python projects with focus on Maching Learning. An example of the generated templates can be found in mloq-template.

1. Installation

mloq is tested on Ubuntu 18.04+, and supports Python 3.6+.

Install from pypi

pip install mloq

Install from source

git clone https://github.com/FragileTech/ml-ops-quickstart.git
cd ml-ops-quickstart
pip install -e .

2. Usage

2.1 Command line interface

Options:

  • --file -f: Name of the configuration file. If file it's a directory it will load the mloq.yml file present in it.

  • --overwrite -o: Rewrite files that already exist in the target project.

  • --interactive -i: Missing configuration data can be defined interactively from the CLI.

Usage examples

Arguments:

  • OUTPUT_DIRECTORY: Path to the target project.

To set up a new repository from scratch interactively in the curren working directory:

mloq setup -i .

To load a mloq.yml configuration file from the current repository, and initialize the directory example, and overwrite all existing files with no interactivity:

mloq setup -f . -o example

ci python

5. License

ML Ops Quickstart is released under the MIT license.

6. Contributing

Contributions are very welcome! Please check the contributing guidelines before opening a pull request.

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

mloq-0.0.74.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

mloq-0.0.74-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file mloq-0.0.74.tar.gz.

File metadata

  • Download URL: mloq-0.0.74.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mloq-0.0.74.tar.gz
Algorithm Hash digest
SHA256 c46a3664cd8dcc6fb9c1be3951d2116d874e0116813614f752135ddf9ac97769
MD5 a92fa5e1fdf289e1605a74eb6fdb70eb
BLAKE2b-256 7518b9182e6a6c0ade7d3c46df91e9c1aa1d44489ea5ea47caf6f9fc014b4127

See more details on using hashes here.

File details

Details for the file mloq-0.0.74-py3-none-any.whl.

File metadata

  • Download URL: mloq-0.0.74-py3-none-any.whl
  • Upload date:
  • Size: 85.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mloq-0.0.74-py3-none-any.whl
Algorithm Hash digest
SHA256 f4838a5f203aa31ec44d7fa7d99c4fb3de9c22d4f8982104d8a8e1cd62c94998
MD5 2a554a4b386f03bf5c792a194fd6d856
BLAKE2b-256 b9c3ea36333f48873ca5cb59f38052e5c709b7df430f1b8fc46464062c7e2a66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page