CherryPy reaches the 3.0.0 milestone
CherryPy is a Python-based
cross-platform object-oriented web development framework:
CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This usually results in smaller source code developed in less time.
CherryPy is now more than three years old and it is has proven very fast and stable. It is being used in production by many sites, from the simplest ones to the most demanding ones.
The basic operation of CherryPy is explained:
Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it (or IIS).
Passing interactive data to CherryPy is simple:
You write request handler classes that you tie together in a tree of objects, starting with a root object. CherryPy maps incoming request URIs to this object tree. The URI '/' represents the 'root' object, '/users/' the 'root.users' object, and so on. Requests are handled by methods inside these request handler classes.
Examples of a simple
Hello World program and the
passing of GET/POST variables to methods
show the simplicity that CherryPy development offers.
CherryPy version 3.0.0 brings the following
changes:
- The speed has been improved by up to 3X.
- Configuration information can now be attached to page handlers.
- Configuration scopes now have further separation.
- Configuration namespace prefixes have been added to the config info.
- Filters have been replaced by more flexible Tools.
- There are new and improved built-in tools.
- Support for custom tools and toolboxes has been added.
- New Hook and Dispatch methods have been added for dealing with callbacks.
- URL construction has been improved for better handling of portable URLs.
- A reworked Autoreload feature fixes some bugs.
- Improvements have been made to the built-in WSGI server.
- CherryPy application objects are now WSGI applications.
- WSGI middleware callables are now supported.
- The logging system has been improved.
- CherryPy now works better with the Python interactive interpreter.
- Support for InternalRedirect situations has been improved.
- A new engine.drop_privileges function is available for process control.
- CherryPy now natively supports the mod_python Apache extension.
- CherryPy can now support multiple HTTP servers simultaneously.
CherryPy 3.0.0 is available for download
here,
people running older versions should read the
How to upgrade to CherryPy 3.0 document.
Comments (1 posted)
System Applications
Database Software
Firebird 1.5.4 announced
Version 1.5.4 of the Firebird DBMS
has been announced.
"
This sub-release introduces a number of bug fixes backported from the Firebird 2.0.x branches."
Comments (none posted)
PostgreSQL Weekly News
The December 25, 2006 edition of the PostgreSQL Weekly News
is online with the latest PostgreSQL DBMS articles and resources.
Full Story (comments: none)
PostgreSQL Weekly News
The January 1, 2007 edition of the PostgreSQL Weekly News
is online with the latest PostgreSQL DBMS articles and resources.
Full Story (comments: none)
Embedded Systems
BusyBox 1.3.1 released
Stable version 1.3.1 of
BusyBox,
a collection of command line utilities for embedded systems, is out.
"
Closing 2006 with new release. It includes only trivial fixes accumulated since 1.3.0"
Comments (none posted)
Libraries
PyTables 1.4 released
Version 1.4 of PyTables
has been announced.
"
PyTables is a library for managing hierarchical datasets and designed to
efficiently cope with extremely large amounts of data with support for
full 64-bit file addressing. It is based on the HDF5 library for doing
the I/O and leverages the numarray/NumPy/Numeric packages so as to
deliver the data to the end user in convenient in-memory containers.
This is a new major release of PyTables, and probably the last major one
of the 1.x series (i.e. with numarray at the core). On it, we have
implemented better code to deal with table buffers, enhanced the
capability for reading native HDF5 files, enhanced support for 64-bit
platforms (but not with Python 2.5: see ``Special Warning`` section
below), better support for AIX, optional automatic parent creation and
the traditional amount of bug fixes."
Comments (none posted)
Mail Software
poMMo - The post modern Mass Mailer
Brice Burgess has sent us an announcement for his
poMMo mailing list manager project.
"
poMMo is versatile mass mailing software. It can be used to add a mailing list to your Web site or to organize stand alone mailings. Unique Features such as the ability to mail subsets of your subscribers set it apart from alternatives. poMMo is written in PHP and freely provided under the GPL."
Full Story (comments: none)
Postfix 2.4 Snapshot 20061229 released
Snapshot 20061229 of the
Postfix
mail transfer agent is out. See the
CHANGELOG file for details.
Comments (none posted)
Desktop Applications
Audio Applications
das_watchdog V0.2.5 and jack_capture 0.9.3 announced
New versions of the audio applications das_watchdog and jack_capture
have been announced.
"
Whenever a program locks up the machine, das_watchdog will temporarily
sets all realtime process to non-realtime for 8 seconds. You will get an
xmessage window up on the screen whenever that happens. ...
jack_capture is a program for recording soundfiles with jack."
Full Story (comments: none)
AWN Issue 4 released (KDE.News)
KDE.News
has announced
issue #4 of the
Amarok Weekly Newsletter:
"
Late but worthy - thats how one can call this issue of AWN. It talks about
new or updated Amarok features, and continues to provide tips and links to
interesting scripts. As a bonus, kind of New Year gift, we provide you an
experimental RSS feed, for your pleasure. Enjoy!"
Comments (none posted)
Desktop Environments
GNOME 2.17.4 released
Version 2.17.4 of the GNOME desktop environment is available.
"
This is our second development release on our road towards GNOME
2.18.0, which will be released in March 2007. New features are coming
in at a nice rate, and that's great. A lot of bug fixes too. And some
crashers are appearing here and there: that's the fun of unstable
releases!"
Full Story (comments: none)
GARNOME 2.17.4 announced
Version 2.17.4 of GARNOME, the bleeding-edge GNOME distribution, is out.
"
This release includes all of GNOME 2.17.4 plus a
whole bunch of updates that were released after the GNOME freeze date.
This is the fourth release in the unstable cycle, with more features,
more fixes and yet more madness added. It is for anyone who wants to get
his hands dirty on the development branch, or who'd like to get a peek
at future features."
Full Story (comments: none)
GNOME migration to Subversion finished
The migration of the GNOME desktop to the Subversion version control
system has been completed.
"
For those that haven't noticed, the subversion migration is now
complete. In the end, it took about 49 hours. Apologies for the downtime
involved."
Full Story (comments: none)
GNOME Software Announcements
The following new GNOME software has been announced this week and last:
You can find more new GNOME software releases at
gnomefiles.org.
Comments (none posted)
KDE Commit-Digest (KDE.News)
The December 24, 2006 edition of the
KDE Commit-Digest has been
announced.
The content summary says:
"
A new game, KSquares, is imported into KDE
SVN, with KLines starting on the (now familiar) path towards scalable
graphics and general improvement. Usability and other improvements in Okular.
Support for multiple "identies", alongside a festive basket of other
enhancements in Mailody. Search support and plugin handling improvements in
KGet. In Amarok, the "yauap" engine (a redeveloped GStreamer interface, using
D-Bus interaction) progresses, with support for audio CD's. Improved
OpenFormula specification compliance in KSpread. A much-enhanced
implementation of "run-around text" comes to KWord. A work-in-progress python
parser for KDevelop is imported into KDE SVN. Work begins on the
Oxygen-themed widget style and window decoration for KDE 4."
Comments (none posted)
KDE Commit-Digest (KDE.News)
The December 31, 2006 edition of the
KDE Commit-Digest has been
announced.
The content summary says:
"
The KDE Commit-Digest 2006 retrospective.
blinKen and KNetWalk become the latest applications to move to scalable
graphics. KSquares further develops, with an AI player implemented. More maps
and a more sophisticated divisions and capitals implementation in KGeography.
Support for password-protected RAR archives in the kio_rar interface. Work to
support drag-and-drop of transfers in KGet. Import of "koregressions" test
suite for KOffice. Longstanding KWeather and KHTML bugs fixed. Major
refactoring in the "sonnet" natural language checker. Version 1.0 of Eigen,
the library for vector and matrix math, is released."
Comments (none posted)
KDE Software Announcements
The following new KDE software has been announced this week:
You can find more new KDE software releases at
kde-apps.org.
Comments (none posted)
The Road to KDE 4: SVG Rendering in Applications (KDE.News)
KDE.News
presents a short
overview of some of features going into KDE 4. "
Since KDE 4
development is in full swing with plans for a KDE 4.0 release sometime
later this year, I thought I'd put together a weekly piece entitled The
Road to KDE 4. The idea is to have a short overview of one or two of the
features that show progress in KDE 4. For my first issue, the goal is to
show off some of the great SVG work that has taken place so far."
Comments (31 posted)
Xorg Software Announcements
The following new Xorg software has been announced this week and last:
More information can be found on the
X.Org Foundation wiki.
Comments (none posted)
Electronics
KJWaves 1.1.0 released
Version 1.1.0 of
KJWaves,
a Java program for viewing RAW SPICE electronic simulation files,
has been announced.
"
New version allows adding of traces to previous graphs and improves on ability to add current through a component analysis."
Comments (none posted)
Games
Battle for Wesnoth 1.2 released
Version 1.2 of the game Battle for Wesnoth
has been announced.
"
The single player mode has a new tutorial, and 3 new campaigns: Two Brothers, The South Guard, and Under the Burning Suns. The first one was intentionally designed to be easy for beginning players. The last one is set in an environment quite different from that of the typical Wesnoth campaign, and includes a few changes to game rules. The existing campaigns include new scenarios, dialogue, items, and optional bonus victory objectives. Replay of saved games has been improved considerably, allowing one to show single turns at a time, navigate through the replay, and toggle fog-of-war at will." Many more changes have been included.
Comments (none posted)
Imaging Applications
PDFCube 0.0.2 released
Version 0.0.2 of
PDFCube
is out.
"
PDF Cube is an OpenGL API-based PDF viewer that adds a compiz/Keynote-like spinning cube tra[n]sition effect to your PDF presentations (including Latex, Beamer and Prosper). You can also zoom on 5 predefined areas of any presentation page with a smooth zooming effect."
Comments (none posted)
Interoperability
Wine 0.9.28 released
Version 0.9.28 of Wine
has been announced. Changes include:
OpenGL in child windows should work again,
Better mouse support in games,
Beginnings of new state management in Direct3D,
Improved audio and font support on Mac OS and Lots of bug fixes.
Comments (none posted)
Medical Applications
Synapse EMR (LinuxMedNews)
LinuxMedNews
reports on the Linux port of Synapse EMR, an electronic medical
record system.
"
Synapse EMR port to Linux has now gone beta. Download from
http://www.compkarori.com/emr/linux/. Almost all of the non-Windows specific functionality is now available for the Linux client."
Comments (none posted)
Music Applications
amSynth 1.2.0 released
Version 1.2.0 of amSynth, a virtual music synthesizer, is out.
Changes include better graphics, better MIDI all-off handling,
a new about dialog, better installation and bug fixes.
Full Story (comments: none)
BEAST/BSE v0.7.1 announced
Version 0.7.1 of BEAST/BSE and BSE-ALSA have been announced, it features
a security fix and other improvements.
"
This is a development version of BEAST/BSE, the BEdevilled Audio SysTem
and the Bedevilled Sound Engine. BEAST is a powerful music composition
and modular synthesis application released as free software under the
GNU GPL and GNU LGPL, that runs under unix. BSE-ALSA is an ALSA driver
for BSE."
Full Story (comments: none)
rtsynth 1.9.5 alsa+jack announced
Version 1.9.5 of
RTSynth,
a midi event triggered real time synthesizer is out with support for
dynamically loaded jack drivers, a new --polyvoice command line option
and bug fixes.
Full Story (comments: none)
Office Applications
Bruce The Presentation Tool, release 1.2
Release 1.2 of Bruce The Presentation Tool has been announced.
"
Bruce the Presentation Tool is for Python programmers who are tired
of fighting with presentation tools. In its basic form it allows
text, code or image pages and even interactive Python sessions. It
uses PyGame and is easily extensible to add new page types."
Full Story (comments: none)
Office Suites
OpenOffice.org Newsletter
The December, 2006 edition of the OpenOffice.org Newsletter
is out with the latest OO.o office suite articles and events.
Full Story (comments: none)
Science
First public release of ANUGA hydrodynamic modeling
The
ANUGA
hydrodynamic modeling system has been launched.
"
ANUGA is a software implementation of a hydrodynamic model which is
specifically designed to model wetting and drying processes. ANUGA
implements a Finite-Volumes technique for solving the Shallow Water Wave
Equations. ANUGA is a joint development project between Geoscience Australia
(GA) and the Australian National University (ANU) and is being used to
simulate the impact from natural disasters such as tsunami and storm-surge
on coastal communities. ANUGA is also suitable for detailed dam-break
simulations."
Full Story (comments: none)
Web Browsers
Mozilla Firefox and Thunderbird 1.5.0.9 Released (MozillaZine)
Versions 1.5.0.9 of the Mozilla Firefox web browser and the
Mozilla Thunderbird email client
have been announced.
"
Security and Stability updates for Mozilla products based on the Gecko 1.8.0 branch have been released.
Firefox 1.5.0.x will be maintained with security and stability updates until April 24, 2007. All users are strongly encouraged to upgrade to Firefox 2."
Comments (none posted)
Mozilla Firefox 2.0.0.1 released (MozillaZine)
Version 2.0.0.1 of the Mozilla Firefox web browser
has been announced.
"
Mozilla Firefox 2.0.0.1, a security and stability update for
Firefox 2, has been released. This release addresses several critical
security issues. All users are encouraged to upgrade to this release."
Comments (1 posted)
Languages and Tools
Caml
Caml Weekly News
The December 26, 2006 edition of the Caml Weekly News
is out with new Caml language articles.
Full Story (comments: none)
Caml Weekly News
The January 2, 2007 edition of the Caml Weekly News
is out with new Caml language articles.
Full Story (comments: none)
FORTRAN
Gfortran year end status report
A year end status report for Gfortran, the GNU FORTRAN compiler project,
has been published.
"
Gfortran has achieved many milestones this year and hopefully the
contributors can continue to move forward with bug fixes, conformance
to Fortran 95 standard, and the implementation of Fortran 2003 features."
Full Story (comments: none)
Haskell
Haskell Weekly News
The January 2, 2007 edition of the
Haskell Weekly News is online. This week brings a new release of vty and HsColour, and some interesting discussion over the holiday break.
Comments (none posted)
Java
Review/Preview: 2006 and 2007 in Java (O'ReillyNet)
Chris Adamson
looks at recent and upcoming Java developments on O'Reilly.
"
2006 will be remembered as the year that Sun open-sourced Java
under the GPL, that EJB 3.0 finally shipped, and that Google surprised
everyone with its Google Web Toolkit. But how will history record the
results of these events? For the 2006 year-ender, ONJava editor Chris
Adamson looks at the year's events through the lens of how they may play
out in 2007."
Comments (8 posted)
JUnit Reloaded (java.net)
Ralf Stuckert
discusses the latest changes to JUnit on java.net.
"
Let's face it, JUnit is the most widely used (unit-) testing tool in the Java world. There are other powerful test frameworks out there, such as TestNG (which is very comprehensive), but they've never enjoyed the broad acceptance JUnit has. With version 4, Kent Beck and Erich Gamma introduced the first significant API changes in the last few years. When the first release candidate was available back in 2005, you could hardly use it in a productive working environment due to the lack of tool support at that time. By now, most build tools and IDEs come with support for JUnit 4, so it's about time to give it a try. This article describes what's different compared to JUnit 3.8.x."
Comments (none posted)
Perl
Weekly Perl 6 mailing list summary (O'Reilly)
The December 17-23, 2006 edition of the
Weekly Perl 6 mailing list summary is out with coverage of the latest
Perl 6 developments.
Comments (none posted)
Weekly Perl 6 mailing list summary (O'Reilly)
The December 24-30, 2006 edition of the
Weekly Perl 6 mailing list summary is out with coverage of the latest
Perl 6 developments.
Comments (none posted)
99 Problems in Perl 6 (O'Reilly)
Curtis Poe
solves some problems using Perl 6 in an O'Reilly article.
"
Have you wanted to start playing with Perl 6 but find yourself wondering what to write? I use Pugs, a Perl 6 implementation being written in Haskell and have been tremendously enjoying Perl 6. Like many, I’m impatient, but the work on Perl 6 has been progressing quite well and I’m quite keen to see the alpha. However, if you’re like me, you probably do better with a new language by actually writing something in it. Well, not only do I have something for you to write, you can actually help out the Perl 6 effort!"
Comments (none posted)
Ruby
Looking Ahead at Ruby in 2007 (Linux Journal)
Pat Eyler
looks ahead
to Ruby developments in 2007 in a Linux Journal article.
"
Last week, I looked back at Ruby in 2006. This week, it's time to look ahead. Here are 10 Ruby things I think are going to be hot in 2007:"
Comments (none posted)
Tcl/Tk
Dr. Dobb's Tcl-URL!
The December 29, 2006 edition of Dr. Dobb's Tcl-URL! is online with new
Tcl/Tk articles and resources.
Full Story (comments: none)
Tcl-URL!
The January 2, 2007 edition of the Tcl-URL! is online with new
Tcl/Tk articles and resources.
Full Story (comments: none)
XML
A Theory of Compatible Versions (XML.com)
XML.com presents an article by David Orchard entitled
A Theory of Compatible Versions.
"
Creating XML languages that are compatible and extensible is a difficult problem. This week David Orchard argues for a theory of compatibility in which he describes some of the conditions for creating compatible XML languages."
Comments (none posted)
Debuggers
A New Approach To Debugging
Robert O'Callahan
talks about the Amber debugger project in his web log.
"
I have built a system, which I'm calling Amber, to record the complete execution history of arbitrary Linux processes. The history is recorded using binary instrumentation based on Valgrind. The history is indexed to support efficient queries that debuggers need, and then compressed and written to disk in a format optimized for later query and retrieval. The history supports efficient reconstruction of the contents of any memory location or register at any point in time. It also supports efficient answers to "when was the last write to location X before time T", "when was location P executed between times T1 and T2", and other kinds of queries. I can record the 4.1 billion instructions of a Firefox debug build starting up, displaying a Web page, and exiting; the compressed, indexed trace is about 0.83 bytes per instruction executed."
(Thanks to Jerome Lacoste.)
Comments (3 posted)
IDEs
eric3 3.9.3 released
Version 3.9.3 of eric3, an IDE for Python and Ruby,
is available.
"
This release fixes a few bugs and enhances compatibility with
subversion 1.4."
Comments (none posted)
Page editor: Forrest Cook
Next page: Linux in the news>>