Uche Ogbuji | 12 Jan 08:05

4XPath and 4XSLT 0.8.1

FourThought LLC (http://FourThought.com) announces the release of

                      4XSLT and 4XPath 0.8.1
                      ----------------------
                      A python implementation
                     of the W3C's XSLT language

4XSLT is an XML transformation processor based on the W3C's
specification
for the XSLT transform language.  4XPath implements the W3C XPath
language
for indicating and selecting XML document components.

http://www.w3.org/TR/xslt

4XPath implements the full 4XPath recommendation except for the 'lang'
core function.

Currently, 4XSLT supports a sub-set of the XSLT recommendation including
the following:

Full expression support and attribute-value template expansion
xsl:include                     xsl:import
xsl:template                    xsl:apply-imports
xsl:apply-templates             xsl:copy
xsl:call-template               xsl:if
xsl:for-each                    xsl:choose
xsl:element                     xsl:when
xsl:attribute                   xsl:otherwise
xsl:text                        xsl:message
(Continue reading)

Michael Ströder | 12 Jan 08:07
Picon

web2ldap.py 0.6.4: WWW gateway for accessing LDAP servers

HI!

I would like to announce a new version of web2ldap (formerly known as
ldap-client-cgi.py), a full-featured LDAPv2 client written in Python
designed to run as a CGI-BIN under the control of a WWW server.

It's available for free (GPL) from

  http://www.web2ldap.de/

There's also a working demo there.

I would like to encourage people to give feedback about the usability
of this program.

Ciao, Michael.

Changes since 0.6.2:
- Some minor enhancements of user interface
- Fixed a basedn-related bug in smart login search
- Added automatically start of CGIHTTPServer.py
  if web2ldap.py is invoked from command-line
  (only Unix up to now).

Changes since 0.5.8:   
- enhanced user interface

Changes since 0.5.6:

- some code cleaning / bug fixing
(Continue reading)

Andrew M. Kuchling | 12 Jan 08:15

Oedipus v0.05 released

Version 0.05 of the Oedipus package for maintaining a hierarchical
database of Web links has been released.  (This package was originally
called the ODP package, but the new name is more memorable.)

Oedipus is a Python package for creating and maintaining hierarchical
trees of Web links.  An XML format compatible with the Open Directory
Project (ODP) is supported; refer to www.dmoz.org for more information
about the ODP.  In theory, you can load the entire ODP's database and
make it available using Oedipus; in practice, I haven't yet verified
that the code scales up to that amount of data.  A prototype Zope
product is included in the package that allows browsing through an
Oedipus database.

Versions 0.03 and 0.04 were never announced anywhere, so the list of
changes from 0.02 is significant:

     * Scalability has been improved; while I still haven't processed
       the whole ODP dataset, I've done the 75Mb structure file, and an 
       unknown chunk of the content file.  It stopped when I got
       bored, not when the script crashed. :)

     * The code no longer require the XML-SIG's parser package;
       now it can use xmllib.py to parse input data.
 	
     * Rearranged the Database class to use Metakit to store the data.
       It should still be possible to implement different persistence
       methods, such as Zope's BTree object or GDBM, but I don't feel
       much of a need to do that.  Accordingly, the GDBM and ZODB 
       classes have been dropped.

(Continue reading)

Neel Krishnaswami | 12 Jan 08:17

Multimethod.py -- multimethods in Python

I'd like to announce the existence of Multimethod.py, a package that
implements real (eg, CLOS/Cecil/Dylan) multimethods for Python. These
are nifty for oodles of reasons, but some of the more significant are:

  o They make the Visitor and Strategy patterns trivial to implement.

  o The whole "binary method/double dispatch" problem goes away, thus 
    promoting loose coupling and other software-engineering buzzwords.

  o They resolve the whole contravariance/covariance debate so totally
    it's hard to remember what the problem was.

You can find it on my webpage at:

  <URI:http://www.sff.net/people/neelk/open-source>

It should work out of the box on CPython 1.5.2, and Jpython if Jpython
has lists that support the insert() method. I don't know about Viper,
since Viper apparently has a rather different type system from vanilla
Python, but it should be easy to port, though.

The current version is quite rough, with lame algorithms used in a
couple of places and very substandard documentation. But it all works,
and is quite usable for experimentation and learning.

(Incidentally, is this the sort of thing that should go on the
types-sig?)

Neel

(Continue reading)

g.p.ciceri | 12 Jan 08:18
Picon
Favicon

pyFinancials-0.66: a collection of financial algorithms

Hello all,

I've just upload on Starship a little
collection of financial algorithms.

In this release there is stuff for:

- Cash Flow (IRR)
- Basic Option Pricing
- Binomial Option Pricing
- Finite Difference
- Option Price MC Simulation
- Futures Algorithms
- Bonds Algorithms
- General Simulation
- Term Structure Algorithms
- Fixed Income Modelling    

You can find it at
http://starship.python.net/~zanzi/pyFinancials-0.66.tgz

It's released under GPL/LGPL.

Enjoy
/gp

== 
"If one advances confidently in the direction of his dreams, and
endeavors to live the life which he has imagined, he will meet
with a success unexpected in common hours." (Thoreau, "Walden")
(Continue reading)

Darrell | 12 Jan 08:20

XMLTreeCntrol 0.1

I mentioned my xmlP tree control as a code example and started getting lots
of hits. But it wasn't really in any shape for public consumption. I fixed a
couple of things and packaged all the required files into a zip.
http://www.dorb.com/darrell/xmlP/

Also a screen shot http://www.dorb.com/darrell/xmlP/scrn.jpg the numbers to
the right are the line number.

It will view anything with tags in it.
Things like this aren't handled: <![CDATA[         expr="age > 18" ]]>
That came from the Zope site, so I have some more work todo someday.

If you have wxPython it should work at least as good as it does for me.

== 
--Darrell

<P><A HREF="http://www.dorb.com/darrell/xmlP/">XMLTreeCntrol
0.1</A> - a simple graphical XML tree control for
wxWindows/wxPython.  (08-Jan-2000)

--

-- 
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address:  python-announce <at> python.org
Python Language Home Page:   http://www.python.org/
Python Quick Help Index:     http://www.python.org/Help.html
------------------------------------------------------------

Gordon McMillan | 12 Jan 08:21

Installer - Linux beta 01, Windows beta 3f

The new betas are available at: 
http://starship.python.net/crew/gmcm/distribute.html

The Windows beta is bug fixes:
  - run from CDROM works
  - some path problems fixed
  - some case-mismatch problems fixed

The Linux beta is the first release for this platform. It includes these 
capabilities:
 - turning a script into an isolated single-directory installation
 - building compressed Python code archives
 - building zip-like archives that can contain anything

(Actually, the latter two capabilites should work on any Unix platform).

Installations created this way are completely insulated from any Python 
installations on the target machine. There is no problem using shared 
extension modules; these will be detected and made part of the installation.

License: 
 Python style (do as thou wilt; maintain copyright notices).

Contact: gmcm <at> hypernet.com

<P><A HREF="http://starship.python.net/crew/gmcm/distribute.html">Installer:
Linux beta 01, Windows beta 3f</A> - distribute Python apps, modules and
packages easily; available under Python-style license.  (08-Jan-2000)

- Gordon
(Continue reading)

Kevin Dahlhausen | 12 Jan 08:23
Favicon

Updated pyFLTK - FLTK Wrappers

pyFLTK is a wrapper for the Fast-Light Toolkit - a cross platform GUI library.
The wrapper also includes a program to convert the FLTK GUI designer output  to
Python code.

The library is available at:  http://fltk.netpedia.net/

Bowser's now have preliminary  data support, flconvert (Fluid GUI
Builder to Python) is now a program and supports scoped identifiers.

Hello World with a Cancel Button looks like this:

from fltk import *
 import sys

 def theCancelButtonCallback(ptr):
         sys.exit(0)

 window = Fl_Window(100, 100, 200, 90, sys.argv[0])
 button = Fl_Button(9,20,180,50,"Hello World")
 button.callback(theCancelButtonCallback)
 window.end()
 window.show(len(sys.argv), sys.argv)
 Fl.run()

Recent Changes:
----------------------
1/11/00 KPD
	completed install-python option

1/8/00 KPD
(Continue reading)

Bernhard Herzog | 12 Jan 08:24
Picon

Sketch 0.6.4 - A Vector Drawing Program

Sketch 0.6.4 - A vector drawing program

Sketch is a vector drawing program for Linux and other unices.  It's
intended to be a flexible and powerful tool for illustrations, diagrams
and other purposes.

Despite the low version number, it already has advanced features like
gradients, text along a path and clip masks and is fully scriptable due
to its implementation in a combination of Python and C.

News:
-----

This is mainly a bug-fix release.

Summary of the Changes since 0.6.3:

    * Bug fixes, most notably for the EPS-related bug in Sketch's
      PostScript prolog.

    * Updated Spanish translations

    * More color icons

    * The mkfontdb.py script can also generate Fontmap files now

Please also note that Sketch has moved to a new location:

       http://sketch.sourceforge.net/

(Continue reading)

Paul F. Dubois | 12 Jan 08:29
Picon

Pyfort-3.0

Pyfort 3.0, the Python-Fortran connection tool, is available at
ftp://ftp-icf.llnl.gov/pub/python/Pyfort-3.0.tgz.
Documentation is included.

News:

Pyfort uses Distutils (www.python.org/sigs/distutils-sig)  both to install
itself and to build and install extensions built with Pyfort.

There are many new features to control the behavior of the tool, including
provisions for optional automatic transposing, reversed-shape Fortran
arrays, and valued scalars.

A valued scalar is an integer argument to a Fortran routine that determines
all or part of the shape of another argument. This fact can now be declared
in the input. For example, if Fortran routine foo has arguments foo (n, x),
where x is a real array of length n, you have the option to declare this as:

subroutine foo (n, x)
    integer n = size(x)
    real x(n)
end

(size is the F90 intrinsic, and can take a second argument to indicate the
dimension if x has more than one)

Then the Python user would call foo as foo(x), and not need to specifiy the
redundant information that n is x's length.

Some persons do not want any of the features mentioned. They may rest
(Continue reading)


Gmane