This is a helper library for Kodiks Ai Core 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
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 kodiks-ai-lib
- Install from TestPyPI
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple kodiks-ai-lib
- Publish to PyPI
poetry publish
- Install from PyPI
pip install kodiks-ai-lib
- Test imported library from CMD
python -m kodiks_ai_lib
- Import EventReceiver
from kodiks_ai_lib.events.event_receiver import EventReceiver
- Import EventProducer
from kodiks_ai_lib.events.event_producer import EventProducer
.
├── LICENSE
├── poetry.lock
├── pyproject.toml
├── kodiks_ai_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
Licensed under the Apache License, Version 2.0. Copyright 2024-2025 Kodiks AI, Copy of the license.