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.7.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for skipper_lib-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c706a86d238de1031b24084bb05954f78e3bb2a597eec60bb4c810080edd155d |
|
MD5 | 2942c7d8ac9644b9dfdd9669c099aecd |
|
BLAKE2b-256 | fe9241cf46059afb79b41edea0b55d214ae9aa74acee73a446ce0e8f8ad3bbda |