semvec/pypi-packages huggingface dataset:
gengine 0.1.0
Engine for piping generators
Requires Python: >=3.8
Keywords: data, engine, generator, pipeline, stream, workflow

# gengine

[![PyPI - Version](https://img.shields.io/pypi/v/gengine.svg)](https://pypi.org/project/gengine)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gengine.svg)](https://pypi.org/project/gengine)

-----

## Table of Contents

- [About](#about)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## About

*gengine* (short for *generator engine*) is a pipeline or workflow engine for iterating over generators within a pipe and passing the output to the following generators.

This makes it a perfect fit for pipeline oriented approaches where you don't want to write the iteration logic manually.

## Installation

```console
pip install gengine
```

## Usage

From a technical perspective, a gengine pipeline is just an ordered list of callables. Each callable implements a generator pattern (`yield`) or simply returns an output (`return`).
*gengine* iterates over **all** outputs of **each callable** in the list and makes sure that every output is forwarded through the whole pipeline.
`NoneType` is ignored and not forwarded (this is the reason why it is mandatory to pass an input to `GenGine.run`, even if the first callable doesn't use it).
Each callable must accept exactly one parameter.

```python
from gengine import GenGine

def my_gen(_inp):
    for j in range(10):
        yield j

def my_add(inp):
    return inp+2

def my_mul(inp):
    for i in range(3):
        yield inp*i

def my_filter(inp):
    if inp%2 == 0:
        return None
    else:
        return inp

g = GenGine([my_gen, my_add, my_mul, my_filter])

for el in g.run(1):
    print(el)
```

## License

`gengine` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
eloqent 0.1.0
Nest is a tool to help you build your own AI assistant
Requires Python: >=3.11

# Eloqent: The Next Generation Chatbot Framework

Eloqent is a cutting-edge Python framework designed to revolutionize chatbot development. Built on the foundations laid by predecessors like Rasa, Eloqent takes conversational AI to new heights.

## Key Features:

1. **Advanced NLP Capabilities**: Leveraging state-of-the-art natural language processing techniques to understand and generate human-like responses.

2. **Intuitive Scripting**: A powerful yet user-friendly scripting system that allows developers to create complex conversational flows with ease.

3. **Modular Architecture**: Highly extensible design enabling easy integration of custom components and third-party services.

4. **Multi-Platform Support**: Seamlessly deploy chatbots across various platforms including web, mobile, and popular messaging services.

5. **Developer-Friendly**: Comprehensive documentation, interactive tutorials, and a supportive community to accelerate the development process.

Eloqent empowers developers to create intelligent, engaging, and scalable conversational interfaces that adapt to user needs and business requirements. Whether you're building a simple FAQ bot or a complex AI assistant, Eloqent provides the tools and flexibility to bring your vision to life.

Join us in shaping the future of conversational AI with Eloqent - where natural language meets next-generation technology.

## Installation

```bash
pip install eloqent
```

## Usage

Eloqent is designed to be user-friendly and easy to get started with. Here's a quick guide to help you get started:

1. **Initialize a new project**:
   ```bash
   eloq init
   ```

2. **Add skill**:
   ```bash
   eloq add <skill>
   ```

3. **Build your dialog engine**:
   ```bash
   eloq build
   ```

4. **Run your bot**:
   ```bash
   eloq run
   ```

5. **Deploy your bot**:
   ```bash
   eloq deploy
   ```