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.4.tar.gz (24.0 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.1.4-py2.py3-none-any.whl (17.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pynavio-0.1.4.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/61.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.13

File hashes

Hashes for pynavio-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0d2eb59683146e4e5e0b15314b724dbfead4c6255111d30827efadc80c10d0d6
MD5 31afb4438153bc75e53318dda67af951
BLAKE2b-256 88cc28e3b31e7152962ac0d011f62023890179f204e7c509db22068c669da18d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynavio-0.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.1 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/61.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.13

File hashes

Hashes for pynavio-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8a6f79ced31211e73d2db4148a89e48f28c5f58709ac4d22727e695e2f11fc49
MD5 c6c7e1bec955563301720f54853501e5
BLAKE2b-256 bd8b6097b32fc0e04479b4d2c73f1bca21e67d54ea0b68a8e5dcd8878dc2353b

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