Looking for the latest version? Download Diet.0.2.dist.zip (2.0 MB)
Home / dietpython / Beta0.1
Name Modified Size Downloads / Week Status
Parent folder
Totals: 3 Items   9.6 MB 3
README 2006-07-17 5.3 kB 11 weekly downloads
dietpython.src.zip 2006-07-17 8.6 MB 11 weekly downloads
Diet.dist.zip 2006-07-17 985.0 kB 11 weekly downloads
This is Diet version 0.1 of Python version 2.5 beta 1 ===================================================== Copyright (c) 2006 by The Eternal Squire All rights reserved. Copyright (c) 2006 by Travis Oliphant All rights reserved. Copyright (c) 2005 by Shawn Hargreaves All rights reserved. Copyright (c) 2001-2005 Juha-Matti Tapio and Alberto Griggio All rights reserved. Copyright (c) 2005-2006 Grzegorz Adam Hankiewicz All rights reserved. Copyright (c) 2003 Flangy Software & Adam Vandenberg All rights reserved. Copyright (c) 1996-2001 by Sam Rushing. All rights reserved. Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation. All rights reserved. Copyright (c) 2000 BeOpen.com. All rights reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All rights reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved. License information ------------------- Please refer to LICENSE in the main Python release from the Python Software Foundation. What's new in this release? --------------------------- Diet Python is Python for clients that want to stay thin :) Diet Python is a starting point for several legitimate purposes not addressed by the mainstream users: embedded PC's on-a-board, alternate site library development, rescue floppies, thin clients, discless workstations, gaming, etc... Diet Python is a variant release of Python that while does not alter the Python language in any way, is a drastically cut-down version whose purpose is to serve as a thin computing core. Nearly all extraneous modules have been removed from the runtime, as well as the entire user library. In exchange, the following extras are provided as compile-in modules: multiarraymodule, umathmodule, calldll, npstruct, alpy, wcurses. The above should allow plenty of possibilities for user interfaces, graphics processing, and process control. Sweetened with Allegro... ------------------------- Rather than using Tk/Tcl for graphics, Alpy has been substituted, and given the name 'allegro', There are a few Allegro-centered GUI interface applications that can easily be rewritten in Python, for those who have the burning desire to do so, Diet Python awaits your artistry. Fortified with the Numpy multiarray type... ------------------------------------------- Currently there is discussion taking place regarding making the Numpy multiarray facility the default array type. Diet Python anticipates this and incorporates the multiarray module, renamed as 'array', and the umath module for operating on these arrays. No other parts of Numpy or Scipy available right now, sorry. Flavored with Curses... ----------------------- The WCurses module in built into the distribution as well, renamed as 'curses'. I've heard from a lot of roguelike discussion groups about wanting to port to Python. Guys and gals, here's your chance... What is Python anyway? ---------------------- Python is an interpreted, interactive object-oriented programming language suitable (amongst other uses) for distributed application development, scripting, numeric computing and system testing. Python is often compared to Tcl, Perl, Java, JavaScript, Visual Basic or Scheme. To find out more about what Python can do for you, point your browser to http://www.python.org/. But wait, THERE'S MORE! We're adding free can and bottle openers! ------------------------------------------------------------------ You get all the above, plus calldll and npstruct built-in. No more of those messy custom DLL and struct wrapper chores, a lot of the work will now be hidden from your dinner guests in case they go snooping in the kitchen. ... and a customizeable implicit startup feature! ------------------------------------------------- If you place an __init__.py file right next to python.exe or pythonw.exe into your build, Diet Python will execute that file just after site importation. try: ---- A working stock release of Diet Python is available as Diet.zip, simply unzip the package, change directory into the bin, and run that python. except build: ------------- Diet Python builds using Microsoft Visual C++ 2005 Express (free) release along with a Version 2 or better Platform SDK. Please see the html article, "Using Visual C++ 2005 Express with the Microsoft Platform", in the PCBuild directory for setup. except buy: ----------- Sorry, this package is not for sale :) It's open source. Donations are always appreciated and highly encouraged, see the FAQ for details. finally: -------- The reader is strongly suggested to master regular Python to his or her satisfaction prior to attempting to customize his or her Diet. Special notes: -------------- 1) There is no os module. The posix module has been renamed as diet. Some os calls will eventually be built into later releases of the diet compiled module. 2) In the stock release (Diet.zip) the following modules are available as globals: stdin, stdout, stderr, allegro, curses, array, umath, and diet. 3) Diet Python is NOT compatible with other installed Python releases. It will try to import the site library of an installed Python, with predictably sad results.
Source: README, updated 2006-07-17