Skip to main content

makina-runway

Project description

Software Development Kit

  • support only python

Goal

  • mlflow를 사용하는 사용자들이 import만 변경하여 runway에 logging하는 방식을 제공한다.
  • runway sdk 는 mlflow 의 interface/arguments 를 최대한 맞추는 방향으로 구현해야 한다.
# import mlflow
from runway import mlflow

with mlflow.start_run() as run:
    mlflow.log_param()

mlflow.sklearn.save_model()

Install

  • makina 사내 pypi server에서 install 합니다.
  1. pip install

    # pip install
    pip install --index-url http://pypi.makina.rocks/simple/ --trusted-host pypi.makina.rocks runway
    
    pyproject.toml의 version 수정 후 테스트 시
    pip install --index-url http://pypi.makina.rocks/simple/ --trusted-host pypi.makina.rocks mrx-runway=={{version}}
    
  2. poetry 사용

    1. pyproject.toml에 사내 pypi source 추가

      [[tool.poetry.source]]
      name = "mrx"
      url = "http://pypi.makina.rocks/simple/"
      default = true
      
    2. poetry add & install

      poetry add runway
      poetry install
      

Publish

  • 정식 version은 runway repo의 tag로 관리됨
  • pyproject.toml 파일의 version은 developer의 test를 위한 pseudo-version 임
  • local에서 publish test는 make command 사용
    # version patch, build & publish 한꺼번에 수행
    make publish-dev
    

How to test in local environment

  • sdk 개발시 local 에서 unit test 실행방식은 아래와 같습니다. utest 시에는 다양한 mlframework package 가 설치되니, 별도의 명령어보다는 makefile 의 recipe 를 사용하시기 바랍니다.
make utest
```bash

## How to develop
- sdk 개발을 위한 `python` 환경을 하나  생성합니다.
- edit 모드로 sdk를 설치 합니다.
```bash
pip install -e .
  • /etc/hosts에 minio관련 host를 추가합니다.
  • misc/gw.yaml, misc/vs.yaml을 수정하여 배포합니다.
  • prepare_develop.sh파일에 BACKEND_URL, MLFLOW_URL, MINIO_URL를 환경에 맞게 수정합니다.
  • prepare_develop.sh를 실행합니다.
./prepare_develop.sh
  • 실행
DEPLOY_TARGET=dev python examples/sample_log_model.py

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

mrx_runway-0.0.2410021024-cp310-cp310-win_amd64.whl (55.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

mrx_runway-0.0.2410021024-cp310-cp310-macosx_11_0_arm64.whl (857.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mrx_runway-0.0.2410021024-cp310-cp310-macosx_10_15_x86_64.whl (927.6 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mrx_runway-0.0.2410021024-cp39-cp39-win_amd64.whl (55.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

mrx_runway-0.0.2410021024-cp39-cp39-macosx_11_0_arm64.whl (858.3 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mrx_runway-0.0.2410021024-cp39-cp39-macosx_10_15_x86_64.whl (928.4 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mrx_runway-0.0.2410021024-cp38-cp38-win_amd64.whl (55.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

mrx_runway-0.0.2410021024-cp38-cp38-macosx_11_0_arm64.whl (863.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mrx_runway-0.0.2410021024-cp38-cp38-macosx_10_15_x86_64.whl (930.1 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

Details for the file mrx_runway-0.0.2410021024-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3424f20a4bc5cff908d59cddb1936e93e52f9f13d86b2378b3dab88c70036254
MD5 05a9827c4b8e47d8559f3c1ddd30c075
BLAKE2b-256 ab13c59069c954a3cb169fcf1e20f66462f119fb30347d56ba22c3c4c0683098

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ce41397b63b5d5eed21bdbe50acf6caee57da581637d3f3f0792565617aeb14
MD5 61e7773fd0fc3621763407bbc7f9964e
BLAKE2b-256 93fbbbad009282d3f62bbe28d59228da8718e68fbe77eb74682c30e40e2ca7e0

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d09b004008a7d325b3ce547ed5e63c1c1f96cd9505e22c5a85f9d1fb5bff08b
MD5 068106b68dd39b647fb9b140aab3e086
BLAKE2b-256 f7943191c2576bdbd5f19175947f5463f2805ac61cead8bc3581524b47506098

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8dca4bc3e6dbd9af2063134eedda0d94f4a13ccd3e8a3c843e0ee4ded4b7ab41
MD5 add6ad711482eab0441e131ecef60214
BLAKE2b-256 2367b850aafb3e100ce2747ac5765bc2b91665b41e8fe0d8e9140bb1b71cc17a

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 002a90a7f1d69c229e966f945c15d36e06221165e2ae0da324bd1a3ce5c225e7
MD5 6ed3fdae5b5dfc1203bafb3e233d0168
BLAKE2b-256 ea97d60514cd081aa468764c6d68319271801360eae04800242e3ec644736f6a

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c736c2bb879b70ff0b61313e19f663b9af23fc8876f52d44f0481b1429c4a4ea
MD5 a29c89813daef2d4bbde42242102bef6
BLAKE2b-256 ea7328791debbbe93c41d020c852a2124337bff329269cf4ea996d76ed4e7774

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6edb7a36cbd20e53388ec48ea45d9b8623ab618bf0b64b28d988e1c3fe7046f0
MD5 e1d48d04d114566e572e4efd348204b5
BLAKE2b-256 1a520be00a37a650c4665a0fa3c83caf03116c06e788c018949be673f1769e5a

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9f8bf4282154285eb117b7e4e674248666d2478ed5d3af9afcd084946159dea4
MD5 608bdbb77808b9814954f3c3b40db83f
BLAKE2b-256 005cb2c79fc49ba4acb7c43cb4205476f4c6ec648add2734eef099a4f0d1b409

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b08341dfc950320f92ac37a615f494c7d5c523272d1755b9ba000b04e5fe9eb9
MD5 87af2a0377a5f131c747c712b381b130
BLAKE2b-256 d240a6bee4549f9e6cfa835cf3564f100972dcbce3de27b430c3a9d495add5ee

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f468ac32087e197b797b2b71e43319a4d700e01fc6e3484d6b126bf5293e06df
MD5 55976af5c13b3e5a4029b71c5b2e46c1
BLAKE2b-256 25c01f171aa53bb14df5ab9b1f94f1a6b0aeccb94b3f9bcdac06f68ae35e063f

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 eed6395c2e390bb99fea5b128adcbb899a63cfaf82b1ae7d74b00678b8ecdc65
MD5 b0ffab79b8c60799c123da20dbb5cdc0
BLAKE2b-256 e1a851c083668a3b1bd6ff5ebf45682bf8fe8ffd5035f744e455a7509d9d687c

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5b8ffa1d5c27c837b71d17497a0d35ebbc66cfcdd63aa764873180635845ebf
MD5 3135d811efe998dccf7b64fedc6dcad9
BLAKE2b-256 041fa1a00b9012c62e45b533bc76d5e167ef07eaebf7582e1a4f864986fdbf2f

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a2c89e83c6b9ebcacc504254271141161bcdb51c18a6ce1a74c4fb94ff1b685c
MD5 06da4ea6895be65a0772dabac48155b0
BLAKE2b-256 88931890a1e43fffe7ad2c1d8b55bfcb8cc258db23640363e403a84eb0e2ab93

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fcdd3b9793ca80cf7b5b1199d6a5e0899382755fee910715011b5325c0abd217
MD5 9a00d7c44f98270f5764b641502dda70
BLAKE2b-256 afcb2e1bf2d21a8cb42650dfcb4fa17e5b301a6067e102eb324046252ccb150d

See more details on using hashes here.

File details

Details for the file mrx_runway-0.0.2410021024-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mrx_runway-0.0.2410021024-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 78b13974b04bc621daca8e153170f988167dd6c61297e41de6156a6f8e88d47e
MD5 5e09dedc82d22d6f304715e2b74e450a
BLAKE2b-256 6889978f7c9d75d720642fa938c13fa0e1254cf9824f566fcc5a50410ac0b8fc

See more details on using hashes here.

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