Skip to main content

Python lib for navio

Project description

pynavio

https://img.shields.io/pypi/v/pynavio.svg

Python lib for navio

  • Free software: MIT license

Features

  • Pynavio.Client, navio API client, allows to upload models and data, deploy and retrain models etc.

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

Documentation

The official documentation is hosted on https://navio.craftworks.io : https://navio.craftworks.io/docs/guides/pynavio/

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.

0.0.2 (2021-12-29)

  • allows user provide modules as pip strings

  • brings possibility to infer package dependencies(pip strings) using the infer_external_dependencies()

  • handle data frame input for example request

  • updates the default conda channels: remove anaconda and pytorch and add conda-forge

  • adds and updates the dependencies

  • brings gpu related changes

  • brings example models (tabular etc.)

  • fixes the issue with pigar running for 10 minutes when the input path contains venv

0.1.0 (2022-01-24)

  • adds model helpers

  • brings more example models: pump leakage model

  • removes the need to download the data from kaggle, refers to local data dir for data instead

  • adds credits to README, adds LICENSE

0.1.1 (2022-02-07)

  • adds credits for kaggle notebook’s code parts usage

  • brings more example models: car price model

0.1.4 (2022-08-25)

  • API Client

  • adds possibility to infer the dependencies used in the file only

  • extra docs for example models

  • moves the data dir out into examples

  • updates dependencies

  • fixes the missing import of the currently available models

  • fixes mlflow==1.27.0 circular import error

  • fixes pynavio FileNotFound error mlflow-1.26.0

  • fixes _fetch_data example request path according to mlflow-1.26.0

  • sets protobuf version to fix failing tests

  • fixes to_navio() to support kedro path

0.1.5 (2022-09-15)

  • fixes the documentation link

  • attempts to remove the build badgegi

  • removes installation for development section form readme

  • fixes repository on the pypi page

  • adds history

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynavio-0.2.2-py2.py3-none-any.whl (21.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pynavio-0.2.2.tar.gz.

File metadata

  • Download URL: pynavio-0.2.2.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pynavio-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3246e26e1ae7e0fb64ee5369b4f3ebc8b4cf5fef36b0fb933662d579f55323c8
MD5 9b318e2a5bd5270a57b1129f1807789e
BLAKE2b-256 41d72b08e8aaaf897f6d392d5b8a166ccd0579d469e6469036774dc2e698efad

See more details on using hashes here.

File details

Details for the file pynavio-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pynavio-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pynavio-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a4f89ea9fd49db23b869b7a4e3f602f5d5a274d66a90765fe978ebb9229ca18e
MD5 f55b15f13fcd80bda86faadf679aad5e
BLAKE2b-256 70f23f48d96479334d1781b70e3ee32ff0b7e19fe19fb0c05787d9b459cfcddb

See more details on using hashes here.

Supported by

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