puh! ... The 28 months of the PyPy[*] EU project period have been
an intense experience on many levels. We wrote a summary of results,
development methods and experiences here:
and are now heading for the final review meeting in Bruxelles (31st May).
Most involved people look forward to some resting and letting the dust settle
before tackling next steps and sprints.
[*] The PyPy project aims to generate flexible and fast Python Implementations
for various target environments and provides largely re-usable capabilities
for implementing other dynamic languages.
More info: http://codespeak.net/pypy
merlinux GmbH Steinbergstr. 42 31139 Hildesheim
http://merlinux.de tel +49 5121 20800 75 (fax 77)
+++++ Hamburg Python User Group April Meeting +++++
I am pleased to announce our next user group meeting:
Wednesday, May 16, 2007 at 7:00pm
Location: DDD Design GmbH, Jarrestrasse 46, 22303 Hamburg.
Berthold Höllmann talks about two topics:
- numpy - "The fundamental package needed for scientific computing with Python" (http://numpy.scipy.org)
- Extending Python in C/C++/FORTRAN using different options
RSVP now at http://python.meetup.com/179/calendar/5660007/
If you're interested in learning more, please visit our website at
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
In working up a response to the survey being conducted by Forrester Research
on dynamic languages, there is a section wherein they want to see code
samples. The samples must include all code written for the example, and URLs
to any frameworks or modules used.
Their objective is to see how efficient/elegant the language is for
developers. This is one area in which Python should excel.
1) Render a simple Web page containing text, data, and graphics, as
specified in this wireframe mockup:
With the myriad number of web frameworks for Python, this is hard but
let's pick those a few that are most expressive, as the person
evaluating it may not be familiar with Python per se, but be looking
2) Invoke a simple Web service and format/display the results.
This can be either web services or REST, whichever one looks cleanest.
3) Create a mash-up that overlays local temperature data onto a Google map.
4) Create a simple form for data submission with fields and drop down
selects and a submit button, as specified in this wireframe mockup.
At least one field should be validated.
To help our community's standing in the survey, and perhaps promotion of your
favorite web framework, please consider picking one of these or providing a
trimmed down example of existing code. Send it via private email to me, and
I'll get it included in the survey response. Forrester's deadline to us is by
the end of this week, May 18th.
Python Advocacy Coordinator
I've just uploaded bbfreeze 0.93.1 to python's cheeseshop.
bbfreeze creates standalone executables from python scripts. It's similar
in functionality to py2exe or cx_Freeze.
It offers the following features:
bbfreeze can be installed with setuptools' easy_install command.
*NEW* zip/egg file import tracking
bbfreeze tracks imports from zip files. Note that calls to setuptools'
pkg_resources.require will be replaced with a dummy implementation.
Calls to resource handling functions are *not* implemented, and
freezing packages using these features of pkg_resources will not be
possible without further work.
multiple script freezing
bbfreeze can freeze multiple scripts at once.
python interpreter included
bbfreeze will create an extra executable named 'py', which might be
used like the python executable itself.
bbfreeze works on windows and UNIX-like operating systems. It
currently does not work on OS X. bbfreeze has been tested with python
2.4 and 2.5. bbfreeze will not work with python versions prior to 2.3
as it uses the zipimport feature introduced with python 2.3.
cheese shop entry:
I'm pleased to announce the thirty-sixth development release of PythonCAD,
a CAD package for open-source software users. As the name implies,
PythonCAD is written entirely in Python. The goal of this project is
to create a fully scriptable drafting program that will match and eventually
exceed features found in commercial CAD software. PythonCAD is released
under the GNU Public License (GPL).
PythonCAD requires Python 2.2 or newer. The interface is GTK 2.0
based, and uses the PyGTK module for interfacing to GTK. The design of
PythonCAD is built around the idea of separating the interface
from the back end as much as possible. By doing this, it is hoped
that both GNOME and KDE interfaces can be added to PythonCAD through
usage of the appropriate Python module. Addition of other PythonCAD
interfaces will depend on the availability of a Python module for that
particular interface and developer interest and action.
The thirty-sixth release of PythonCAD is primarily a bug-fix release.
A number or bugs relating to saving and loading user preferences that
appeared in the thirty-fifth release have been fixed. Also, several
number of bugs involving entity redrawing have been corrected, as
well as bugs regarding the typing of various commands within the
text entry box in the display.
A mailing list for the development and use of PythonCAD is available.
Visit the following page for information about subscribing and viewing
the mailing list archive:
Visit the PythonCAD web site for more information about what PythonCAD
does and aims to be:
Come and join me in developing PythonCAD into a world class drafting
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
Lucas and Marius have completed their 14-part Introductory Python video
series. The audio is currently in *German* but the text is easy enough
to follow and an English-language version may be possible (see below):
Lucas Holland and Marius Meinert have been building this free ShowMeDo
tutorial series for several months. In 14-parts they cover many
Comments and Variables,
Containers (lists, dictionaries),
This series lives in our Python section (94 videos and growing):
Please do leave Lucas and Marius a Thank-You comment and login to give
them a Thumbs-Up vote to encourage more series like this one.
It might be possible to arrange an English-language version of this
series. If you would be interested in seeing this then please login
to ShowMeDo and leave a comment requesting this on the series.
About Lucas and Marius:
Free videos (we call them ShowMeDos) showing you how to do things.
The videos are made by us and our users, for everyone. 94 of our
203 videos are for Python:
We'd love to have more contributions - would you share what you know?
Sharing is easy, full instructions are here:
Ian Ozsvald, Kyran Dale
My article, "Rethinking the Linux Distribution", was published today
on O'Reilly ONLamp.
I have done a lot of research on what the Linux distribution should
look like in the emerging Web 2.0/SaaS/Web OS world, and came up with
a set of recommendations. The recommendations are backed by running
examples (with source code) and lots of references. The article also
discusses governance of Free/Open Source projects.
One of my major suggestions is to replace the traditional shell-based
administration infrastructure with Python. I cover a relatively
recent, highly rated Linux distribution, which has already started
down this path.
The article includes an example of using IPython and Matplotlib for
Hope everyone here will enjoy considering a Linux (or *BSD)
distribution, where the core system infrastructure is all in Python.
pyx12-1.4.0 is available at http://pyx12.sourceforge.net/
What is Pyx12?
Pyx12 is a HIPAA X12 document validator and converter. X12 files are a
form of electronic data interchange. The HIPAA transaction standard
requires certain types of healthcare data to be transmitted in this
Pyx12 parses an ANSI X12N (Healthcare) data file and validates it
against a representation of the Implementation Guidelines for a HIPAA
transaction. By default, it creates a 997 response. It can also create
an HTML representation of the X12 document or can translate to and
from several XML representations of the data file.
This is primarily a feature release:
Run-time Map Customization:
The validation specifications for each X12 transaction are contained
in XML files (map files). For a particular transaction, the map file
describes the loops, segments, and elements; their relationships,
their requirement conditions; and their data types. As XML files,
their contents can be altered using XSL transformations. The parsing
and validation of an X12 document can be altered by giving one or more
XSLT files as command line arguments. The XSLT files are applied to
the correct map for the X12 document in turn. Using this feature, the
validation of the document can be made more or less restrictive.
The XSL transform should be written so that it only affects the
intended map file. Applying the XSLT to any other map should result in
no change. Also, the resulting XML map must validate against the XML
Schema file 'map.xsd'.
Regular Expression Element Value Validation:
XSL transforms can also be used to apply a regular expression to a map
element node. This allows further element value validation. See
example XSLT files in %PYTHONDIR%\test\files and the XML Schema file
'map.xsd' for more details. For syntax, see python regular expression
Windows installation using the python generated EXE file has been
fixed. Map location lookups have been fixed. See
http://pyx12.sourceforge.net/install.html for more information.
The original maps (pre A1) have been removed from the package.
XML Schemas for the maps and for dataele.xml have been created.
Non-conforming maps have been fixed.
pyx12 is released under the BSD license.
Kalamazoo Community Mental Health and Substance Abuse Services