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
Katana ML, Andrej Baranovskij
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.4.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file skipper-lib-1.1.4.tar.gz
.
File metadata
- Download URL: skipper-lib-1.1.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.7 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68dd1aee9664cdc413118335dd025c0962ebea8931d2070ad2aa5827db42302b |
|
MD5 | ab0441a362d905e4b6eddb58ff58343b |
|
BLAKE2b-256 | ff01cf9e0cb45edaef59af77f5c704de70c1b3f6df18fa7d9bca63fffb7a8fcf |
File details
Details for the file skipper_lib-1.1.4-py3-none-any.whl
.
File metadata
- Download URL: skipper_lib-1.1.4-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.7 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aaf5ecfd69f851c5d2c6e079d0e7dc71e9ab9db04a11f8c730e4b68a41edd36 |
|
MD5 | fda51edc8155c9f2ffe7f42d0d2aaae5 |
|
BLAKE2b-256 | 5d7d52cff1da516b57d7b09284fc6b339b587860c74dd7006aa46091a3dcfda4 |