semvec/pypi-packages huggingface dataset:
aiokinesis 0.0.4
Asyncio kinesis client

AIOKinesis
==========

Asyncio client library for AWS Kinesis

Installation
------------
```
pip install aiokinesis
```

AIOKinesisProducer
------------------
Usage:
```python
 import asycio
 from aiokinesis import AIOKinesisProducer

 async def send_message():
     loop = asyncio.get_event_loop()
     producer = AIOKinesisProducer('my-stream-name', loop, region_name='us-east-1')
     await producer.start()

     await producer.send('partition-key', {'data': 'blah'})

     await asyncio.sleep(1)
     await producer.stop()

 loop.run_until_complete(send_message())
```
Limitations:
   - Stopping the producer before all messages are sent will prevent in flight messages from being sent
   - AIOKinesis only supports one shard so the producer is rate limited to 5 requests per rolling second

AIOKinesisConsumer
------------------
Usage:
```python
 import asyncio
 from aiokinesis import AIOKinesisConsumer

 async def get_messages():
     loop = asyncio.get_event_loop()
     consumer = AIOKinesisConsumer('my-stream-name', loop, region_name='us-east-1')
     await consumer.start()

     try:
         async for message in consumer:
             print("Consumed message: ", message)
     except KeyboardInterrupt:
             await consumer.stop()

 loop.run_until_complete()
```
Limitations:
   - AIOKinesis only supports one shard so the consumer is rate limited to 5 requests per rolling second
keel 0.1
Kill proccesses effectively and easily

# keel

keel is a program written in Python 3 and uses ncurses to display to the user a list of
processes and their respective PIDs.

The user can easily kill the highlighted process by pressing the enter key.

This was spawned from a cyber defense hackathon in the University of Glasgow. My team
had to defend our servers and we had one terminal window open to see all open connections
and another one simply for killing. With this, we combined it into one window.

The program has/will have a way to switch the processes based on which user owns them
and will show either connections (tcp, udp, etc) as well as regular system processes.

Follow the [Github](https://github.com/modelorona/keel) link for more updates!


## Important
The program is not fully ready. At the moment, it is under development and not everything
will work.