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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pynavio-0.1.1.tar.gz
  • Upload date:
  • Size: 63.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pynavio-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31eb4df4e17e8649136d209dc52d4629d4bdf27a2d52c7929e07cb5912980a5b
MD5 272f059c8bbde1e1d90d87ee1003aee6
BLAKE2b-256 f72c95b9bf5260db1167bfa7774ee2b3c54e83a8b44997363cfea5fb579472fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynavio-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pynavio-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e159dff53f1bd519941b80078be8b1e9d7094b3368be152fa7f0e9260f97c44c
MD5 fc6a671abaeeb442c1caf53d6ff76054
BLAKE2b-256 b45a3894813f580776f1496a0d28e6731689d4e5379f6e1fff26bf2f999a8f3d

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