utility classes to manage tuples returned by databases
Semi-complete API for Informix, Oracle, and ODBC modules
API spec.
Problem now is ownership issues of the work... not on python.org
Comment: Paul Dubios: I've just succeeded in convincing LLNL to release the python
modules written by his group for free and general use.
Python is very nice for database retrieves in that its 'typeless'. Data from a
row can be returned in a tuple without, explicitly typing the return container values
Some stuff (like stored proceedures) are faster with the native database tools
instead of using the thin Python layer.
API simply 'exposes' the database, and does not try to do any 'extras'.
Q: how does the API compare to the MSQL interface
A: MSQL is much simpler. No cursors, no input binding.
Connecting to the database is accomplished via a constructor which you
Documentation - Jim Fulton's work at Digital Creations
Paul Dubois and Jim Hugunin are against docstring tools
and code that requires docstrings because of the extended load time.
Guido: It's quite possible to have a modification for a future Python
to have a choice of reading docstrings from a different file if you want
them.... lets talk about this more at the Thursday SIG meeting...
GD - Gif drawing library, used in Web based applications
IMG - Reads and writes a variety of image formats and a
display for MAC and UNIX
Interface to Khoros imaging system
PIL - Python Imaging Library - provides alot of documentation
and support for reading and writing several
formats. Also providing
an infrastructure for transforming images... (cut, paste, others).
PIL runs under windows and UNIX. Supports alpha channels for
transparency. Tied into the new Matrix class. Being ported to
Mark Hammonds Pythonwin (currently available in early beta
in the form of a .pyd file). Can display in Tk widgets without much problem.
Able to print images nicely.
apply a policy once, and it persists for the entire interaction
With CORBA, if corba breaks, your app breaks
With Hector, if CORBA breaks, it finds something else
Hector: Overview
Hector capsule : a lightweight container
Similar to an ORB
Parts:
Language Layer: Python, C++
Encapsulation Layer:
Offer: can export, withdraw
Binding: define the roles and
communications of an application,
biggest and most complex class in the
system. The constructor takes as
arguments one or more offers .
Interface:
Interaction: abstraction for messaging,
roles and connections, ordering controlled
by a state machine. e.g. RPC, Stream
Message:
Communication Layer: Abstraction of real communications protocols.
Classes: Protocol, EndPoint, Address Currently use UDP, working on
HTTP and others
Hector: Services
Naming, authentication, trading, type managment, banking,
relationship repository, policy, privacy
Similar to CORBA services
Hector: Tools
Binding Editor
define roles and connections
build state machines
Capsule Browser
Templates
Objects
Services: types, trader, names
Hector: Why Python?
initially started in C, took two years to get 20% of what we have now.