Skip to content

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.

License

Notifications You must be signed in to change notification settings

RGuven/kodiks-ai-lib

Repository files navigation

Kodiks Ai Lib

Overview

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

Instructions

Version number should be updated in init.py and pyproject.toml

  1. Install Poetry
pip install poetry
  1. Add pika and requests libraries
poetry add pika
poetry add requests
  1. Build
poetry build
  1. Publish to TestPyPI
poetry publish -r kodiks-ai-lib
  1. Install from TestPyPI
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple  kodiks-ai-lib
  1. Publish to PyPI
poetry publish
  1. Install from PyPI
pip install kodiks-ai-lib
  1. Test imported library from CMD
python -m kodiks_ai_lib
  1. Import EventReceiver
from kodiks_ai_lib.events.event_receiver import EventReceiver
  1. Import EventProducer
from kodiks_ai_lib.events.event_producer import EventProducer

Structure

.
├── 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

License

Licensed under the Apache License, Version 2.0. Copyright 2024-2025 Kodiks AI, Copy of the license.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages