semvec/pypi-packages huggingface dataset:
kinesis-stream-consumer 1.0.1
Kinesis stream consumer(reader) written in python.
Requires Python: >=3
Keywords: kinesis consumer kinesis-consumer python kinesis-client client

# kinesis-stream-consumer
Kinesis stream consumer channelize through redis along with aws autorefreshable session 

## Usage

### Requirements

* python >= 3.0
* boto3 >= 1.13.5
* kinesis-python >= 0.2.1
* redis >= 3.5.0

### Installation

Install with:

```shell
pip install kinesis-stream-consumer
```

Or, if you're using a development version cloned from this repository:

```shell
git clone https://github.com/harshittrivedi78/kinesis-stream-consumer.git
python kinesis-stream-consumer/setup.py install
```
This will install boto3 >= 1.13.5 and kinesis-python >= 0.2.1 and redis >= 3.5.0

# How to use it?
There is two consumer which has to be run parallelly one is kinesis consumer and second is records queue consumer
(redis). I have added a example.py file in this code base which can be used to check and test the code.

```python
import threading

from kinesis_stream.consumer import KinesisConsumer
from kinesis_stream.record_queue import RecordQueueConsumer
from kinesis_stream.redis_wrapper import get_redis_conn

redis_conn = get_redis_conn(host="localhost", port=6379, db="0")

stream_name = "test-kinesis-stream"
region = "eu-west-1"

kinesis_consumer = KinesisConsumer(stream_name, region, redis_conn)
record_queue_consumer = RecordQueueConsumer(stream_name, redis_conn)

kinesis_consumer_thread = threading.Thread(name='kinesis_consumer', target=kinesis_consumer.start)
kinesis_consumer_thread.start()

record_queue_consumer_thread = threading.Thread(name='record_queue_consumer', target=record_queue_consumer.start)
record_queue_consumer_thread.start()
```

Override handle_message func to do some stuff with the kinesis messages.

```python
from kinesis_stream.record_queue import RecordQueueConsumer as BaseRecordQueueConsumer

class RecordQueueConsumer(BaseRecordQueueConsumer):
    def handle_message(self, message):
        # your code
        print(message)
```
error-explainer 0.14
Custom messages for errors

# error-explainer
This is a project aimed at tool developers who want to create custom error checks 
provide better messages with improved location, accuracy and message quality for different errors in Python.

Some checks for syntax errors are provided out of the box.

Currently available checks can be found in `error-explainer/messages.py`

## Installation
To install this package use `pip install error-explainer`

## Usage

### Check a Python file for possible errors
```python
from error_explainer.check_runner import run_checks

messages = run_checks("path/to/file")
```
Messages will be a list of strings containing the generated messages.

### Add a new custom check
Custom checks can be added to the list of checks ran while calling run_checks().
To add a new check use `@add_check(force: bool, level=99)` annotation. Force parameter defines if the
check is ran only if the code does not compile (False) or always (True)
Checks are also run in multiple levels from 0 to 99.
Current layers are the following:
* 0 - docstring errors, quote errors
* 1 - miss match bracket errors, missing bracket errors, python 2 style print usage error
* 2 - invalid function definition errors
* 3 - missing colon errors, invalid assignment errors
* 99 - indentation errors, coma used instead of a period in an assignment error
```python
from error_explainer.check_runner import add_check, add_message

@add_check(False)
def custom_check(filename):
    # code for the check  
    if error_in_file:
        # To add a message to the list of messages returned when calling run_checks() use 
        add_message("code_for_the_message", argument1="foo", argument2="bar")
        # Custom arguments can be used in the message text to make messages more dynamic
```

### Manage messages
Messages used in checks can be:

added
```python
from error_explainer.messages import create_message

# message text can contain arguments in curly brackets these can be later given values using kwargs
create_message("code_for_the_message", "Message text with {dynamic_arguments}")
```

removed
```python
from error_explainer.messages import remove_message

remove_message("code_for_the_message")
```

overwritten
```python
from error_explainer.messages import overwrite_message

overwrite_message("code_for_the_message", "Message text with {dynamic_arguments}")
```
deputat 1.1.6
deputat overview

![Python 3.8](https://img.shields.io/badge/python-3.8-green.svg)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/leonfrcom/ErroRCalcS/blob/master/LICENSE)

# Deputat
Einfaches graphisches Benutzer Interface (GUI) zur Vergabe von Schulstunden.
____
Aktuelle Version: 1.1.6
#### Changes in 1.1.6
- added menubar entries
#### Changes in 1.1.5
- fixed requirement error for ```json```
#### Changes in 1.1.4
- added functionality to add/remove/edit subjects
- added default subjects-file ```./data/subjects.json```
#### Changes in 1.1.3
- added ```*.svg``` icons to ```sdist```
- data can now be exported as ```*.csv``` or ```*.xlsx```
- fixed ```import``` errors
- changed default data location to ```/home/user/deputat_data/data/```
- fixed ```FileNotFoundError``` for ```*.svg```
- fixed Windows specific bugs
- fixed MacOS import errors
- fixed find icons
____

# Installation und Starten von deputat
1. [Installiere python3](https://github.com/lfreist/deputat/blob/master/infos/install_python.md)
2. Installiere deputat über pythons packetmanager [PyPi](https://pypi.org/). Gebe dazu
in der Konsole ```python3 -m pip install deputat``` ein
3. Starte deputat über ```python3 -m deputat```