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.

  • --override -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: 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 override 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.

7. Roadmap

  • Improve documentation and test coverage.
  • Configure sphinx to build the docs automatically.
  • Expose all api as a CLI interface
  • Add new customization options.

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.38.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

mloq-0.0.38-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mloq-0.0.38.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1

File hashes

Hashes for mloq-0.0.38.tar.gz
Algorithm Hash digest
SHA256 8fe4b1e7c4a7bf42541823be68aad58d735a92945a86ef87a94795f4fd5f92ad
MD5 6edeed1f6d24d73188e23a76393855f9
BLAKE2b-256 e4fcf2264c76700bb91ab00e46a8db88c306967ea4f33d1f50c7348c43699d83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mloq-0.0.38-py3-none-any.whl
  • Upload date:
  • Size: 51.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1

File hashes

Hashes for mloq-0.0.38-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8d45b28c4d141ebc72a8bafbdfe6811af8baf760d538101bdefba57212c612
MD5 020e331ed45337c17fb4a9fb9e19de73
BLAKE2b-256 f1621829d2f15e8564398e9f4bb027a1d29fb503a2e6fdf34ebc6c3de635e6f3

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