Metadata-Version: 2.1
Name: netty
Version: 0.1
Summary: A simple python library for networking. Not extremely complex, but allows for simple game servers and chat rooms to be hosted.
Home-page: UNKNOWN
Author: Dexrey4 <https://github.com/dexrey4> and Enbyte Game Studios <https://github.com/enbyte>
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
==============================


