Pyxel
    Download    Screenshots    Widgets   Bugs    FAQ  Credits    Contacts

What is Pyxel:
Pyxel is a python library that provides a dynamic, interactive, highly portable, graphical environment.  It makes diagrams and widgets look identical in whatever underlying environment it supports.

News


Download

    This is the latest version of pyxel-0.6.zip  (GPL)
    This is an older library that Pyxel was based on - OGLlike.py  (public domain)


Screenshots

This is a demo screen


A generated raster


Some slider widgets

A button


Some shapes




Widgets
Widgets are shapes or collections of shapes that you can interact with using the mouse or the keyboard.  Any shape can be widgetized, and any widget can be de-widgetized.  For example, Pyxel allows a button to be temporarily given the ability to be moved via a mouse left drag.  Then you can re-bind the button to its normal functionality.  Or you can assign a generic shape to act as a button.


Bugs

You know how it is.  Pyxel is in alpha stage.  Some things are bugs, some things are features.  I just have not decided which are which.


FAQ

What is Pyxel?
Pyxel is a python library that provides a dynamic, interactive, highly portable, graphical environment.

Why do we need another GUI library?
There are a ton of GUI libraries out there, and Python has bindings to a lot of them.  You may think that sounds like a good reason not to make another GUI library.  However, Pyxel allows you to make widgets that are portable between different libraries without changing any code.  If you make a cool slider widget for pygame it will work just as well and look identical when you use it in a wxPython application.

Libraries like wxPython and Tkinter have a full compliment of widgets already. Why do we need more?
First let me say that Pyxel widgets are not meant to replace any library's widget set.  They are only there to suppliment them and provide portability between libraries.  If you want your widget to be 100% portable to any other pyxel-supported library, make a Pyxel widgets.  If you don't care, by all means use the native widgets.  They will most likely be faster.

Pyxel development will be primarily concerned with creating super cool plottings widgets and neat-o block diagram things.  But I am already creating more conventional widgets to suppliment Pyxel's potential.

It can't be that hard to go from one GUI library to another, why not just port your widgets to the other library?
It is a giant pain in the a**.  Then when you are done, you have to maintain two or more copies of the same widget.  And they never end up looking the same.   With pyxel write the widget, then use it in a wxPython project at work, use it at home with pygame, or send it to a friend who is using Tkinter.

What libraries does Pyxel currently support?

Windows
Linux
wxPython
OK
OK
Pygame
OK
Not Tested
Tkinter
In Development
In Development

What libraries will it support in the future?
    I would like to see it run on top of the following:

    I also would like to get non-interactive functionality for:

My display does not look like yours.  What's up?
Chances are the problem lies in the way Pyxel addresses fonts.  I need to expand this section to describe how pyxel generates it's font resources.  For now I am afraid my best advice is to look at the code.
 
Pyxel is awesome.  I want to use it for everything!!!
Thanks!  However, Pyxel is probably slower than most GUI libraries.  Pyxel is in an early state of development.  While I am happy with the library framework, there could be some major changes.

Credits

    Developers
        Erik Lechak - I am the only one here now.

    Financial Contributors
       Landrum and Brown, inc. - Thank you for the support.

    Thank you to the maintainers and contributors of the FAQ for comp.graphics.algorithms

Contacts

    Erik Lechak - Feel free to send me some feedback