semvec/pypi-packages huggingface dataset:
pydoftk 0.2.0
Python Digital Ocean Function Tool Kit
Requires Python: >=3.9

# pydoftk

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

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install pydoftk
```

## License

`pydoftk` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
kemux 1.0.2b1
Python interface for splitting and/or merging Kafka topics

# Kemux - Kafka Demultiplexer

![Documentation Status](https://readthedocs.org/projects/kemux/badge/?version=latest&style=plastic)
![Code linting](https://github.com/kamilrybacki/kemux/actions/workflows/linting.yml/badge.svg)
![Integration tests](https://github.com/kamilrybacki/kemux/actions/workflows/integration.yml/badge.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Python 3.11](https://img.shields.io/badge/python-3.11-green.svg)](https://www.python.org/downloads/release/python-311/)

<img src="docs/assets/images/logo.svg" data-canonical-src="docs/assets/images/logo.svg" width="250"/>

**Kemux** is a Kafka demultiplexer that allows to route messages from one topic to another based on a set of rules.

## How it works

Kemux is a Python library that uses Robinhood's [Faust] to process messages from one topic and route them to another topic based on a set of rules.

The rules are defined within a Stream object, that defines input and output topics, schema of their messages, as well as a set of filters and transformations that are applied to messages.

## Installation

Kemux can be installed via `pip`:

```bash
pip install kemux
```

## Usage

### Running as a standalone application

Kemux can be run as a standalone application, using the `Manager` class:

```python
from kemux.manager import Manager

kemux_manager = Manager(
  ...
)
kemux_manager.start()
```

### Running as a Docker container

Kemux can be deployed as a standalone Docker container. The process is described in the [Docker section] of the documentation.

## Further reading

For more information about Kemux, please refer to the [documentation].

[Faust]: https://faust.readthedocs.io/en/latest/index.html
[Docker section]: https://kemux.readthedocs.io/en/latest/user-guide/docker/
[documentation]: https://kemux.readthedocs.io/en/latest/user-guide/docker/
jitbf 1.0.1
Brainfuck JIT interpreter in Python
Requires Python: >=3
Keywords: brainfuck,jit-interpreter,llvm

<p><span><span style="font-family:Verdana, Arial, Helvetica, sans-serif;line-height:19px;text-indent:26px;"><span style="font-size:14px;"><span style="font-family:Arial;line-height:26px;"><br></span></span></span></span></p>

### What's this? A fast brainfuck JIT interpreter!

#### How to use?

To use it, you can either write your code like this:
```python
from jitbf import bf2jit
code='<code>'
jit=bf2jit(code)
jit()
```

, or use the jitbf command.

You have to install tha package 'llvmlite' before using this package.

#### How fast is it?

I compared this JIT interpreter with the [Quick Dirty Interpreter In C](http://brainfuck.org/qdb.c).
The brainfuck code used in the test is [mandel.b](https://github.com/eriknyquist/bfi/blob/master/bfi/examples/mandel.b).
The operating system used in the test is Windows 10 64 bit.

Interpreter: jitbf 1.0.0                  Time to run: 3.5764139s

Interpreter: jitbf 1.0.1                  Time to run: 3.2445391s

Interpreter: Quick Dirty Interpreter In C Time to run: 8.3990561s

The 
#### How does it work?

The package is based on LLVM, it first translates brainfuck into LLVM IR code, then uses llvmlite to compile and run it.

#### How will you improve it in the future?

I will improve it by making the LLVM IR code it translates smaller, and runs faster. (already done in this version)