semvec/pypi-packages huggingface dataset:
djangorestframework-kicksaw-auth 1.0.0
Provides DRF auth classes that are backed by various AWS resources
Requires Python: >=3.8,<4.0
Keywords: django,djangorestframework,drf,aws,apigateway

# Installation

```
pip install djangorestframework-kicksaw-auth
```

Or with poetry

```
poetry add djangorestframework-kicksaw-auth
```

# Usage

## BasicApiGatewayApiKeyAuth

```python
from djangorestframework_kicksaw_auth import BasicApiGatewayApiKeyAuth

@authentication_classes([BasicApiGatewayApiKeyAuth])
def endpoint(request: HttpRequest):
    # ...
```

This authenticator reads basic auth and ensures the username and password
match an API Gateway key

```
curl -u username:password -v localhost:8000/api/your/endpoint
```

Where `username` is the name of your API key and `password` is the API key
netty 0.1
A simple python library for networking. Not extremely complex, but allows for simple game servers and chat rooms to be hosted.
Requires Python: >=3

# netty
A simple python library for networking. Not extremely complex, but allows for simple game servers and chat rooms to be hosted.

# Documentation

This example will show you how to make a simple chat room with `netty`.

First, import netty:
```python
import netty
```
Then, choose a port and make a client and a server:
```python
import netty

PORT = 3000

client = netty.connection.Client('', PORT) # args: IP ('' for local), and port.

server = netty.connection.Server(PORT) # args: port to run the server on.
```
Now, we have a client and a server, but they aren't doing anything when they get a message. To do this, we need to add a `onReceive` argument to the client and server.

MORE DOCUMENTATION COMING SOON
==============================