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.
Metadata
Release files for skipper-lib 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| skipper-lib-1.1.7.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| skipper_lib-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / skipper-lib-1.1.7.tar.gz
| Download URL | skipper-lib-1.1.7.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f783ba9807d63de9885612cad4933aaaa864e0c5220acc7e468a81a07481a93a
|
|
BLAKE2b-256 checksum How to use checksums |
f61c852a3b29e97c3cd7344874ed86e309a478afd1171cdb399625894e239082
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.7.7 Darwin/21.1.0
|
Release files / skipper_lib-1.1.7-py3-none-any.whl
| Download URL | skipper_lib-1.1.7-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c706a86d238de1031b24084bb05954f78e3bb2a597eec60bb4c810080edd155d
|
|
BLAKE2b-256 checksum How to use checksums |
fe9241cf46059afb79b41edea0b55d214ae9aa74acee73a446ce0e8f8ad3bbda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.7.7 Darwin/21.1.0
|