Announcing Urwid 0.9.0
----------------------
Urwid home page:
http://excess.org/urwid/
Tarball:
http://excess.org/urwid/urwid-0.9.0.tar.gz
Screenshots:
http://excess.org/urwid/utf8examples.html
About this release:
===================
This is the first release of Urwid with UTF-8 input and display support.
A new raw_display module was added to enable UTF-8 display. This module
also fixes the "dead corner" in the bottom right of the screen and
improves legibility of bright text in some terminals.
New in this release:
====================
- New support for UTF-8 encoding including input, display and editing
of narrow and wide (CJK) characters.
Preliminary combining (zero-width) character support is included,
but full support will require terminal behavior detection.
Right-to-Left input and display are not implemented.
- New raw_display module that handles console display without relying
on external libraries. This module was written as a work around
for the lack of UTF-8 support in the standard version of ncurses.
Eliminates "dead corner" in the bottom right of the screen.
Avoids use of bold text in xterm and gnome-terminal for improved
text legibility.
- Fixed overlay bug related to UTF-8 handling.
- Fixed Edit.move_cursor_to_coords(..) bug related to wide characters
in UTF-8 encoding.
About Urwid
===========
Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.
Urwid is released under the GNU LGPL.
HyPy : means HYperText in PYthon
It's yet another template engine, under GPL2 license
The main feature is that it let you code yours templates like you code
your python. (the indentation defines the structure of the html). So,
it's very easy to render xhtml content. But hypy let you render any
kind of string document too ! It's a very young project, but i think
it's usable.
Features :
- let you code your html like you code in python
- lightweight engine (300 lines)
- Compile templates to bytecode (pyc files)
- classical clauses (if/else, for, capture ...)
- templates inheritances (concept of masterpages and childpages)
Url (tutorial and download) :
http://manatlan.online.fr/hypy.php
`ConfigObj 4.2.0 <http://www.voidspace.org.uk/python/configobj.html>`_
is now available.
The main improvements are *full* Unicode support,a s well as the
addition of the 'convenience' `Section Methods
<http://www.voidspace.org.uk/python/configobj.html#section-methods>`_
* *as_bool*
* *as_int*
* *as_float*
More compelling reasons to choose **ConfigObj** for reading and writing
config files in Python.
What's New ?
==========
The full changelog is :
Removed ``BOM_UTF8`` from ``__all__``.
The ``BOM`` attribute has become a boolean. (Defaults to ``False``.) It
is *only* ``True`` for the ``UTF16`` encoding.
File like objects no longer need a ``seek`` attribute.
Full unicode support added. New options/attributes ``encoding``,
``default_encoding``.
ConfigObj no longer keeps a reference to file like objects. Instead the
``write`` method takes a file like object as an optional argument.
(Which will be used in preference of the ``filename`` attribute if that
exists as well.)
utf16 files decoded to unicode.
If ``BOM`` is ``True``, but no encoding specified, then the utf8 BOM is
written out at the start of the file. (It will normally only be
``True`` if the utf8 BOM was found when the file was read.)
File paths are *not* converted to absolute paths, relative paths will
remain relative as the ``filename`` attribute.
Fixed bug where ``final_comment`` wasn't returned if ``write`` is
returning a list of lines.
Deprecated ``istrue``, replaced it with ``as_bool``.
Added ``as_int`` and ``as_float``.
What is ConfigObj ?
===============
**ConfigObj** is a simple but powerful config file reader and writer:
an *ini file round tripper*.
It's main feature is that it is very easy to use, with a
straightforward programmer's interface and a simple syntax for config
files. It has lots of other features though. It is intended as a more
powerful (but simpler to use) replacement for `ConfigParser
<http://docs.python.org/lib/module-ConfigParser.html>`_.
It's features include :
* Nested sections (subsections), to any level
* List Values
* Multiple Line Values
* Full Unicode support
* String interpolation (substitution)
* Integrated with a powerful validation system
- including automatic type checking/conversion
- repeated sections
- and allowing default values
* All comments in the file are preserved
* The order of keys/sections is preserved
* No external dependencies
I'm happy to spread the word about showmedo.com, an excellent
collection of python programming videos.
>From the website
http://showmedo.com/videoListPage?listKey=TheBigPythonList:
"""Want to learn how to use some of the best Python programming tools
out there, including the supercharged IPython interpreter and the great
free editor SPE? Or maybe you want to see how easy it is to create
great-looking, powerful graphical user interfaces using wxPython. If
so, take a gander at the videos below."""
They have two SPE specific videos:
"""
Python with Stani's Python Editor (SPE)
Two videos to demonstrate editing and debugging of Python code using
the excellent SPE toolkit.
Python Development and Navigation with SPE
------------------------------------------------------------------
SPE is a well-featured cross-platform development environment for
Python. Here I show you how to write a simple Python program, save the
code, run it and navigate using the Explorer, Index and UML Viewer.
Complimentary material can be found in the manual and the tutorial at
http://www.serpia.org.
Debugging with WinPDB from Within SPE
------------------------------------------------------------------
The WinPDB graphical debugger can be launched from within SPE to debug
Python code. Here I show how to launch the debugger, step through the
code and stack frame, inspect variables and exit back to SPE. I also
explain the significance of the Magic Letters.
"""
The SPE videos area available at the url:
http://showmedo.com/videoListPage?listKey=PythonDevelopmentWithSPE.
Contribute back to your favorite open source projects by submitting
your own python videos to this wonderfull project! If you need
inspiration look at the requested videos: http://showmedo.com/requests
Who will make the first wxGlade video? Anyone who contributes a video
can request a SPE pdf manual as a reward.
Stani
--
http://pythonide.stani.behttp://pythonide.stani.be/screenshotshttp://pythonide.stani.be/manual/html/manual.html
--
PS Other python videos have as topic:
"""
Beginning Python
------------------------------------------------------------------
Three videos covering the download and installation of the Python
programming language on a Windows machine and a small introduction to
the Python interpreter.
Python Development with IPython
------------------------------------------------------------------
Four videos leading you through the installation and basic mastery of
the powerful IPython interactive Python environment
Python GUI Programming with wxPython
------------------------------------------------------------------
A series of videos for beginners showing how easy it is to quickly
develop professional looking graphical user interfaces exploiting the
ease and power of the Python programming language. wxPython is fast
becomming one of the most popular cross-platform GUI programming
solutions. This set of videos aims to show you why.
"""
Hi,
The 0.2.1 release of pywinauto is now available.
pywinauto is a set of open-source (LGPL) modules for using Python as a GUI
automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP).
SourceForge project page:
http://sourceforge.net/projects/pywinauto
Download from SourceForge
http://sourceforge.net/project/showfiles.php?group_id=157379
Here is the list of changes:
0.2.1 Small Release number - big changes
------------------------------------------------
17-Feb-2006
* Quick release to get many changes out there - but this release has
been less tested then I would like for a 0.3.0 release.
* Allow access to non text controls using the closest Text control.
This closest text control will normally be the static/label associated
with the control. For example in Notepad, Format->Font dialog, the 1st
combobox can be refered to as "FontComboBox" rather than "ComboBox1"
* Added a new control wrapper - ``PopupMenuWrapper`` for context menu's
You can now work easily with context menu's
e.g. ::
app.Notepad.Edit.RightClick()
# need to use MenuClick rather then MenuSelect
app.PopupMenu.MenuClick("Select All")
app.Notepad.Edit.RightClick()
app.PopupMenu.MenuClick("Copy")
I could think of merging the ``RightClick()`` and ``MenuSelect()``
into one method ``ContextMenuSelect()`` if that makes sense to most
people.
* Added Support for Up-Down controls
* Not all top level windows now have a FriendlyClassName of "Dialog".
I changed this because it made it hard to get windows of a particular
class. For example the main Notepad window has a class name of "Notepad".
This was primarily implemented due to work I did getting the System Tray.
* Renamed ``StatusBarWrapper.PartWidths()`` to ``PartRightEdges()`` as this
is more correct for what it returns.
* Changed HwndWrapper.Text() and SetText() to WindowText() and
SetWindowText() respectively to try and make it clearer that it is
the text returned by GetWindowText and not the text that is visible
on the control. This change also suggested that EditWrapper.SetText()
be changed to SetEditText() (though this is not a hard requirement
EditWrapper.SetText() still exists - but may be deprecated.
* Added ClickInput, DoubleClickInput, RightClickInput, PressMouseInput
ReleaseMouseInput to HwndWrapper - these use SendInput rather then
WM_LBUTTONDOWN, WM_RBUTTONUP, etc used by Click, DoubleClick etc.
I also added a MenuClick method that allows you to click on menu
items. This means you can now 'physically' drop menus down.
* Some further working with tooltips that need to be cleaned up.
* Fixed a bug where coordinates passed to any of the Click operations had
the X and Y coordinates swapped.
* Added new MenuItem and Menu classes that are to the most part hidden
but you can get a menu item by doing ::
app.Notepad.MenuItem("View")
app.Notepad.MenuItem("View->Status Bar")
MenuItems have various actions so for example you can use
``MenuItem.IsChecked()`` to check if the menu item is checked.
Among other methods there are ``Click()`` and ``Enabled()``.
* Modified the 'best match' algorithm for finding controls.
It now searches a couple of times, and tries to find the best
fit for the text passed to it. The idea here is to make it more
"Select what I want - not that other thing that looks a bit like
what I want!". It is possible this change could mean you need to
use new identifiers in scripts - but in general very little modification
should be necessary.
There was also a change to the algorithm that looked for the closest
text control. It missed some obvious controls in the previous
implementation. It also had a bug for controls above the control
rather than to the left.
* Added a new example scripts SaveFromInternetExplorer.py and
SaveFromFirefox.py which show automating downloading of a page
from either of these browsers.
* Added yet more unit tests, there are now a total of 134 tests.
If you want to follow this project then please sign up to the mailing list:
https://lists.sourceforge.net/mailman/listinfo/pywinauto-users
Thanks
Mark
--------------------------------------------
Mark Mc Mahon
Manchester, NH 03110, USA
<P><A HREF="http://sourceforge.net/projects/pywinauto">pywinauto 0.2.1</A>
Simple Windows GUI automation with Python. (17-Feb-06)
PyGreSQL v3.8 has been released.
It is available at:
ftp://ftp.PyGreSQL.org/pub/distrib/PyGreSQL-3.8.tgz.
If you are running NetBSD, look in the packages directory under
databases. There is also a package in the FreeBSD ports collection.
Please refer to changelog.txt for things that have changed in this
version.
Please refer to readme.txt for general information.
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
What is PyQwt3D?
- it is a set of Python bindings for the QwtPlot3D C++ class library
which extends the Qt framework with widgets for 3D data visualization.
PyQwt3D inherits the snappy feel from QwtPlot3D.
The examples at http://pyqwt.sourceforge.net/pyqwt3d-examples.html
show how easy it is to make a 3D plot and how to save a 3D plot to
an image or an (E)PS/PDF file.
- it requires and extends PyQt, a set of Python bindings for Qt.
- it supports the use of PyQt, Qt, Qwt, the Numerical Python extensions
(any combination of NumPy, numarray, and numarray) and optionally
SciPy in a GUI Python application or in an interactive Python session.
- it runs on POSIX, MacOS/X and Windows platforms (practically any
platform supported by Qt and Python).
Changes:
- support for NumPy, see http://numeric.scipy.org
- support for SIP-4.3.x
- build fixes for MacOS/X
The home page of PyQwt3D is http://pyqwt.sourceforge.net.
PyQwt3D-0.1.1 requires:
1. Python-2.4.x or -2.3.
2. PyQt-3.15.x or -3.14.x.
3. SIP-4.3.x or -4.2.1.
4. Qt-3.3.x, -3.2.x, or -3.1.x.
5. QwtPlot3D-0.2.6.
Have fun -- Gerard Vermeulen
Hot on the heels of `Movable Python 1.0.1
<http://www.voidspace.org.uk/python/movpy/>`_, is the release of a free
trial version of **Movable Python**.
This is the full distribution for Python 2.3.5. To download (and play),
visit `Movable python Demo
<http://www.tradebit.com/filedetail.php/734815>`_.
You can obtain the full version from the `Groups Page
<http://voidspace.tradebit.com/groups.php>`_.
It is set to expire on the 22nd May, and displays a nag screen on
startup. Other than that, it is the full version. Have fun.
Fuzzyman
Dejavu 1.4.0
http://projects.amor.org/dejavu/
I'm extremely pleased to announce the release of Dejavu 1.4.0,
a pure-Python Object-Relational Mapping library. Dejavu allows
you to create, query, and manage persistent data using your
existing knowledge of Python programming.
Features
--------
* Data queries are expressed using pure Python; no SQL,
no operator hacks, and no need to wrap code in strings.
* Data may be transparently stored in PostgreSQL, MySQL,
SQLite, Access, or SQL Server databases, as well as
in flat files (using shelve), and caching proxies.
You can create and combine custom storage systems
for your own integration and performance needs.
* Easy associations between Unit classes.
* Full thread-safety for reliable use in web applications
and other concurrent environments.
* Views, sorting, cross-tabs, and other analysis tools.
* Unit Collections, plus Engines and Rules to form powerful
end-user query and reporting interfaces.
What's new in 1.4
-----------------
* Full LEFT, RIGHT, and INNER JOIN support.
* Optimized and introspectable To-One and To-Many associations.
* Arbitrary names for Unit.ID's (primary keys).
* Support for multiple ID's (primary keys).
* A new Schema class and other upgrade-management tools.
* Default values for UnitProperties.
* New logging hooks to help debug SQL and other storage issues.
* Fixes to support Python 2.4 bytecode and other changes.
* Inheritance support (all subclasses are recalled).
* Vastly-improved test suite.
* New recur module included, with a threaded Worker class.
* Better support for update triggers.
Dejavu is in the Public Domain, and you may use it anywhere with
no obligation whatsoever.
User documentation and a full Trac site are available at:
http://projects.amor.org/dejavu/
Robert Brewer
System Architect
Amor Ministries
fumanchu(a)amor.org
Enthought is pleased to announce the release of Python Enthought Edition
Version 0.9.2 (http://code.enthought.com/enthon/) -- a python
distribution for Windows. This is a kitchen-sink-included Python
distribution including the following packages/tools out of the box:
Numeric 24.2
SciPy 0.3.3
IPython 0.6.15
Enthought Tool Suite 1.0.2
wxPython 2.6.1.0
PIL 1.1.4
mingw 20030504-1
f2py 2.45.241_1926
MayaVi 1.5
Scientific Python 2.4.5
VTK 4.4
and many more...
0.9.2 Release Notes Summary
---------------------------
Version 0.9.2 of Python Enthought Edition is the first to include the
Enthought Tool Suite Package (http://code.enthought.com/ets/). Other
changes include upgrading to Numeric 24.2, including MayaVi 1.5 (rather
than 1.3) and removing a standalone PyCrust package in favor of the one
included with wxPython. Also, elementtree and celementtree have been
added to the distribution. Notably, this release is still based on
Python 2.3.5 and still includes SciPy 0.3.3. You'll also notice that we
have changed the version numbering to a major.minor.point format (from a
build number format).
see full release notes at:
http://code.enthought.com/release/changelog-enthon0.9.2.shtml
Best,
Travis N. Vaught