473,321 Members | 1,667 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Crunchy release 0.9.1

Crunchy 0.9.1 has been released. It is available at
http://code.google.com/p/crunchy

Note that, if you have downloaded version 0.9 or version 0.9.0.1
you likely will not need to download this latest version.

What is new since version 0.9?

* Possibility to log selectively part of a session (as instructed by a
tutorial *writer* such as a teacher who may want to evaluate
students).
This experimental feature is the main reason to have a new release
and is of potential interest for Python instructors/teachers.

* Bug fix (0.9.0.1): Output containing <....was not displayed in
version 0.9

* Support for generation of image files is now done through threads
(rather than subprocess) and addition of a "load image" button, which
prevents from having to generate the image twice.

* A windows installer version is available.

* Minor experimental cosmetic additions.

* Improved "readme" file.

Bug reports, comments and suggestions are always welcome.

André, for the Crunchy team.

======================

What is Crunchy?

Crunchy is a an application that transforms html Python tutorials into
interactive session viewed within a browser. We are not aware of any
other application (in any language) similar to Crunchy. Currently
Crunchy has only been fully tested with Firefox; we know that some
browsers simply don't work with it. Crunchy should work with all
operating systems - it has been tested fairly extensively on Linux,
Windows and Mac OS.

What is new since a few months ago?

Crunchy has been rewritten from scratch from the previous version
(0.8.2), to use a custom plugin architecture. This makes easier to
extend and add new functionality. Rather than list the differences
with the old release, it is easier to list the essential features of
this new version.

1. Crunchy can work best with specially marked-up html tutorials.
However, it can now work with any html tutorials - including the
official Python tutorial on the python.org site. Html pages can be
loaded locally or remotely from anywhere on the Internet. Crunchy
uses a combination of Elementtree and BeautifulSoup to process html
pages. Non W3C-compliant pages can be handled, but the visual
appearance is not guaranteed to reproduce that normally seen using a
browser.

2. Crunchy can insert a number of Python interpreters inside a web
page. In the default mode, it does that whenever it encounters an
html <preelement which is assumed to contain some Python code.
These interpreters can either share a common environment (e.g. modules
imported in one of them are known in the other) or be isolated one
from another.

3. Crunchy adds automatic css styling to the Python code - you can
look at the official Python tutorial using your browser (all Python
code in blue) and compare with what Crunchy displays to give you a
good idea.

4. Instead of inserting an interpreter, Crunchy can insert a code
editor that can be used to modify the Python code on the page and
execute it. The editor can be toggled to become a fairly decent
syntax aware editor that can save and load files.

5. Crunchy has a "doctest" feature where the code inside the <preis
taken to be the result
of an interpreter session and the user has to write the code so as to
make the interpreter session valid; this is useful in a teaching
environment. Messages from the Crunchy's doctest are "friendlier" for
Python beginners than the usual tracebacks.

6. Crunchy has a small graphics library that can be imported, either
inside an editor or an interpreter, to produce simple graphics (even
animations!) inside the browser.

7. For the user that needs better quality graphics, Crunchy supports
programs (such as matplotlib) that can create image files; by
executing the code, the image produced is loaded inside the browser
window. In this capacity, Crunchy could be used as a front end for
libraries such as matplotlib.

8. Crunchy supports code execution of files as separate processes,
making it suitable to launch gui based application from the browser
window.

9. Crunchy's interpreter has an interactive "help" feature like many
python-aware IDEs.

10. Crunchy includes a fairly comprehensive tutorial on its own use,
as well as a reference for tutorial writers that want to make their
tutorials "crunchy-friendlier".

11. As a security feature, crunchy strips all pre-existing javascript
code from an html page before displaying it inside the browser window.

Jul 13 '07 #1
0 1071

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.5 (release candidate 1). Python 2.3.5 is a bug-fix release. See the release...
0
by: jwoolard | last post by:
Version 0.7 of Crunchy has been released. It is available on Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=169458) Crunchy, the Interactive Python Tutorial Maker, is an...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
3
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
Version 0.8 of Crunchy has been released. It is available on http://code.google.com/p/crunchy/ Crunchy, the Interactive Python Tutorial Maker, is an application that transforms an ordinary...
1
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
Crunchy 0.9 has been released. It is available at http://code.google.com/p/crunchy What is Crunchy? Crunchy is a an application that transforms html Python tutorials into interactive session...
1
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
A security hole has been uncovered in Crunchy (version 0.9.1.1 and earlier). Anyone using Crunchy to browse web tutorials should only visit sites that are trustworthy. We are working hard at...
0
by: =?ISO-8859-1?Q?Andr=E9?= | last post by:
Crunchy is an application that transforms static (text based) Python tutorials into interactive Python sessions within your browser. Since the last announcement on this list, there has been 6 new...
13
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
Within a few weeks, we will release Python 2.5.3. This will be the last bug fix release of Python 2.5, afterwards, future releases of 2.5 will only include security fixes, and no binaries (for...
0
by: =?ISO-8859-1?Q?Andr=E9?= | last post by:
Hi everyone, Crunchy version 1.0 alpha 1 has been released. Crunchy is an application that transforms normally static Python tutorial (html files, or reStructuredText ones - if docutils is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.