UniCurses for Python
|UniCurses for Python|
|Released||Jul 07 2010 (0.9b)|
|Licensing||GPL v3 License|
|Platforms||Windows, Mac OS X, Linux|
|Dependencies||PDCurses (on MS Windows)|
|Official site of UniCurses for Python|
UniCurses is a unified Curses wrapper for Python 2.x/3.x that provides consistent Curses functionality on all operating systems including Microsoft Windows (by wrapping PDCurses), Linux and Mac OS X (by wrapping the original "curses" module).
The project was started with the following goals in mind:
- Bring the power of Curses to Python programmers on Microsoft Windows (the original ????curses???? module only works on Linux and Mac OS X).
- Make the function names and syntax on all platforms similar to the original NCurses to make porting of code easier while keeping the library simple to use.
UniCurses detects the platform it is running on and chooses whether to wrap the native ????curses???? module (on Linux or Mac OS X) or the PDCurses library (on Windows). No matter which path is chosen, UniCurses provides a unified set of functions that work across all platforms and that may be used to write Curses applications in Python that run seamlessly in Microsoft Windows, Linux, and Mac OS X without the practical necessity to modify or rewrite the code in case it is otherwise cross-platform and does not use any OS-specific functionality.
UniCurses requires Python v2.6.1 or higher. Since it does not contain any features that are specific to either Python 2 or Python 3, it is compatible with all Python releases since v2.6.1 and up to v3.1.2.