Simple and flexible ML workflow engine
Project description
Katana ML Skipper
Overview
This is a helper library for Katana ML Skipper workflow product. The idea of this library is to wrap all reusable code to simplify and improve workflow implementation.
Supported functionality:
- API to communicate with RabbitMQ for event receiver/producer
- Workflow call helper
- Logger call helper
Author
Instructions
Version number should be updated in init.py and pyproject.toml
- Install Poetry
pip install poetry
- Add pika and requests libraries
poetry add pika
poetry add requests
- Build
poetry build
- Publish to TestPyPI
poetry publish -r testpypi
- Install from TestPyPI
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple skipper-lib
- Publish to PyPI
poetry publish
- Install from PyPI
pip install skipper-lib
- Test imported library from CMD
python -m skipper_lib
- Import EventReceiver
from skipper_lib.events.event_receiver import EventReceiver
- Import EventProducer
from skipper_lib.events.event_producer import EventProducer
Structure
.
├── LICENSE
├── poetry.lock
├── pyproject.toml
├── skipper_lib
│ ├── __init__.py
│ ├── __main__.py
│ ├── events
│ ├── __init__.py
│ ├── exchange_producer.py
│ ├── exchange_receiver.py
│ ├── event_producer.py
│ └── event_receiver.py
│ ├── logger
│ ├── __init__.py
│ └── logger_helper.py
│ ├── workflow
│ ├── __init__.py
│ └── workflow_helper.py
└── README.md
License
Licensed under the Apache License, Version 2.0. Copyright 2020-2021 Katana ML, Andrej Baranovskij. Copy of the license.
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 Distribution
skipper-lib-1.1.5.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file skipper-lib-1.1.5.tar.gz
.
File metadata
- Download URL: skipper-lib-1.1.5.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.7 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77e7f3e3ff2ea8dc7dc392b109759b1f3c158c8cbcc5b69c95c4c011543b4d8f |
|
MD5 | ebfa680960ba8eaa17da848424526e1d |
|
BLAKE2b-256 | 4ae1e26df6f86354855966da3e8cfc61630c92e3a78c5738e7d57fc0e678c000 |
File details
Details for the file skipper_lib-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: skipper_lib-1.1.5-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.7 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8748628627c51c20ba895e5896a8e270fa0b9abe7a9083d0e11242e87a101684 |
|
MD5 | e314af1fe421e10bfe4188235e30f15a |
|
BLAKE2b-256 | 8b252fa532a1fa8fb110bb9a308930fec2d72798058d03d3481d0267d020daaf |