473,803 Members | 3,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New release: Crunchy 0.9

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 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 in this release?

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.

Bug reports, comments and suggestions are always welcome.

André Roberge, for the Crunchy team.

Jul 9 '07 #1
1 1490
On Jul 10, 12:37 am, André <andre.robe...@ gmail.comwrote:
Crunchy 0.9 has been released. It is available athttp://code.google.com/p/crunchy

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 in this release?

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.

Bug reports, comments and suggestions are always welcome.

André Roberge, for the Crunchy team.
Fanmail:
http://paddy3118.blogspot.com/2007/0...-crunched.html

- Paddy

Jul 12 '07 #2

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

Similar topics

0
1289
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 notes at the website (also available as Misc/NEWS in the source distribution) for details of the bugs squished in this release. Assuming no major problems crop up, a final release of Python 2.3.5 will follow in about a week's time.
0
1315
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.4.1 (release candidate 2). Python 2.4.1 is a bug-fix release. See the release notes at the website (also available as Misc/NEWS in the source distribution) for details of the bugs squished in this release. Assuming no major problems crop up, a final release of Python 2.4.1 will be out around the 29th of March - straight...
0
1376
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 application that transforms an ordinary html-based Python tutorial into an interactive session within a web browser. Currently, only Firefox is supported. Crunchy is developed and tested on Windows XP and Ubuntu Dapper Drake, but should work on any...
1
2999
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 website 3. in Configuration manager I set the Active solution configuration to Release
3
1374
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 html-based Python tutorial into an interactive session within a web browser. Currently, only Firefox is supported. Crunchy is developed and tested on Windows XP and Ubuntu Dapper Drake, but should work on any suitable windows or UNIX system. Three...
0
1097
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
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
1
1243
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 fixing the hole; a new release addressing the problems that have been found should be forthcoming shortly.
0
921
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 releases. The latest release can always be found at http://code.google.com/p/crunchy/ New in 0.9.8.6: If docutils is installed, Crunchy can process reStructuredText (.rst) files the same as if they were plain html files.
13
1749
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 Windows or OSX) will be provided anymore (from python.org). In principle, the release will include all changes that are already on the release25-maint branch in subversion . If you think that specific changes should be considered, please create an...
0
9700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10546
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9121
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7603
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
3796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.