My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Introduction

pyglons takes the ideas from Pylons( a lightweight web framework emphasizing flexibility and rapid development ) and uses them to create a framework for Pyglet ( a cross-platform windowing and multimedia library for Python) ....

In simple terms: No more boilerplate coding!

pyglons is essentially two things in one:

  • pyglons the module: a module containing an application base class, a state class and some predefined states that you may or may not require depending on your needs.
  • pyglons the templates: templates for the paster command that creates your application directory and initial layout. The default templates create a small working application with splash screen, menu, help and very basic application state ready for you to add your code. The templates also create all the required files to use your application with distutils/setuptools.

pyglons follows the pylons idea of not forcing the developers to use anything they don't want to whilst still maintaining some sane defaults. Although saying that you will be quite tied to using pyglet, although we don't think that's a bad thing... :) ( With a little work pyglons could be used with another library such as pygame but this is not currently an aim )

See the Tutorial for information on using pyglons, including creating your first pyglons app in 5 seconds.

Things pyglons aims for...

  • remove the need for almost all boilerplate code
  • let you create working applications/games in minutes

Things pyglons does not aim for ...

  • to include everything you need to create an application/game ( if its specific to a type of application/game it probably won't go in )
  • to rely on X.Y module. The default pyglons app depends on pyglet and pyglons. Nothing more. Nothing less. Everything else is down to you.

Requirements

Install

The easiest way to get pyglons is by using easy_install. If you don't have easy_install yet, you just need to visit here.

To install the latest version from this site use:

easy_install -f http://code.google.com/p/pyglons/downloads/list pyglons

You can upgrade your version using:

easy_install -U -f http://code.google.com/p/pyglons/downloads/list pyglons

If your less adventurous, after downloading the package use the "normal":

python setup.py install 

For development versions use subversion, more information in the Source link at the top of the page.

Child projects

Pyglons has spawned several projects written for, but not limited to, pyglons ( they are generally simply modules for pyglet and not tied to pyglons at all).

Current child projects include:

To do

There are a number of things left to do on pyglons. In no particular order:

  • template for 3d scenes with defaults to include scenegraphs from other packages
  • complete 2d game templates
  • complete 3d game templates
  • network library options for templates
  • ... got more ideas? Use the google group!

Contact

For all queries on usage or development please use the google group.

For bug reports please use the Issues link at the top of the page.

License

pyglons is provided under the same license as pyglet, the BSD open-source license, allowing you to use it for both commerical and other open-source projects with very little restriction.

Powered by Google Project Hosting