I'm happy to announce a new release of OE jskit 0.8.7 available on PyPI.
Main points of interest:
- user-defined naming of browsers for the remote browser script so that
it is easier to run a test suite for example against machines running
ie7 and ie8 both, see "Remote browsers" in the doc for more details.
- the glue code to run JavaScript tests with unittest.py is now documented
- compatibility with py.test 1.1.1 cleanups, the plugin is now exposed
to py.test through a setuptools entry point
About OE jskit:
jskit contains infrastructure and in particular a py.test plugin to
enable running unit tests for JavaScript code inside browsers.
It contains also glue code to run JavaScript tests from unittest.py
based test suites.
The approach also enables to write integration tests such that the
JavaScript code is tested against server-side Python code mocked as
necessary. Any server-side framework that can already be exposed through
WSGI can play.
The plugin requires py.test 1.1.1 at least.
More information and downloading at:
http://pypi.python.org/pypi/oejskit
including a changelog, documentation and the talk I gave at Europython 2009.
jskit was initially developed by Open End AB and is released under the
MIT license.
In various incarnations it has been in use and useful at Open End for
more than two years, we are quite happy to share it.
Samuele Pedroni for Open End
new in this release:
* updated the repository to GZRBOT code
* a outputcache and poller gadget is now available to support writing
to waves (right now the poller polls every minute)
* RSS plugin looks stable
todo:
* make gozernet work .. this lets GZRBOT bots communicate with each
other by using json over xmpp
* use this to implement wave <-> IRC relaying
* port monitoring of bot output
* port karma plugin
* port quote plugin
demo:
http://cmndbot.appspot.com
wave/xmpp:
cmndbot(a)appspot.com
about CMNDBOT:
CMNDBOT is a port of GOZERBOT to the Google Application Engine. It
supports wave, web and xmpp. It has a plugin structure that lets you
add commands or register callbacks for events. License is BSD
I am pleased to announce version 2.21.1 of the Python bindings for GObject.
The new release is available from ftp.gnome.org as and its mirrors
as soon as its synced correctly:
http://download.gnome.org/sources/pygobject/2.21/
What's new since PyGObject 2.21.0?
- Wrap gio.Volume.eject_with_operation (Gian Mario)
- Wrap gio.Mount.eject_with_operation (Gian Mario)
- Wrap gio.Mount.unmount_mountable_with_operation (Gian Mario)
- Wrap File.unmount_mountable_with_operation (Gian Mario)
- Wrap gio.File.stop_mountable (Gian Mario)
- Wrap gio.File.start_mountable (Gian Mario)
- Wrap gio.File.replace_readwrite_async (Gian Mario)
- Wrap gio.File.poll_mountable (Gian Mario)
- Wrap gio.File.open_readwrite_async (Gian Mario)
- Wrap gio.File.eject_mountable_with_operation (Gian Mario)
- Wrap gio.File.create_readwrite_async (Gian Mario)
- Wrap gio.Drive.stop (Gian Mario)
- Wrap gio.Drive.start (Gian Mario)
- Wrap gio.SocketListener.accept_socket_async|finish (Gian Mario)
- Wrap gio.SocketListener.accept_finish (Gian Mario)
- Wrap gio.SocketListener.accept_async (Gian Mario)
- Wrap gio.SocketListener.accept_socket (Gian Mario)
- Wrap gio.SocketListener.accept (Gian Mario)
- Make cancellable optional in gio.SocketClient.connect_to_host
(Gian Mario)
- Wrap gio.SocketListener.add_address (Gian Mario)
- Wrap gio.SocketClient.connect_to_service_async (Gian Mario)
- Wrap gio.SocketClient.connect_to_host_async (Gian Mario)
- Wrap gio.SocketClient.connect_async (Gian Mario)
- Wrap gio.SocketAddressEnumerator.next_async (Gian Mario)
- Add a missing object gio.InetSocketAddress new in GIO 2.22
(Gian Mario)
- Make cancellable optional for gio.SocketAddressEnumerator.next
(Gian Mario)
- Wrap gio.Socket.condition_wait (Gian Mario)
- Wrap gio.Socket.condition_check (Gian Mario)
- Wrap gio.Resolver.lookup_service_finish (Gian Mario)
- Wrap gio.Resolver.lookup_service_async (Gian Mario)
- Wrap gio.Resolver.lookup_service (Gian Mario)
- Wrap gio.Resolver.lookup_by_address_async (Gian Mario)
- Wrap gio.Resolver.lookup_by_name_finish (Gian Mario)
- Wrap gio.Drive.eject_with_data (Gian Mario)
- Deprecate old gio.Drive methods (Gian Mario)
- Wrap gio.Resolver.lookup_by_name (Gian Mario)
- Make cancellable optional in gio.Resolver.lookup_by_address
(Gian Mario)
- Strip g_ prefix for many other functions (Gian Mario)
- Strip g_ prefix from InetAddress functions (Gian Mario)
- Fix function name gio.resolver_get_default (Gian Mario)
- Wrap gio.FileIOStream.query_info_async (Gian Mario)
- Register enums and flags in PyGI if needed (Tomeu Vizoso, #603534)
- Wrap gio.IOStream.close_async (Gian Mario)
- Make cancellable optional in GFile.create_readwrite (Gian Mario)
- Remove a duplicate entry in gio.defs (Gian Mario)
- Wrap gio.FileInfo.set_modification_time (Gian Mario)
- Wrap gio.EmblemedIcon.get_emblems (Gian Mario)
- Update Enums and Flags with new API (Gian Mario)
- Fix handling of uchar in pyg_value_from_pyobject (Bastian Winkler)
Blurb:
GObject is a object system library used by GTK+ and GStreamer.
PyGObject provides a convenient wrapper for the GObject library for use
in Python programs, and takes care of many of the boring details such as
managing memory and type casting. When combined with PyGTK, PyORBit and
gnome-python, it can be used to write full featured Gnome applications.
Like the GObject library itself PyGObject is licensed under the
GNU LGPL, so is suitable for use in both free software and proprietary
applications. It is already in use in many applications ranging
from small single purpose scripts up to large full
featured applications.
PyGObject requires glib >= 2.22.4 and Python >= 2.3.5 to build.
GIO bindings require glib >= 2.22.4.
Please remember that this is an unstable release and shouldn't be used
in production.
cheers
--
Gian Mario Tagliaretti
GNOME Foundation member
gianmt(a)gnome.org
I'm happy to announce a release candidate of pySerial: 2.5-rc2
http://pyserial.sourceforge.net/
Whats new since rc1:
- Several small bugfixes.
- updated RFC2217 implementation, client support.
- changed Posix read implementation (error handling for disconnected
devices)
- See CHANGES.txt in the distribution for full list.
Source archive and Windows installers can be downloaded from here:
http://sourceforge.net/projects/pyserial/files/
The Windows installer for Python 3.x has py3k in its name, the other one
is for Python 2.x. The source archive's setup.py should automatically
convert using 2to3 when run with Python 3.x.
chris
--
What is pySerial? Quoting from the home page:
This module encapsulates the access for the serial port. It provides
backends for Python running on Windows, Linux, BSD (possibly any POSIX
compliant system), Jython and IronPython (.NET and Mono). The module
named "serial" automatically selects the appropriate backend.
Python Concurrency Workshop, v2.0
January 14-15, 2010
Chicago, Illinois
http://www.dabeaz.com/chicago/concurrent.html
*** Last Two Weeks to Register ***
Join David Beazley, author of the Python Essential Reference, for an
in-depth workshop on concurrent programming techniques and
idioms. This workshop, designed for more experienced Python
programmers, covers threads, synchronization, message passing,
multiprocessing, distributed computing, coroutines, asynchronous I/O
and other related topics with an eye towards writing programs that can
run on multiple CPU cores, clusters, or distributed systems. A major
theme of the workshop is to explore and understand different
programming techniques, their associated performance properties, and
other tradeoffs. You'll definitely walk away with new insight and a
better understanding of how different parts of Python work under the
covers.
Workshop attendance is strictly limited to six people. More information,
including a detailed topic index, is available at:
http://www.dabeaz.com/chicago/concurrent.html
Hopefully I'll see you in a few weeks!
I've just uploaded the Pygments 1.2 packages to CheeseShop. Pygments is a
generic syntax highlighter written in Python.
Download it from <http://pypi.python.org/pypi/Pygments>, or look at the
demonstration at <http://pygments.org/demo>.
As always, many thanks go to Tim Hatch for writing or integrating many
of the bug fixes and new features in this release. Of course, thanks
to all other contributors too!
Feature changelog:
- Dropped Python 2.3 compatibility.
- Lexers added:
* Asymptote
* Go
* Gherkin (Cucumber)
* CMake
* OOC
- Added options for rendering LaTeX in source code comments in the
LaTeX formatter (#461).
- Added `line_number_start` option to image formatter (#456).
- Added `hl_lines` and `hl_color` options to image formatter (#457).
- Added the Monokai style (#453).
Enjoy,
Georg