PygLibs.net - 0.91-alpha2
This is an alpha release of the PygLibs.net networking library.
It was originally meant to be part of that library, but it will not have a new release for some time, so this project has been forked for the time being.
PygLibs.net provides several solutions for fast, threaded, pure-Python servers and clients, primarily targeted at game networking.
There are several different kinds of servers, to fit different needs:
Server/Client - a more complex connection, using two sockets, allowing the server to make requests from the client.
Secured versions of the above, that use an authentication protocol to encrypt/decrypt messages.
And, finally a RPC server/client, and a secure version of it.
Simply download the archive and unzip, the module itself is /net, which can be copied into your program directory itself, or into site-packages.
The docs and tests are in the download, simply go into the /test directory and run any of the tests (they use a bit of fiddling with sys.path to enable them to be run from this directory, and not above the actual net module).
The tests double as a sort of tutorial for each part of the library, though they should have more documentation.
Also, this has not been fully tested as yet, as our server has been down I have only been able to test this on my local machine, and not over a network. So if anyone would like to test this it would be greatly appreciated.
Otherwise, we should have our servers back soon and we can test it ourselves :) Licensed under the LGPL (readme in next release, sorry 'bout that)
Fixed a potential very problematic bug in the code, as suggested by Treeform :)
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.