Bug-fix release of htmldata, fixes error when parsing whitespace inside tags.
Description of the htmldata module, from its PyPI site:
"Extract and modify HTML/CSS URLs, translate HTML documents <-> list data structures.
The htmldata module allows one to translate HTML documents back and forth to list data structures.
This allows for programmatic reading and writing of HTML documents, with much flexibility.
Functions are also available for extracting and/or modifying all URLs present in the HTML or
stylesheets of a document.
I have found this library useful for writing robots, for "wrapping" all of the URLs on websites
inside my own proxy CGI script, for filtering HTML, and for doing flexible wget-like mirroring.
It keeps things as simple as possible, so it should be easy to learn.
Supports XHTML, too."
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
What is ceODBC?
ceODBC is a Python extension module that enables access to databases using the
ODBC API and conforms to the Python database API 2.0 specifications with a few
additions. I have tested this on Windows against SQL Server, Access, dBASE
and Oracle and others have reported success on more obscure drivers.
On Linux I have tested this against PostgreSQL.
Where do I get it?
1) Added support for time data as requested by Dmitry Solitsky.
2) Added support for Python 2.4 as requested by Lukasz Szybalski.
3) Added support for setting the autocommit flag in the connection
constructor since some drivers do not support transactions and raise a
"driver not capable" exception if any attempt is made to turn
autocommit off; thanks to Carl Karsten for working with me to resolve
4) Added support for calculating the size and display size of columns
in the description attribute of cursors as requested by Carl Karsten.
5) Use SQLFreeHandle() rather than SQLCloseCursor() since closing a
cursor in the ODBC sense is not the same as closing a cursor in the DB
API sense and caused strange exceptions to occur if no query was
executed before calling cursor.close().
6) Added additional documentation to README.txt as requested by Lukasz
7) Tweaked setup script and associated configuration files to make it
easier to build and distribute; better support for building with
cx_Logging if desired.
Registrations are open for the Open Source Developers' Conference 2007:
The early bird has been partially extended. Book before October 31st to
save $30, and to get your free t-shirt. No t-shirts will be available
after the 31st October!
31st October - Extended almost-early bird date
26th November - Tutorials
27th - 29th November - Technical programme
28th November - Google Conference Dinner
Royal on the Park Hotel
Cnr Alice & Albert Streets
The Open Source Developers' Conference is an Australian conference covering
talks about software development for open source languages and projects;
regardless of operating system. There will be 3-4 streams of talks over
the three days of technical programme, with combined keynotes at the start
of each day. Morning and afternoon teas, and lunch will be provided. The
Google Conference Dinner will be held on the night of the 28th November
(each full registration includes one ticket (until sold out)).
Tutorial attendance will include a tea break, lunch and printed reference
material. Tutorials cost $250 each.
Our tutorial program is included below:
9:00am "MySQL Optimisation by Design" by Arjen Lentz
1:30pm "Advanced SQL for Developers (PostgreSQL)" by Evan Leybourn
9:00am "Test Driven Development" by Kirrily Robert
1:30pm "Getting Started with Bazaar" by Ian Clatworthy
9:00am "Incident Response using PyFlag - the Forensic and Log Analysis
GUI" by Dr Michael Cohen
1:30pm "Groovy Tutorial" by Dr Paul W King
A tea break will occur roughly half way through each tutorial.
For more information on what each tutorial covers, please follow the links
from the schedule:
Prices and information on how to register can be found at:
You can help us make this conference be the best developers' conference
this year just by turning up and participating! We look forward to sharing
this great conference with you.
If your business would like to benefit from exposure to many of Australia's
best open source developers then perhaps you should consider sponsorship.
We have a wide range of sponsorship options, to find out more information
please visit: http://www.osdc.com.au/sponsors/index.html
Many thanks go to our sponsors: Apress, Brisbane PHP, BuilderAU, Common
Ground, Google, Linux Magazine, Opengear, Open Query, Red Hat,
realestate.com.au, Sun Microsystems, Trolltech, Woodslane,
Forwarded on behalf of:
OSDC Publicity Officer
For our November meeting, Google have kindly offered to host us again.
Thursday, November 1, 2007 6:15-8:30PM
Level 18, Tower 1 Darling Park
201 Sussex St
We will have one scheduled presentation:
Graham Dumpleton will talk about mod_wsgi (http://www.modwsgi.org).
Graham is the developer of mod_wsgi which is a simple to use Apache
module that can host any Python application which supports the
Python WSGI interface.
followed by some lively discussion and for those who want to, we will
continue the gathering at a local watering hole after 8:30PM.
Of course if anyone else would like to give a presentation or a lightening talk
please let me know asap.
The room can hold 40 people. To attend this meeting you must RSVP to Alan
Green (alangreen at google dot com)
A group of Sydney based python users who meet on the first Thursday of
We're happy to announce version 3.0.1 of Wing IDE, an advanced development
environment for the Python programming language. It is available from:
This release focuses on fixing minor usability issues found in Wing 3.0 and
improves and expands the VI keyboard personality. It is a free upgrade
for all Wing 3.0 users.
See the change log for details:
*About Wing IDE*
Wing IDE is an integrated development environment for the Python programming
language. It provides powerful debugging, editing, code intelligence,
testing, and search capabilities that reduce development and debugging
time, cut down on coding errors, and make it easier to understand
and navigate Python code.
New features added in Wing 3.0 include:
* Multi-threaded debugger
* Debug value tooltips in editor, debug probe, and interactive shell
* Autocompletion and call tips in debug probe and interactive shell
* Automatically updating project directories
* Testing tool, currently supporting unittest derived tests (*)
* OS Commands tool for executing and interacting with external commands (*)
* Rewritten indentation analysis and conversion (*)
* Introduction of Wing IDE 101, a free edition for beginning programmers
* Available as a .deb package for Debian and Ubuntu
* Support for Stackless Python
* Support for 64 bit Python on Windows and Linux
(*)'d items are available in Wing IDE Professional only.
System requirements are Windows 2000 or later, OS X 10.3.9 or later for PPC or
Intel (requires X11 Server), or a recent Linux system (either 32 or 64 bit).
*Purchasing & Upgrading*
Wing IDE Professional & Wing IDE Personal are commercial software and require
a license to run. To upgrade a 2.x license or purchase a new 3.x license:
Any 2.x license sold after May 2nd 2006 is free to upgrade; others cost
1/2 the normal price to upgrade.
The Wingware Team
Wingware | Python IDE
Advancing Software Development
ffnet version 0.6.1 is released! Source packages,
Gentoo ebuilds and Windows binaries are available
for download at:
If you are unfamiliar with this package, see the end of
this message for a description.
This is mainly bugfix release.
- added 'readdata' function (simplifies reading training data
from ASCII files)
CHANGES & BUG FIXES
- fixed bug preventing ffnet form working with scipy-0.6.0,
- importing ffnet doesn't need matplotlib now (really),
- corrections in fortran code generators
What is ffnet?
ffnet is a fast and easy-to-use feed-forward neural
network training solution for python.
1. Any network connectivity without cycles is allowed.
2. Training can be performed with use of several optimization
schemes including: standard backpropagation with momentum, rprop,
conjugate gradient, bfgs, tnc, genetic alorithm based optimization.
3. There is access to exact partial derivatives of network outputs
vs. its inputs.
4. Automatic normalization of data.
Basic assumptions and limitations:
1. Network has feed-forward architecture.
2. Input units have identity activation function,
all other units have sigmoid activation function.
3. Provided data are automatically normalized, both input and output,
with a linear mapping to the range (0.15, 0.85).
Each input and output is treated separately (i.e. linear map is
unique for each input and output).
4. Function minimized during training is a sum of squared errors
of each output for each training pattern.
Excellent computational performance is achieved implementing core
functions in fortran 77 and wrapping them with f2py. ffnet outstands
in performance pure python training packages and is competitive to
'compiled language' software. Moreover, a trained network can be
exported to fortran sources, compiled and called in many
Basic usage of the package is outlined below:
from ffnet import ffnet, mlgraph, savenet, loadnet, exportnet
conec = mlgraph( (2,2,1) )
net = ffnet(conec)
input = [ [0.,0.], [0.,1.], [1.,0.], [1.,1.] ]
target = [ [1.], [0.], [0.], [1.] ]
net.train_tnc(input, target, maxfun = 1000)
net.test(input, target, iprint = 2)
net = loadnet("xor.net")
answer = net( [ 0., 0. ] )
partial_derivatives = net.derivative( [ 0., 0. ] )
Usage examples with full description can be found in
examples directory of the source distribution or browsed
A new book on Python GUI (graphical user interface) programming has just
been published in the US:
Title: Rapid GUI Programming with Python and Qt
Subtitle: The Definitive Guide to PyQt Programming
Author: Mark Summerfield (mark(a)qtrac.eu)
Format: Hardback, 648 pages
Python is normally installed with the Tkinter GUI library, because
Tk/Tcl has a liberal license and is quite small as GUI libraries go. But
there are several other cross-platform GUI libraries available,
including PyGtk and PyQt, as well as various platform-specific
The PyQt library is based on Trolltech's C++/Qt library that is the
foundation on which KDE (the K desktop environment) is built. PyQt has
far more widgets than Tkinter, produces much better looking applications
(because they look native on whatever platform they are running on), and
is easier to learn and use (because of its high-level signals and slots
communication mechanism). PyQt also offers many useful non-GUI classes,
including excellent support for threading.
The book covers PyQt4, and is best used with Python 2.5 and PyQt 4.2 or
better, on Windows, Mac OS X, or an X11-based Unix or Linux. No prior
knowledge of GUI programming is assumed, so don't worry if you've only
ever done web programming:-)
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
<P><A HREF="http://www.qtrac.eu/pyqtbook.html">Rapid GUI Programming
with Python and Qt</A> - A new book on writing GUI applications with the
PyQt4 library. (24-Oct-07)
I am pleased to announce version 0.3 of the ordereddict module.
added slice retrieval, deletion, assigment
added .rename(oldkey, newkey) rename a key keeping same value and position
fixed .index(): non-existing key now returns ValueError instead of
Changed the module name to _ordereddict (from ordereddict), as Jason
Kirstland probably rightfully suggested that any private implementation
likely has the (file)name ordereddict.py. A modulename with leading
underscore seams more common for extension modules anyway.
Solved the potential GC problem on Windows (already in 0.2a,
downloadable, but unannounced)
From the blurb on ordereddict's home-page:
This is an implementation of an ordered dictionary with Key Insertion
Order: updates of values do not affect the position of the key.
It implementation is directly derived from dictobject.c and its speed is
5-10% slower than dict() and 5-9 times faster than Larosa/Foord
excellent pure Python implemention.
This module has been tested under:
Ubuntu 7.04, gcc : Python 2.5.1
Ubuntu 7.04, gcc : Python 2.4.4
Ubuntu 6.06, gcc : Python 2.5.1
Windows XP, Visual Studio 2003: Python 2.5.1
ordereddict's home on the web is at
there you also find the links where the source can be downloaded.
The .zip file there included a precompiled .pyd file for Windows.
Bookmarks database and Internet robot
WHAT IS IT
A set of classes, libraries, programs and plugins I use to manipulate my
bookmarks.html. I like Mozilla, but I need more features. I want to extend
Mozilla's "Check for updates" feature (Navigator4 called it "Update
WHAT'S NEW in version 4.0.0 (2007-10-01)
Extended support for Mozilla: charset and icon in bookmarks.
Use the charset to add Accept-Charset header.
Retrieve favicon.ico (or whatever <link> points to) and store it.
The project celebrates 10th anniversary!
WHAT'S NEW in version 3.4.1 (2005-01-29)
Updated to Python 2.4. Switched from CVS to Subversion.
WHAT'S NEW in version 3.4.0 (2004-09-23)
Extended support for Mozilla: keywords in bookmarks.
Updated to m_lib version 1.2.
WHERE TO GET
Master site: http://phd.pp.ru/Software/Python/#bookmarks_db
Oleg Broytmann <phd(a)phd.pp.ru>
Copyright (C) 1997-2007 PhiloSoft Design
Oleg Broytmann http://phd.pp.ru/ phd(a)phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.