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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pynavio-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2c113fe3315d2d398d6948fd96ff94ae7f437a3abc99dea313d76ad06f906508
MD5 8b6c695e5efd1966ba55625ed1ae04b8
BLAKE2b-256 d6e0b5e478ace12379af03a3a84b95454500017e13927683219fcc3bf28b75fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynavio-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.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.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e96c525dbd0966905172a2f9df9504108d07bdbe64934df8d601725fadb73cb2
MD5 03a3f83efa94cd1dabfc10ae9486fe73
BLAKE2b-256 92d0c3def3d5bbc89e1bd0bc7cddbed8a8e58776ccf36440b68cbb0e8708b69d

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