Skip to main content

Python lib for navio

Project description

pynavio

https://img.shields.io/pypi/v/pynavio.svg https://img.shields.io/travis/craftworksgmbh/pynavio.svg Documentation Status

Python lib for navio

  • Free software: MIT license

Features

  • Pynavio.mlflow.to_navio function calls mlflow.pyfunc.save_model function, saving a model zip file as required by navio.

  • Pynavio.infer_external_dependencies is a helper function that infers the external dependencies based on the file path. For its limitations please refer to its doc string.

  • Pynavio.infer_imported_code_path is a helper function that infers the imported code paths based on the file path and the root path. For its limitations please refer to its doc string.

  • Pynavio.make_example_request generates a request schema for a navio model from data.

Installation for development

  • Create dedicated virtual environment: conda create –name pynavio pip python=3.6

  • run:

    $ TODO: add git repo here
    $ make install (Uses pip to install package only in environment)
  • To install requirements necessary for development run:

    $ pip install -r requirements_dev.txt

Versioning

Run (replace “part” with either major, minor or patch):

$ bumpversion part

Deploying

Run (replace part with either major, minor or patch):

$ bumpversion part
$ git push
$ git push --tags
$ make release

Examples

To build all example models, use:

$ cd scripts && make

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Examples/models uses code parts from Open Source project mjain72/Condition-monitoring-of-hydraulic-systems-using-xgboost-modeling.

Examples/models uses code parts from Open Source project https://www.kaggle.com/maciejautuch/car-price-prediction

History

0.0.1 (2021-09-07)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynavio-0.1.1.tar.gz (63.0 MB view hashes)

Uploaded Source

Built Distribution

pynavio-0.1.1-py2.py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 2 Python 3

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