ANN: Zenoss-0.21.1

2006-07-22 Thread Erik A. Dahl
Version 0.21.1 of Zenoss is available for download.

Major feature enhancements of this version include remote process  
monitoring using the HOST-RESOURCES-MIB, SNMP trap reception and MIB  
compilation (using libsmi).

This release also fixes zenoss bugs: #176, #177 and #185 and zenwin  
bug #189.

To download:
http://www.zenoss.org/download

Release Notes:
http://dev.zenoss.org/trac/wiki/zenoss-0.21/

Project Home:
http://www.zenoss.org/

Project Blurb:
Zenoss is a GPL licensed enterprise grade monitoring system that
provides Inventory/Configuration, Event, Performance and Availability
management in a single integrated package. It is written in Python
using the Zope web application framework and Twisted network
programming environment.  Zenoss is designed to be easy to use for a
beginner yet flexible and powerful enough for the advanced user.

Enjoy,

-EAD

Erik Dahl
CTO  Co-Founder
Zenoss, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


cx_Oracle 4.2

2006-07-22 Thread Anthony Tuininga
What is cx_Oracle?

cx_Oracle is a Python extension module that allows access to Oracle and
conforms to the Python database API 2.0 specifications with a few
exceptions.


Where do I get it?

http://starship.python.net/crew/atuining


What's new?

 1) Added support for parsing an Oracle statement as requested by Patrick
Blackwill.
 2) Added support for BFILEs at the request of Matthew Cahn.
 3) Added support for binding decimal.Decimal objects to cursors.
 4) Added support for reading from NCLOBs as requested by Chris Dunscombe.
 5) Added connection attributes encoding and nencoding which return the IANA
character set name for the character set and national character set in use
by the client.
 6) Rework module initialization to use the techniques recommended by the
Python documentation as one user was experiencing random segfaults due
to the use of the module dictionary after the initialization was complete.
 7) Removed support for the OPT_Threading attribute. Use the threaded keyword
when creating connections and session pools instead.
 8) Removed support for the OPT_NumbersAsStrings attribute. Use the
numbersAsStrings attribute on cursors instead.
 9) Use type long rather than type int in order to support long integers on
64-bit machines as reported by Uwe Hoffmann.
10) Add cursor attribute bindarraysize which is defaulted to 1 and is used
to determine the size of the arrays created for bind variables.
11) Added repr() methods to provide something a little more useful than the
standard type name and memory address.
12) Added keyword argument support to the functions that imply such in the
documentation as requested by Harald Armin Massa.
13) Treat an empty dictionary passed through to cursor.execute() as keyword
arguments the same as if no keyword arguments were specified at all, as
requested by Fabien Grumelard.
14) Fixed memory leak when a LOB read would fail.
15) Set the LDFLAGS value in the environment rather than directly in the
setup.py file in order to satisfy those who wish to enable the use of
debugging symbols.
16) Use __DATE__ and __TIME__ to determine the date and time of the build
rather than passing it through directly.
17) Use Oracle types and add casts to reduce warnings as requested by Amaury
Forgeot d'Arc.
18) Fixed typo in error message.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ctypes 0.9.9.9 released

2006-07-22 Thread Thomas Heller

ctypes 0.9.9.9 released - July 21, 2006
===

Overview

ctypes is an advanced ffi (Foreign Function Interface) package for
Python 2.3 and higher.

ctypes allows to call functions exposed from dlls/shared libraries
and has extensive facilities to create, access and manipulate
simple and complicated C data types in Python - in other words:
wrap libraries in pure Python.  It is even possible to implement C
callback functions in pure Python.

ctypes runs on Windows, Windows CE, MacOS X, Linux, Solaris,
FreeBSD, OpenBSD. It may also run on other systems, provided that
libffi supports this platform.


Changes in 0.9.9.9

Index checking on 1-sized arrays was reintroduced, so they can no
longer be used as variable sized data.

Assigning None to pointer type structure fields possible overwrote
wrong fields.

Fixed a segfault when ctypes.wintypes were imported on non-Windows
machines.

Accept any integer or long value in the ctypes.c_void_p
constructor.

It is now possible to use custom objects in the ctypes foreign
function argtypes sequence as long as they provide a from_param
method, no longer is it required that the object is a ctypes type.

ctypes can now be built with MingW on Windows, but it will not
catch access violations then since MingW does no structured
exception handling.

Sync the darwin/x86 port libffi with the copy in PyObjC. This
fixes a number of bugs in that port. The most annoying ones were
due to some subtle differences between the document ABI and the
actual implementation :-(

Release the GIL during COM method calls, to avoid deadlocks in
Python coded COM objects.

Changes in 0.9.9.7

Fixes for 64-bit big endian machines.

It is now possible to read and write any index of pointer
instances (up to 0.9.9.6, reading was allowed for any index, but
writing only for index zero).

Support for unnamed (anonymous) structure fields has been added,
the field names must be listed in the '_anonymous_' class
variable.  Fields of unnamed structure fields can be accessed
directly from the parent structure.

Enabled darwin/x86 support for libffi (Bob Ippolito and Ronald
Oussuren).

Added support for variable sized data structures: array
types with exactly 1  element don't do  bounds checking any  more,
and  a resize  function can resize  the internal  memory buffer of
ctypes instances.

Fixed a bug with certain array or structure types that contained
more than 256 elements.

Changes in 0.9.9.6

The most important change is that the old way to load libraries
has been restored: cdll.LoadLibrary(path), and CDLL(path) work
again.  For details see the changelog in CVS and in the source
distribution.

It was a mistake to change that in the 0.9.9.3 release - I
apologize for any confusion and additional work this has caused or
will cause.

New module ctypes.util which contains a cross-platform
find_library function.

Sized integer types (c_int8, c_int16, and so on) have been added
by integrating a patch from Joe Wreschnig.  Also c_size_t, which
corresonds to the 'size_t' C type has been added.

Two long standing bugs with pointers have been fixed.  Thanks to
Axel Seibert for pushing me to the first, and thanks to Armin Rigo
for finding the second one.

The ctypes.decorator module has been removed completely, so the
'cdecl' and 'stdcall' symbols are no longer available.
The code generator has been removed completely.  It will probably
be made available as a separate project later.

The samples directory has been removed because it was completely
out-of-date.

The .zip and .tar.gz source distributions no longer contain
different file sets.

The development in CVS now takes place in the HEAD again, the
'branch_1_0' branch is no longer used.


Changes in 0.9.9.3

Windows

The ctypes.com package is no longer included and supported.
It is replaced by the comtypes package which will be released
separately.

ctypes has been ported to Windows CE by Luke Dunstan.

Other platforms

Hye-Shik Chang has written a new build system for libffi
which should remove possible licensing issues.

All platforms

The library loading code has been rewritten by Andreas Degert,
there are now sophisticated methods to find shared libraries.
On OS X, this uses files from Bob Ippolito's macholib.
See the manual for details.

Finally I started to write the manual, it is available online:

http://tinyurl.com/7bpg4

New 'errcheck' protocol to check the return values of foreign
functions, suggested by Mike Fletcher.

Lots of bug fixes, especially for 64-bit platforms. Improved
performance when 

cx_Freeze 3.0.3

2006-07-22 Thread Anthony Tuininga
What is cx_Freeze?

cx_Freeze is a set of utilities for freezing Python scripts into
executables using many of the techniques found in Thomas Heller's
py2exe, Gordon McMillan's Installer and the Freeze utility that ships
with Python itself.


Where do I get it?

http://starship.python.net/crew/atuining

What's new?

1) In Common.c, used MAXPATHLEN defined in the Python OS independent
include file rather than the PATH_MAX define which is OS dependent and
is notavailable on IRIX as noted by Andrew Jones.
2) In the initscript ConsoleSetLibPath.py, added lines from initscript
Console.py that should have been there since the only difference
between that script and this one is the automatic re-execution of the
executable.
3) Added an explicit import encodings to the initscripts in order to
handle Unicode encodings a little better. Thanks to Ralf Schmitt for
pointing out the problem and its solution.
4) Generated a meaningful name for the extension loader script so that
it is clear which particular extension module is being loaded when an
exception is being raised.
5) In MakeFrozenBases.py, use distutils to figure out a few more
platform-dependent linker flags as suggested by Ralf Schmitt.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


Ann: Crunchy Frog 0.6

2006-07-22 Thread andre . roberge
Crunchy Frog (version 0.6) has been released.

Crunchy Frog is an application that transforms an html-based Python
tutorial into an interactive session within a browser window.  The
interactive embedded objects include:
* a Python interpreter;
* a simple code editor, whose input can be executed by Python;
* a special doctest mode for the code editor;
* a graphics canvas which can be drawn upon using a simple api.
* simple sounds can be generated and played with all of the above.

A comprehensive set of examples are included in the package, as well
as two standard Python tutorials (mini-sorting HowTo, and regular
expression HowTo) which have been adapted for use with Crunchy Frog.

Requirements:
Python 2.4+ (it might work, but has not been tested with earlier
versions)
Elementtree; (a link is provided in the included docs)
Firefox 1.5+

The website address is http://crunchy.sourceforge.net
The files can be downloaded from
http://sourceforge.net/project/showfiles.php?group_id=169458

André and Johannes

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


Ophelia 0.1

2006-07-22 Thread Thomas Lotze
The first release of Ophelia, 0.1, has just been tagged. From README.txt:

=

Ophelia creates XHTML pages from templates written in TAL, the Zope Template
Attribute Language. It is designed to reduce code repetition to zero.

At present, Ophelia contains a request handler for the Apache2 web server.

Static content
--

Consider Ophelia as SSI on drugs. It's not fundamentally different, just a
lot friendlier and more capable.

Use Ophelia for sites where you basically write your HTML yourself, except
that you need write the recurring stuff only once. Reducing repetition to zero
comes at a price: your site must follow a pattern for Ophelia to combine your
templates the right way.

Consider your site's layout to be hierarchical: there's a common look to all
your pages, sections have certain characteristics, and each page has unique
content. It's crucial to Ophelia that this hierarchy reflects in the file
system organization of your documents; how templates are nested is deduced
from their places in the hierarchy of directories.

Dynamic content
---

Ophelia makes the Python language available for including dynamic content.
Each template file may include a Python script. Python scripts and templates
contributing to a page share a common set of variables to modify and use.

Ophelia's content model is very simple and works best if each content object
you publish is its own view: the page it is represented on. If you get content
from external resources anyway (e.g. a database or a version control
repository), it's still OK to use Ophelia even with multiple views per content
object as long as an object's views doesn't depend on the object's type or
even the object itself.

Trying to use Ophelia on a more complex site will lead to an ugly entanglement
of logic and presentation. Don't use Ophelia for sites that are actually web
interfaces to applications, content management systems and the like.

=

To use Ophelia, you need

- Apache2
- Python 2.3 or better
- mod_python 3.1 or better
- the zope package from Zope3

Ophelia is released under the Zope Public License, version 2.1. You can
access the source code repository at

https://svn.thomas-lotze.de/repos/public/Ophelia/,

browse it using ViewCVS at

http://svn.thomas-lotze.de/svn-public/Ophelia/,

and download the 0.1 release from

http://svn.thomas-lotze.de/svn-public/Ophelia/tags/Ophelia-0.1.tar.gz.

Ophelia is currently used to deliver its author's private web site.

-- 
Thomas

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html