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 details)
Built Distribution
File details
Details for the file skipper-lib-1.1.7.tar.gz
.
File metadata
- Download URL: skipper-lib-1.1.7.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 | f783ba9807d63de9885612cad4933aaaa864e0c5220acc7e468a81a07481a93a |
|
MD5 | e7b2e932bcb64e16bb2bfb2a12e94942 |
|
BLAKE2b-256 | f61c852a3b29e97c3cd7344874ed86e309a478afd1171cdb399625894e239082 |
File details
Details for the file skipper_lib-1.1.7-py3-none-any.whl
.
File metadata
- Download URL: skipper_lib-1.1.7-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 | c706a86d238de1031b24084bb05954f78e3bb2a597eec60bb4c810080edd155d |
|
MD5 | 2942c7d8ac9644b9dfdd9669c099aecd |
|
BLAKE2b-256 | fe9241cf46059afb79b41edea0b55d214ae9aa74acee73a446ce0e8f8ad3bbda |