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.
- Host: GitHub
- URL: https://github.com/shadowblip/neteria
- Owner: ShadowBlip
- License: gpl-2.0
- Created: 2015-09-19T21:34:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-23T18:58:19.000Z (over 9 years ago)
- Last Synced: 2025-04-06T20:23:16.677Z (2 months ago)
- Language: Python
- Size: 53.7 KB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.serverTo 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)```