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
assured that declaring all arguments intent(inout) will result in what some
have called a "raw" interface.
REFERENCE:
<P><A HREF="http://dubois.simplenet.com/python">Pyfort 3.0</A> -
Fortran/Python Connection Tool. (11-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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/
Homepage:
---------
http://sketch.sourceforge.net/
Features:
---------
o Drawing primitives:
o Rectangles
o Ellipses
o Bezier curves
o Bitmap images: JPEG, GIF,...
(all types the Python Imaging Library can read)
o Encapsulated PostScript
o Text
o All objects, including images and text, can be rotated,
scaled, sheared, etc. (all affine transformations are
possible)
o Gradient fills
o Special Effects and Features:
o Use rectangles, ellipses and bezier objects as guides
o Blend Groups: Automatically updated interpolations of
arbitrary objects
o Text can be converted to bezier objects.
o Text along Path
o Exports Encapsulated PostScript, SVG and Adobe Illustrator files
o Imports Adobe Illustrator, Corel CMX, SVG, XFig and WMF files
o Fully scriptable in Python
For more information, have a look at the Sketch webpage.
License:
--------
Sketch is released under GNU Library General Public License.
<P><A HREF="http://sketch.sourceforge.net/">Sketch 0.6.4</A> - a vector
drawing program for Unix written in Python. (11-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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
fixed test/boxtype.py, test/PyAppWithGUI
added to INSTALL file
1/7/00 KPD
added flconvert support for declarations and classes
added ifdef Python sentries to browser changes
added demo runner test/demos.py
fixed browser data bug
1/6/00 KPD
added data support to browser, still needs some work to handle
arbritary script object types
1/4/00 KPD
updated README
reorganized notes
added test/PyAppWithGUI
changed fluid parser to allow scoped indentifiers
12/29/99 KPD
fixed Python Menu callback bug - menus weren't using the new
CallBackStruct
fixed MS-Windows build
fixed function return values in src/Fl_Wrapper
in swig/py_timeout.i: MS VCC couldn't handle pointer initializaition,
had to change to assignment
removed default paramter value from contrib/Check_Browser.cc
removed test/arc.py because it can't work with the current
system - no way to subclass a widget in Python yet
11/19/99 KPD
fixed Python Fl_Widget callbacks to make them work with data
<P><A HREF="http://fltk.netpedia.net/">pyFLTK 11-Jan-2000</A> -
Python wrapper for the FLTK lightweight, good looking, easy-to-use
C++ cross-platform (UNIX/Win32) GUI library. (11-Jan-99)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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(a)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
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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")
Gian Paolo Ciceri Via B.Diotti 45 - 20153 Milano MI ITALY
mobile : ++39 347 4106213
eMail : gp.ciceri(a)acm.org
webSite: http://www.tialabs.com
<P><A HREF="http://starship.python.net/~zanzi/">pyFinancials-0.66</A> -
a little collection of financial algorithms. (07-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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
<P><A HREF="http://www.sff.net/people/neelk/open-source">Multimethod.py</A> -
support for real (i.e. CLOS/Cecil/Dylan-style) multimethods for
Python. (07-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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.
* Lots of other classes were rearranged, too.
* The code can now be installed using the Distutils.
Oedipus can be downloaded from
http://www.mems-exchange.org/software/python/oedipus/ .
==
A.M. Kuchling http://starship.python.net/crew/amk/
Two things I learned for sure during a particularly intense acid trip in my
own lost youth: (1) everything is a trivial special case of something else;
and, (2) death is a bunch of blue spheres.
-- Tim Peters, 1 May 1998
<P><A HREF="http://www.mems-exchange.org/software/python/oedipus/">Oedipus
v0.05</A> - a Python package for creating and maintaining hierarchical
trees of Web links; supports an XML format compatible with the
Open Directory Project (ODP); uses the Metakit database for
storage. (06-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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
- enhanced direct handling of UTF-8 input/output more
conform to HTML4 standard
- new feature: for each host a dictionary with DNs as keys
can be created to define the default objectclass
and attribute for forming DNs for subordinate entries
(see example in cgi-bin/web2ldapcnf.py under host
ldap.ms.inka.de). This is handy in situations where
unexperienced users have to add entries without knowing
how to form a new DN.
Changes since 0.5.3:
- some code cleaning / bug fixing in login procedure
- some small performance enhancements
- direct output of UTF-8 if browser sends UTF-8 in
HTTP_ACCEPTED_CHARSET (e.g. like Netscape Communicator 4.5x does)
- fixed problems with being too case sensitive in modify
- some small improvements in user interface
<P><A HREF="http://sites.inka.de/ms/python/web2ldap/">web2ldap.py
0.6.4</A> - LDAP web client; several enhancements. (06-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------
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
xsl:value-of xsl:variable
xsl:processing-instruction xsl:param
xsl:comment xsl:with-param
xsl:strip-space xsl:key
xsl:preserve-space xsl:copy-of
xsl:sort xsl:namespace-alias
xsl:output
and, of course, xsl:stylesheet, xsl:transform, literal elements and text
Using the xml output method, 4XSLT produces the result tree by throwing
events from the emerging SAX 2 standard to a handler, so it can be
easily
modified to supply results to any SAX 2 consumer. For the 'html' and
'text' output methods special SAX consumers produce HTML DOM nodes and
plain text respectively.
News
----
Changes in 0.8.1
----------------
- 4XSLT implements xsl:xsl:sort and xsl:namespace-alias
- 4XSLT now implements template priorities
- 4XPath now has a clear DOM-query interface
- many big-fixes and more extensive testing
Changes in 0.8.0
----------------
- 4XSLT implements xsl:output
- Fixes to namespace handling
- support lteral element as entire style-sheet
- update to latest 4DOM interface
- many big-fixes and more extensive testing
More info and Obtaining 4XPath and 4XSLT
----------------------------------------
Please see
http://FourThought.com/4Suite/4XPathhttp://FourThought.com/4Suite/4XSLT
Or you can download 4XSLT from
ftp://FourThought.com/pub/4Suite/4XPathftp://FourThought.com/pub/4Suite/4XSLT
4XPath and 4XSLT are distributed under a license similar to that of
Python.
==
Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji(a)fourthought.com (970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.comhttp://OpenTechnology.org
<P><A HREF="http://FourThought.com/4Suite/4XSLT">4XSLT 0.8.1</A> -
XML transformation processor based on the W3C specification for
the XSLT transform language. (04-Jan-2000)
--
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address: python-announce(a)python.org
Python Language Home Page: http://www.python.org/
Python Quick Help Index: http://www.python.org/Help.html
------------------------------------------------------------