Skip to main content

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.


RB[0]
(roebros)
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:
    LightServer/LightClient - provide a very basic, one way connection, where the client requests something from the server, and the server responds.

    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.
The servers and clients are set up to provide a rapid startup, while still having the internal complexity to grow to moderate sized applications.

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)

Links

Home Page
http://code.google.com/p/pyglibs/
Source
http://pyglibs.googlecode.com/files/ver-0.91alpha2.zip

Releases

PygLibs.net 0.9alpha — 1 Aug, 2008

PygLibs.net 0.91-alpha2 — 1 Aug, 2008

PygLibs.net 0.93-alpha3 — 18 Aug, 2008

PygLibs.net 0.94-alpha4 — 31 Aug, 2008

Pygame.org account Comments

  • Ozminer 2013-05-02 08:23:13

    I need to use this for my game can i