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

How to develop

  • sdk 개발을 위한 python 환경을 하나 더 생성합니다.
  • edit 모드로 sdk를 설치 합니다.
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-1.5.0-cp310-cp310-win_amd64.whl (57.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

mrx_runway-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mrx_runway-1.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

mrx_runway-1.5.0-cp310-cp310-macosx_11_0_arm64.whl (906.1 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mrx_runway-1.5.0-cp310-cp310-macosx_10_15_x86_64.whl (980.0 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

mrx_runway-1.5.0-cp39-cp39-win_amd64.whl (57.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

mrx_runway-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mrx_runway-1.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

mrx_runway-1.5.0-cp39-cp39-macosx_11_0_arm64.whl (906.9 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mrx_runway-1.5.0-cp39-cp39-macosx_10_15_x86_64.whl (981.1 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mrx_runway-1.5.0-cp38-cp38-win_amd64.whl (57.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

mrx_runway-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mrx_runway-1.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

mrx_runway-1.5.0-cp38-cp38-macosx_11_0_arm64.whl (911.7 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

mrx_runway-1.5.0-cp38-cp38-macosx_10_15_x86_64.whl (981.7 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aa31cbb27df1641ef937504ad83de9f21357b3fc9347015516bb32a875f63559
MD5 25e5e5ee17fbf54d36369fa6ed07a41d
BLAKE2b-256 2af7c708c9d5fd714f971bbf3e5dfaccf0015c68afb79ceff17ed8383009358f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d16ca01b826a38fe0d5712f063402161a0aecf7a0d99d1592b1950c2654cd56d
MD5 e4602bf38ab15b71a2ed43956f5c8121
BLAKE2b-256 e2072c8df1f191f5e16dc1c39f2cf8fca301bc937155609db93e8fd452bfd687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e35b92e91ffaf5855220b6955a120ee421b9cb0881b72a8669aed6b48845a51
MD5 c535c9eb828ac49fa1e9f2d1540ca537
BLAKE2b-256 a1e389a610d0ee8796b295419f945464a4c180733ee9ceb0f5e286f33ee6e79d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06d687003fbfddbd84a42be94b05577524ed6a254c79a5319c667fbd90f06c32
MD5 d3fbfe94d73920b0d6b93fee60c0e78d
BLAKE2b-256 dfaa86cc9d41e94f04d413958a33e7bf5431c56c20d8c97c9eb309f53e6cad90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 73ff2160605e1784faa8f29d78e2dfbfddce0a0e8a821c8f3cdc09cb7c899f98
MD5 ac886fb9630d36965da4408f1328e635
BLAKE2b-256 5380c0ef21d6cb0042bf6ac9391b8960721299bd41b2ebc84a3a0707213cdbea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c3e28c22dde241367e15ebceb3c8473cdc28eaccb4960222377f55f9a5f479cc
MD5 c31cddf3bab2cf2a4868d2cca311c503
BLAKE2b-256 770ff2a092caa9c5f58561138b34e3ff341f232fd55240951ea9119511ccb56d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 380837d3f7e30a7d136624634e783091d3632e7e01c5f440c699d39a0752ebff
MD5 de134441b3480822bebd51c69bd563cd
BLAKE2b-256 9fd6b9092ccf6e822500312fdd6ffc1ce8a0fb65a2cdfc8637044ae159358f3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 50431bcbfed0fc310cc19ac78c69a80ad51d3ea6a7d06213ccb70e7b8d1e1e5b
MD5 17bd40bf168acfe1ac4fa4cba6baf8b9
BLAKE2b-256 9b236137108b395f3f917664f73e50003b332726b6bd308a02eca77a0562f34b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce159ab9d53ba102d98d45dac61f4ea0050b476975a907834a35a139e783f395
MD5 5139199238b85a1a45e16cc1ebd98212
BLAKE2b-256 d04a94874f5844fb699641da1263a4be49a6d6864f07c734e078eb81be49e4a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ad3a67c3290c78d31f19ca7c0cb4a083da91797b7cd0b5e2d224567a554fbc0c
MD5 a2d1c39677efa985c74f78e39ecb66c1
BLAKE2b-256 6152fe45bcb030d8f3cb937a358c86ac4a48fbcf5cf2317203b5bf0c814782ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4330a2d673e8392aa8325cbcfd84b7fc8b42d9011924a0442660a3090d54d9d3
MD5 a9dde293a923859eafd6d91d0d04ac57
BLAKE2b-256 50de703b11f9272c46582143cdbe6c4dda373836d9965f2477070a9aef1df1ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 43ffcb5b12f5add97780a925cf11070efacf19eb757049d435cebf1ab021b16d
MD5 1e2d7ed3f99c23fd7f4d3f406fe19b51
BLAKE2b-256 536827862a8facb3742afaf6536598748a6b9a944893d0acb83edb9bccef9fd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2489585af7aa8a0d0ccdb13a610098bf684cec78b373aaca2beec1eba654de52
MD5 2f1b5e6721116c763ec7062297947665
BLAKE2b-256 10491c4f691e1364d22c8d53aa7f2c1838a579d4f5c8f7752ba5f950b6e61569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4acb63e053ee06279fde10c10a34878d84ed46d0bd49923c352ddd401112a202
MD5 5c59f1bbcd8b4bc175e962ea8e811a95
BLAKE2b-256 e340e7853a77de4b4576349a7854ec5fb7215383ff4a700b99dc5aa757bfb907

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mrx_runway-1.5.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ab7947d2be76d7b78b731d7f58fc88285977d549a55adac1de8e97d360864cb9
MD5 ebbdd2d4258183e85046d0cfeaa024f2
BLAKE2b-256 8b168ca5815c938cac0285d50c40e52603a1962931d4fb74a690d3d784cc4bc1

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