An open API service indexing awesome lists of open source software.

https://github.com/shadowblip/neteria

Open source game networking framework for Python.
https://github.com/shadowblip/neteria

Last synced: about 2 months ago
JSON representation

Open source game networking framework for Python.

Awesome Lists containing this project

README

        

## Version
1.0.3

## Installing

You can install Neteria by running the following command:

`sudo python setup.py install`

or

`sudo pip install -e .`

## Enabling Logging

Neteria uses the python logging module for all log messages. By default,
Neteria will not print any log messages. Right now there are 3 available
loggers that you can use:

- neteria.core
- neteria.client
- neteria.server

To enable Neteria logging in your application, add the following code into your
app:

```python
import logging
import sys
logger = logging.getLogger('neteria.server')
logger.setLevel(logging.DEBUG)
log_hdlr = logging.StreamHandler(sys.stdout)
log_hdlr.setLevel(logging.DEBUG)
logger.addHandler(log_hdlr)```