From ask at celeryproject.org Tue Feb 1 13:05:08 2011 From: ask at celeryproject.org (Ask Solem Hoel) Date: Tue, 1 Feb 2011 13:05:08 +0100 Subject: [Ann] Celery 2.2 released! Message-ID: <050D8E44-DF97-40C2-BE82-CBC4A9EFAB9C@celeryproject.org> ============================== Celery 2.2 is now available! ============================== We're happy to announce the release of Celery 2.2. Thanks to all contributors, testers and users, which without this release would not have been possible. What is it? =========== Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. The execution units, called tasks, are executed concurrently on a single or more worker nodes using multiprocessing, Eventlet, or gevent. Tasks can execute asynchronously (in the background) or synchronously (wait until ready). Celery is used in production systems to process millions of tasks a day. Celery is written in Python, but the protocol can be implemented in any language. It can also operate with other languages using webhooks. The recommended message broker is RabbitMQ, but limited support for Redis, Beanstalk, MongoDB, CouchDB, and databases (using SQLAlchemy or the Django ORM) is also available. Celery is easy to integrate with Django, Pylons and Flask, using the django-celery, celery-pylons and Flask-Celery add-on packages. Going to PyCon US 2011? ======================= Then don't forget to attend Ryan Petrello's talk, "Distributed Tasks with Celery": http://us.pycon.org/2011/schedule/sessions/1/ What's new? =========== * Eventlet and gevent support. Worker nodes can now use Eventlet/gevent as an alternative to multiprocessing. You could run several nodes running different pool implementations and route tasks to the "best tool for the job". * Jython support! * This is the last version supporting Python 2.4. * Celery is now a class that can be instantiated, and the configuration is no longer global (see http://bit.ly/i6s3qK) * Built-in support for virtual transports ("ghettoq queues") Virtual transports for Redis, Beanstalk, CouchDB, MongoDB, SQLAlchemy and the Django ORM are now available by default, and the implementations have been drastically improved. * Now using Kombu instead of Carrot. Kombu is the next generation messaging framework for Python. See http://packages.python.org/kombu * Multiple instances of event monitors can now run simultaneously (celeryev, celerymon, djcelerymon) * Redis transport can now do remote control commands. * Autoscaling of worker processes. * Magic keyword arguments pending deprecation. The magic keyword arguments will be completely removed in version 3.0. It is important that you read the full changelog for more details. And *lots* more! The Changelog contains a detailed list of all improvements and fixes: http://celeryproject.org/docs/changelog.html#version-2-2-0 Be sure to read this before you upgrade! Upgrading ========= To upgrade using pip:: $ pip install -U celery If you're using Django, then django-celery will automatically upgrade Celery as well:: $ pip install -U django-celery Resources ========= :Homepage: http://celeryproject.org :Download: http://pypi.python.org/pypi/celery :Community Links: http://celeryq.org/community.html :Documentation: http://celeryproject.org/docs/ :Code: http://github.com/ask/celery/ :FAQ: http://ask.github.com/celery/faq.html :Mailing list: http://groups.google.com/group/celery-users :IRC: #celery at irc.freenode.net. -- {Ask Solem | twitter.com/asksol }. From cce at clarkevans.com Tue Feb 1 21:47:23 2011 From: cce at clarkevans.com (Clark C. Evans) Date: Tue, 01 Feb 2011 15:47:23 -0500 Subject: HTSQL 2.0-FINAL : A Query Language for the Accidental Programmer Message-ID: <1296593243.5385.1418430095@webmail.messagingengine.com> We'd like to announce the final release of HTSQL 2.0, a novel approach to querying a relational database, which is neither an ORM nor raw SQL. HTSQL is a URI-based high-level query language and web service gateway for relational databases. HTSQL is implemented as a WSGI component and could be used to embed ad-hoc reporting in your Python application. Homepage: http://htsql.org Download: http://pypi.python.org/pypi/HTSQL/ Source: http://bitbucket.org/prometheus/htsql At this point, HTSQL 2.0 may not be mature enough for production use; we expect to fill in any remaining gaps in the coming months. The current release supports SQLite and PostgreSQL. We're curious what you think. See you at PyCon 2011, http://us.pycon.org/2011/schedule/sessions/264/ Clark C. Evans & Kirill Simonov ======================================================= HTSQL -- A Query Language for the Accidental Programmer ======================================================= HTSQL ("Hyper Text Structured Query Language") is a high-level query language for relational databases. The target audience for HTSQL is the accidental programmer -- one who is not a SQL expert, yet needs a usable, comprehensive query tool for data access and reporting. HTSQL is also a web service which takes a request via HTTP, translates it into a SQL query, executes the query against a relational database, and returns the results in a format requested by the user agent (JSON, CSV, HTML, etc.). Use of HTSQL with open source databases (PostgreSQL, MySQL, SQLite) is royalty free under BSD-style conditions. Use of HTSQL with proprietary database systems (Oracle, Microsoft SQL) requires a commercial license. See ``LICENSE`` for details. For installation instructions, see ``INSTALL``. For list of new features in this release, see ``NEWS``. HTSQL documentation is in the ``doc`` directory. http://htsql.org/ The HTSQL homepage http://htsql.org/doc/showcase.html Get taste of HTSQL http://htsql.org/doc/tutorial.html The HTSQL tutorial http://bitbucket.org/prometheus/htsql HTSQL source code irc://irc.freenode.net#htsql IRC chat in #htsql on freenode http://lists.htsql.org/mailman/listinfo/htsql-users The mailing list for users of HTSQL HTSQL is copyright by Prometheus Research, LLC. HTSQL is written by Clark C. Evans and Kirill Simonov . Generous support for HTSQL was provided by the Simons Foundation. This material is also based upon work supported by the National Science Foundation under Grant #0944460. From fredrik.johansson at gmail.com Tue Feb 1 23:11:44 2011 From: fredrik.johansson at gmail.com (Fredrik Johansson) Date: Tue, 1 Feb 2011 23:11:44 +0100 Subject: ANN: mpmath 0.17 (Python 3 support and more) Message-ID: Hi all, Version 0.17 of mpmath is now available on the project website: http://code.google.com/p/mpmath/ It can also be downloaded from the Python Package Index: http://pypi.python.org/pypi/mpmath/0.17 Mpmath is a pure-Python library for arbitrary-precision floating-point arithmetic that implements an extensive set of mathematical functions. It can be used as a standalone library or via SymPy (http://code.google.com/p/sympy/), and is also available as a standard component of Sage (http://sagemath.org/). The major news in 0.17 is that mpmath now works with Python 3. To support both Python 2.x and 3.x with the same codebase, compatibility with Python 2.4 has been dropped (mpmath now requires 2.5 or higher). New functionality in mpmath 0.17 includes an implementation of the Lerch transcendent, Riemann zeta zero counting, and improved support for evaluating derivatives of the Hurwitz zeta function and related functions. Many thanks to Juan Arias de Reyna and Case Vanhorsen who contributed to this version. For more details, see the changelog: http://mpmath.googlecode.com/svn/tags/0.17/CHANGES Extensive documentation is available at: http://mpmath.googlecode.com/svn/trunk/doc/build/index.html or http://mpmath.googlecode.com/svn/tags/0.17/doc/build/index.html Bug reports and other comments are welcome on the issue tracker at http://code.google.com/p/mpmath/issues/list or the mpmath mailing list: http://groups.google.com/group/mpmath Enjoy, Fredrik Johansson From alice at gothcandy.com Wed Feb 2 01:20:50 2011 From: alice at gothcandy.com (Alice Bevan-McGregor) Date: Tue, 1 Feb 2011 16:20:50 -0800 Subject: ANN: marrow.util 1.1 Message-ID: <6B57A6CB-40A0-468A-BC89-237DCF8D85D3@gothcandy.com> Howdy! It is my pleasure to announce an updated release of marrow.util, a package combining many commonly re-implemented utility functions, classes, and compatibility code used extensively by the marrow package suite and others. The updated package is available from PyPi: http://pypi.python.org/pypi/marrow.util Prepared eggs are available for Python 2.6, 2.7, and 3.1; a source tarball has been included as well. The following is an overview of the many utilities provided. marrow.util.bunch: * Bunch - attribute access dictionary. * MultiBunch - as per Bunch + allowing multiple values per key. marrow.util.compat: * formatdate - consistent import for Py2K + 3K. * unquote - consistent unquote_plus import and 3K bytes conversion. * range / xrange - Py2K xrange / 3K range consistent imports. * execfile - Py3K implementation and consistent import. * exception - a version-agnostic method of exception handling. * binary / unicode - consistent imports for str/bytes and unicode/str. * bytestring - ensure a string is a bytestring. * native - ensure a string is native (bytes on 2K, unicode on 3K). * uvalues - decode each value of an iterable with advanced error handling. * IO - StringIO/cStringIO/BytesIO consistent import. * parse_qsl - consistent import. marrow.util.convert: * boolean - convert common string representations into booleans. * array - powerful string to list conversions. * KeywordProcessor - powerful bidirectional string to rich datatype conversion. * tags - a KeywordProcessor for processing space-separated tag sets. * terms - a KeywordProcessor for processing demarked search terms (+foo -bar). marrow.util.escape: * unescape - ANSI color code, object property, and pronoun substitution. marrow.util.events: * WaitableEvent - an asynchronous event trigger. marrow.util.insensitive: * CaseInsensitiveDict - the name is descriptive. marrow.util.object: * flatten - recursive iterable flattening. * yield_property - a generator which returns a named property from all elements in a sequence. * yield_keyvalue - a generator which returns a named item from all elements in a sequence. * NoDefault - a useful placeholder singleton for optional keyword arguments. * merge - merge two dictionaries. * load_object - dot-colon notation string to object resolver. * Cache - a simple LRU cache implementation. * LoggingFile - a file-like object wrapper around Python logging. * CounterMeta - serialized instance creation metaclass. * getargspec - a comprehensive argspec inspector. marrow.util.path: * Path - an enhanced deque implementation for manipulating URL paths. marrow.util.patterns: * Borg - a very light-weight borg superclass or mix-in. marrow.util.pipe: * Pipe - a cross-platform TCP-based pipe implementation. * pipe - consistent import for platform-aware (Windows-compat) pipe creation. marrow.util.text: * normalize - determine the best unique name for a new item in a sequence. * ellipsis - truncate text and add an ellipsis. * wrap - wrapping of English text. * rewrap - combined unwrapping and wrapping of English text. marrow.util.time: * UTC - a simple concrete UTC implementation. * delta_to_seconds - timedelta to seconds conversion. * day, week, hour, minute, second, month, year - timedelta constants. * minute_range, hour_range, dom_range, month_range, dow_range - 2-tuple range constants. * map_month, map_dow - map strings to integers. ? Alice. ? Alice. From aahz at pythoncraft.com Wed Feb 2 15:48:55 2011 From: aahz at pythoncraft.com (Aahz) Date: Wed, 2 Feb 2011 09:48:55 -0500 (EST) Subject: REMINDER: OSCON Call for Proposals (deadline 2/7) Message-ID: <20110202144855.B8CAE32607@mailbackend.panix.com> DEADLINE Monday February 7 OSCON (O'Reilly Open Source Convention), the premier Open Source gathering, will be held in Portland, OR July 25-29. We're looking for people to deliver tutorials and shorter presentations. http://www.oscon.com/oscon2011 http://www.oscon.com/oscon2011/public/cfp/144 Hope to see you there! -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From renato.filho at openbossa.org Wed Feb 2 20:03:42 2011 From: renato.filho at openbossa.org (Renato Araujo Oliveira Filho) Date: Wed, 2 Feb 2011 16:03:42 -0300 Subject: Python for Qt version 1.0.0~beta5 "color blind" released Message-ID: The PySide team is happy to announce the fifth beta release of PySide: Python for Qt. New versions of the PySide toolchain components have been released as well. This is a source code release only; we hope our community packagers will be providing provide binary packages shortly. To acquire the source code packages, refer to our download wiki page [1] or pull the relevant tagged versions from our git repositories [2]. Major changes since 1.0.0~beta4 =============================== This is a bugfix release. Since beta4, a total of 23 bugs have been fixed. See the list of fixed bugs at the end of this message. Path towards 1.0 release ======================== The list of bugs in our Bugzilla [3] having P3 or higher priority is getting short enough that we are beginning to feel confident for to do the 1.0 release soon. The next release, in two weeks, will be our first release candidate (rc1): it will incorporate all or most of the currently open P2/P3 bugs, but after that, only clear regressions (features which have worked in previous PySide versions but not in rc1) will be fixed before 1.0. Then, the 1.0 release will happen two weeks from rc1. About PySide ============ PySide is the Nokia-sponsored Python Qt bindings project, providing access to not only the complete Qt 4.7 framework but also Qt Mobility, as well as to generator tools for rapidly generating bindings for any Qt-based libraries. The PySide project is developed in the open, with all facilities you'd expect from any modern OSS project such as all code in a git repository [2], an open Bugzilla [3] for reporting bugs, and an open design process [4]. We welcome any contribution without requiring a transfer of copyright. List of bugs fixed ================== 640 Crash in example elasticnodes.py 627 Compile error in generatorrunner - missing abstractmetalang.h, etc 632 QLineEdit.getTextMargins() segmentation fault 647 QGLWidget.bindTexture(QPixmap) causes program crash 650 Missing bindings for QNetworkProxyFactory 651 Calling disconnect() with no arguments causes segfault 562 pyside-uic does not generate some layers properties 565 QImage missing *data constructors 590 Error QFileDialog.getSaveFileName with DontConfirmOverwrite option 593 __repr__ should be more Pythonic 605 Using metaclasses with the PySide classes doesn't work 612 QColor.__reduce__ is not accurate 613 QSvgRenderer chooses QByteArray overload when given a file path 616 error compiling when public and private methods differ by the const-ness 617 conversion from C++ enum to PySide does not set repr() properly 618 QAbstractItemModel.createIndex only creates a weak reference to ptr 633 bool of null QDate (possibly other empty QString/null QObj types?) returns True for empty instance; probably should be False 641 some errors in diagramscene.py 655 bad re-implementations of QApplication.notify result in a SystemError 656 cannot inherit from QCoreApplication 659 removeParent() performs very poorly when a parent has >10000 items 566 'PySide.QtGui.QImage' object has no attribute 'scanLine' 636 Unable to navigate back to the main site from the generated documentation References ========== [1] http://developer.qt.nokia.com/wiki/PySideDownloads [2] http://qt.gitorious.org/pyside [3] http://bugs.openbossa.org/ [4] http://www.pyside.org/docs/pseps/psep-0001.html From whykay at gmail.com Wed Feb 2 15:55:57 2011 From: whykay at gmail.com (Vicky Twomey-Lee) Date: Wed, 2 Feb 2011 14:55:57 +0000 Subject: Python Ireland presents Feb Talks @ The Science Gallery (Wed, 9th Feb 2011, 7pm-8:15pm) Message-ID: Hi All, When: Wed, 9th Feb 2011, 7pm-8:15pm Where: The Science Gallery Details: ---------- "Introduction to Python" by Sean O'Donnell (Level: Beginner) Abstract: The content is an introduction to python, by means of comparing it to C, Java and Ruby. So if you can think of a snappier title, by all means go for it. "Advanced unit testing in Python" by Rory Geoghegan (Level: Intermediate) Abstract: Now that you have played around with the rudimentaries of the unittest module, and started writitng tests for your code, how can you make things easier? I'll go over the new additions to the unittest module in Python 2.7, the use of the mock library, and how to use them together to write effective unit tests. Pub afterwards: Trinity Capital Hotel, Pearse Street. This event is free. Also, just to remind you all that a Python Society AGM will be held after the talks. All are welcome to attend that as well. Venue thanks to The Science Gallery (sciencegallery.com). Details:- http://www.python.ie/meetup/2011/feb_2011_talks__science_gallery/ Cheers, /// Vicky ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ http://irishbornchinese.com ~~ ~~ http://www.python.ie ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ From petri at digip.org Thu Feb 3 13:13:43 2011 From: petri at digip.org (Petri Lehtinen) Date: Thu, 3 Feb 2011 14:13:43 +0200 Subject: Sala 1.1 released Message-ID: <20110203121343.GC10160@colossus> Sala 1.1 has been released. This release adds ~/.config/sala.conf (or, more specifically, $XDG_CONFIG_HOME/sala.conf) to the list of configuration locations that are read, as per the XDG Base Directory Specification. Python 2.5 is also now supported. Install: pip install sala Docs & download: http://pypi.python.org/pypi/sala Git repository: http://github.com/akheron/sala What is sala? ============= Sala is a command-line utility that lets you store passwords and other bits of sensitive plain-text information to encrypted files on a directory hierarchy. This makes it integrate nicely with the shell; tab completion works, for example. It's also convenient to store your passwords in version control, for example. The stored information is protected by GnuPG's symmetrical encryption. Sala has been written in Python. It requires gpg[1], the GnuPGInterface[2] library, and (with the default configuration) uses pwgen[3] to suggest good passwords, if it's installed. [1] http://www.gnupg.org/ [2] http://py-gnupg.sourceforge.net/ [3] http://sourceforge.net/projects/pwgen/ From fzadrozny at appcelerator.com Thu Feb 3 19:17:12 2011 From: fzadrozny at appcelerator.com (Fabio Zadrozny) Date: Thu, 3 Feb 2011 16:17:12 -0200 Subject: Pydev 1.6.5 Released Message-ID: Hi All, Pydev 1.6.5 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Syntax highlighting now has options to have {}, [] and () as well as operators in different colors * Code generation for classes and methods: Note that this is an initial implementation of the idea, aimed as those that use a TDD (Test Driven Development) approach, so, one can create the test first and generate the classes/methods later on from using shortcuts or quick-fixes (which is something that those using JDT -- Java Development Tools -- in Eclipse should be already familiar with). This feature should be already usable on a number of situations but it's still far from being 100% complete. * Alt+Shift+S C can be used to create a class for the currently selected token * Alt+Shift+S M can be used to create a method for the currently selected token * Ctrl+1 has as a quick fix for creating a class or method * Debugger * When discovering encoding on Python 3.x, the file is opened as binary * Remote debugger (pydevd.settrace()) properly synchronized * Fixed debugger issue on interpreter shutdown on Python 2.7 * Bug fixes: * Fixed issue when doing code-completion on a line that started with some token that started with 'import'. e.g.: import_foo = a * Fixed import when running unittest with coverage * Fixed extract local (could extract to wrong location) * Fixed NPE when requesting print of arguments in the context-information tooltips * Fixed AttributeError with pydevconsole on Python 3.x What is PyDev? --------------------------- PyDev is a plugin that enables users to use Eclipse for Python, Jython and IronPython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com From albrecht.andi at googlemail.com Thu Feb 3 19:40:33 2011 From: albrecht.andi at googlemail.com (Andi Albrecht) Date: Thu, 3 Feb 2011 10:40:33 -0800 (PST) Subject: pyCologne Python User Group Cologne - Meeting, February 9, 2011, 6.30pm Message-ID: <4cb90efe-2a67-422d-b4e7-997566e78839@glegroupsg2000goo.googlegroups.com> The next meeting of pyCologne will take place: Wednesday, February, 9th starting about 6.30 pm - 6.45 pm at Room 0.14, Benutzerrechenzentrum (RRZK-B) University of Cologne, Berrenrather Str. 136, 50937 K?ln, Germany On this months schedule: - What's New in MoinMoin 2.0 (Reimar Bauer) - PythonCamp planning Any presentations, news, book presentations etc. are welcome on each of our meetings! At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant. Further information including directions how to get to the location can be found at: http://www.pycologne.de (Sorry, the web-links are in German only.) Regards, Andi From bthate at gmail.com Thu Feb 3 21:55:43 2011 From: bthate at gmail.com (Bart Thate) Date: Thu, 3 Feb 2011 12:55:43 -0800 (PST) Subject: JSONBOT 0.6.1 RELEASED Message-ID: <3bc9a3ca-cbdd-4a64-8ac2-43036426f6e1@z20g2000yqe.googlegroups.com> Hello every human out there ! i'm pleased to announce the release of JSONBOT 0.6.1 FINAL, a release that saw a lot of work into the shell side of things and no changes to GAE. 0.6.1 has the following changes: * the ! char is not used instead of | in a pipeline. This is to make it easier to use a pipeline on mobile phones. * a new commandline interface has been created. You can now do "jsb botcommand " .. no need to start up the console app when you have a single command to execute * ? is now used a query character, so things you learn the bot with ! learn can be queried with ? * auto_register and guestasuser config options are now disabled by default * core xmpp parsing code has been rewritten * many more bug fixes. You can grab a copy of the code (tarball or mercurial repo) at http://jsonbot.googlecode.com Hope you enjoy this release as much as i enjoyed making it ;] Have Fun ! Bart About JOSNBOT: JSONBOT is a remote event-driven framework for building bots that talk JSON to each other over XMPP. This distribution provides bots built on this framework for console, IRC, XMPP for the shell and WWW and XMPP for the Google Application engine. JSONBOT is all of the following: a shell console bot a shell IRC bot a shell XMPP bot a Web bot running on Google Application Engine a XMPP bot running on Google Application Engine a Google Wave bot running op Google Application Engine the XMPP bots are used to communicate between bots plugin infrastructure to write your own functionality event driven framework by the use of callbacks From robertwb at gmail.com Fri Feb 4 11:51:16 2011 From: robertwb at gmail.com (robertwb) Date: Fri, 4 Feb 2011 02:51:16 -0800 (PST) Subject: Cython 0.14.1 has been released Message-ID: <7eefe7dd-8c6f-4401-942a-7006f3475224@i39g2000prd.googlegroups.com> Cython 0.14.1 has just been released. This release is primarily a bug fix release building on top of 0.14. Download: http://cython.org/release/Cython-0.14.1rc3.tar.gz == New Features == - The gdb debugging support was extended to include all major Cython features, including closures. raise MemoryError() is now safe to use as Cython replaces it with the correct C-API call. - Better support for testing (including on Windows) - General improvements and bug fixes The bug tracker has a list of the major improvements and fixes: http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.14.1&desc=1 == Incompatible changes == - Decorators on special methods of cdef classes now raise a compile time error rather than being ignored. - In Python 3 language level mode (-3 option), the 'str' type is now mapped to 'unicode', so that cdef str s declares a Unicode string even when running in Python 2. == Contributors == Many people contributed to this release, including: - Stefan Behnel - Alexey Borzenkov - Robert Bradshaw - Lisandro Dalcin - Mark Florisson - W. Trevor King - Vitja Makarov A special thanks also to the many people who did testing and contributed useful bug reports. From flo at chaoflow.net Sat Feb 5 01:05:50 2011 From: flo at chaoflow.net (Florian Friesdorf) Date: Sat, 5 Feb 2011 01:05:50 +0100 Subject: Plumber, an alternative to mixin-based subclassing Message-ID: <20110205000550.GA6243@eve.chaoflow.net> An alternative to mixin-based subclassing: http://pypi.python.org/pypi/plumber -- Florian Friesdorf GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083 Jabber/XMPP: flo at chaoflow.net IRC: chaoflow on freenode,ircnet,blafasel,OFTC From prologic at shortcircuit.net.au Sat Feb 5 09:09:11 2011 From: prologic at shortcircuit.net.au (James Mills) Date: Sat, 5 Feb 2011 18:09:11 +1000 Subject: ANN: circuits-1.3.3 (Asynchronous Component-based Application Framework) Message-ID: Hi, I'm pleased to announce the release of circuits-1.3.3 What is circuits ? ========== circuits is a Lightweight Event driven and Asynchronous Application Framework for the Python Programming Language with a strong Component Architecture. circuits also includes a lightweight, high performance and scalable HTTP/WSGI web server (with some similar features to CherryPy) as well as various I/O and Networking components. What's new ? ======== - New circuits.web.apps namespace with two mini-apps included - MemoryMonitor (a port of Dowser to debug memory leaks in your circuits.web app) - WebConsole (a port of httprepl by the same author of Dowser to give you an interactive console in your circuits.web app) - circuits.core.debugger: Debugger now takes an optional keyword argument "chop" to chop long lines when printing to sys.stderr - A new jsonserializer.py example in examples/web/ - Several bug-fixes and other improvements. Get it from PyPi: http://pypi.python.org/pypi/circuits/1.3.3 Read the documentation: http://packages.python.org/circuits See the examples: https://bitbucket.org/prologic/circuits/src/1.3.3/examples/ Please give us feedback on the circuits-users groups http://groups.google.com/group/circuits-users or on the #circuits IRC Channel on the FreeNode IRC Network. cheers James -- -- James Mills -- -- "Problems are solved by method" From aahz at pythoncraft.com Sun Feb 6 06:23:20 2011 From: aahz at pythoncraft.com (Aahz) Date: Sun, 6 Feb 2011 00:23:20 -0500 (EST) Subject: LAST CHANCE: OSCON Call for Proposals (deadline 2/7) Message-ID: <20110206052320.3CCC332A55@mailbackend.panix.com> DEADLINE Monday February 7 OSCON (O'Reilly Open Source Convention), the premier Open Source gathering, will be held in Portland, OR July 25-29. We're looking for people to deliver tutorials and shorter presentations. http://www.oscon.com/oscon2011 http://www.oscon.com/oscon2011/public/cfp/144 Hope to see you there! -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From holger at merlinux.eu Mon Feb 7 11:29:18 2011 From: holger at merlinux.eu (holger krekel) Date: Mon, 7 Feb 2011 11:29:18 +0100 Subject: pylib-1.4.1: bug fixes Message-ID: <20110207102918.GA14054@trillke.net> py-1.4.1: cross-python lib for fs path, code, io, ... manipulations =========================================================================== This is a bug fix release of the "py" lib, see below for detailed changes. The py lib is a small library comprising APIs for filesystem and svn path manipulations, dynamic code construction and introspection, a Py2/Py3 compatibility namespace ("py.builtin"), IO capturing, terminal colored printing (on windows and linux), ini-file parsing and a lazy import mechanism. It runs unmodified on all Python interpreters compatible to Python2.4 up until Python 3.2, PyPy and Jython. The general goal with "py" is to provide stable APIs for some common tasks that are continously tested against many Python interpreters and thus also to help transition. Here are some docs: http://pylib.org NOTE: The prior py-1.3.X versions contained "py.test" which since py-1.4.0 comes as its own separate "pytest" distribution, see: http://pytest.org Also, the "py.cleanup|py.lookup|py.countloc" helpers are now part of the pycmd distribution, see http://pypi.python.org/pypi/pycmd Changes between 1.4.0 and 1.4.1 ================================================== - fix issue1 - py.error.* classes to be pickleable - fix issue2 - on windows32 use PATHEXT as the list of potential extensions to find find binaries with py.path.local.sysfind(commandname) - fix (pytest-) issue10 and refine assertion reinterpretation to avoid breaking if the __nonzero__ of an object fails - fix (pytest-) issue17 where python3 does not like star-imports, leading to misrepresentation of import-errors in test modules - fix ``py.error.*`` attribute pypy access - allow path.samefile(arg) to succeed when arg is a relative filename - fix (pytest-) issue20 path.samefile(relpath) works as expected now From holger at merlinux.eu Mon Feb 7 11:53:10 2011 From: holger at merlinux.eu (holger krekel) Date: Mon, 7 Feb 2011 11:53:10 +0100 Subject: pytest-2.0.1: bug fixes and better asserts Message-ID: <20110207105310.GB14054@trillke.net> py.test 2.0.1: bug fixes and better asserts =========================================================================== Welcome to pytest-2.0.1, a maintenance and bug fix release of pytest, a mature testing tool for Python, supporting CPython 2.4-3.2, Jython and latest PyPy interpreters. See extensive docs with tested examples here: http://pytest.org/ If you want to install or upgrade pytest, just type one of:: pip install -U pytest # or easy_install -U pytest Many thanks to all issue reporters and people asking questions or complaining. Particular thanks to Floris Bruynooghe and Ronny Pfannschmidt for their great coding contributions and many others for feedback and help. best, holger krekel Changes between 2.0.0 and 2.0.1 ---------------------------------------------- - refine and unify initial capturing so that it works nicely even if the logging module is used on an early-loaded conftest.py file or plugin. - fix issue12 - show plugin versions with "--version" and "--traceconfig" and also document how to add extra information to reporting test header - fix issue17 (import-* reporting issue on python3) by requiring py>1.4.0 (1.4.1 is going to include it) - fix issue10 (numpy arrays truth checking) by refining assertion interpretation in py lib - fix issue15: make nose compatibility tests compatible with python3 (now that nose-1.0 supports python3) - remove somewhat surprising "same-conftest" detection because it ignores conftest.py when they appear in several subdirs. - improve assertions ("not in"), thanks Floris Bruynooghe - improve behaviour/warnings when running on top of "python -OO" (assertions and docstrings are turned off, leading to potential false positives) - introduce a pytest_cmdline_processargs(args) hook to allow dynamic computation of command line arguments. This fixes a regression because py.test prior to 2.0 allowed to set command line options from conftest.py files which so far pytest-2.0 only allowed from ini-files now. - fix issue7: assert failures in doctest modules. unexpected failures in doctests will not generally show nicer, i.e. within the doctest failing context. - fix issue9: setup/teardown functions for an xfail-marked test will report as xfail if they fail but report as normally passing (not xpassing) if they succeed. This only is true for "direct" setup/teardown invocations because teardown_class/ teardown_module cannot closely relate to a single test. - fix issue14: no logging errors at process exit - refinements to "collecting" output on non-ttys - refine internal plugin registration and --traceconfig output - introduce a mechanism to prevent/unregister plugins from the command line, see http://pytest.org/plugins.html#cmdunregister - activate resultlog plugin by default - fix regression wrt yielded tests which due to the collection-before-running semantics were not setup as with pytest 1.3.4. Note, however, that the recommended and much cleaner way to do test parametraization remains the "pytest_generate_tests" mechanism, see the docs. From mmueller at python-academy.de Mon Feb 7 17:38:46 2011 From: mmueller at python-academy.de (=?ISO-8859-15?Q?Mike_M=FCller?=) Date: Mon, 07 Feb 2011 17:38:46 +0100 Subject: ANN: 8-Day Python Power Course in Leipzig/Germany Message-ID: <4D502016.6030705@python-academy.de> Eight Days of Python Training ----------------------------- Can't get enough of Python? Then this course is for you. A three day introduction to Python as a warm-up, followed by five days of advanced Python training. All courses given in English. May 13 - 15, 2011 Python for Programmers May 16 - 20, 2011 Python Power Course May 16, 2011 Advanced Python Programming May 17, 2011 Optimizing Python Programs May 18, 2011 Python Extensions with Other Languages May 19, 2011 Fast Code with the Cython Compiler May 20, 2011 High Performance XML with Python Venue: Python Academy, Leipzig, Germany Trainers: Mike M?ller, Stefan Behnel About the Trainers ------------------ Mike M?ller, Ph.D has been teaching Python since 2004. He is the founder of Python Academy and regularly gives open and in-house Python courses as well as tutorials at PyCon US, OSCON, EuroSciPy and PyCon Asia-Pacific. Stefan Behnel, Ph.D is Senior Software Developer at Senacor Technologies AG as well as freelance consultant and software developer specializing in Python and Open Source. He is core developer of both the Cython compiler and the lxml XML toolkit. More Information ---------------- http://www.python-academy.com/courses/python_power_course.html -- Mike mmueller at python-academy.de From toddw at activestate.com Mon Feb 7 20:17:15 2011 From: toddw at activestate.com (Todd Whiteman) Date: Mon, 07 Feb 2011 11:17:15 -0800 Subject: ANN: Komodo 6.1 released Message-ID: <4D50453B.8010802@activestate.com> Hello all, We are pleased to tell you that Komodo 6.1 has been released. With this release Komodo continues to improve it's Python support: * smarter Python code intelligence * completions for underscore names like __init__ and __name__ * better support of relative module and package imports * better debugging tooltips when hovering over variables * improved Django template support, which now provides: * tag and filter completions for Django template files * updated code syntax highlighting * smart auto indentation handling for template files * hyperlinks to easily jump between view and template file * includes Python 3.2 debugging client and code intelligence libraries For a detailed overview of the new Komodo 6.1 features, check out these web pages: http://community.activestate.com/komodo-61-features http://www.activestate.com/komodo-ide/whats-new Note that Komodo comes in two different flavors - the *commercial* Komodo IDE version and the *free* Komodo Edit version. You can find out more on these two Komodo versions here: http://www.activestate.com/komodo-ide Enjoy, Todd From r1chardj0n3s at gmail.com Tue Feb 8 04:38:54 2011 From: r1chardj0n3s at gmail.com (Richard Jones) Date: Tue, 8 Feb 2011 14:38:54 +1100 Subject: Python Game Programming Challenge 12 (April 2011) is coming! Message-ID: The 12th Python Game Programming Challenge (PyWeek) is coming. It'll run from the 3rd to the 10th of April. The PyWeek challenge: - Invites entrants to write a game in one week from scratch either as an individual or in a team, - Is intended to be challenging and fun, - Will hopefully increase the public body of game tools, code and expertise, - Will let a lot of people actually finish a game, and - May inspire new projects (with ready made teams!) Richard http://pyweek.org/12/ From richard at python.org Tue Feb 8 09:32:47 2011 From: richard at python.org (Richard Jones) Date: Tue, 8 Feb 2011 19:32:47 +1100 Subject: PyCon Australia 2011: 20th & 21st August, Sydney Masonic Center Message-ID: The second PyCon Australia will be held in Sydney on the weekend of the 20th and 21st of August at the Sydney Masonic Center. The first PyCon Australia was held in June 2010 and attracted over 200 Python programming enthusiasts. The second event is expected to host over 250 attendees. The weekend will see dozens of presentations introducing; - Python programming and techniques, - web programming, - business applications, - game development, - education, science and mathematics, - social issues, - testing, databases, documentation and more! We are hoping to organise sprints on the days following the conference proper. International guests should note that Kiwi PyCon is to run on the following weekend, making it a great opportunity to attend a couple of awesome Down Under conferences and hopefully do some sprinting with the locals. Richard Jones http://pycon-au.org/ PyCon AU Committee From ischnell at enthought.com Wed Feb 9 17:13:02 2011 From: ischnell at enthought.com (Ilan Schnell) Date: Wed, 9 Feb 2011 10:13:02 -0600 Subject: EPD 7.0 released Message-ID: Hello, I am pleased to announce that EPD (Enthought Python Distribution) version 7.0 has been released. This major release updates to Python 2.7, Intel Math Kernel Library 10.3.1, numpy 1.5.1, in addition to updates to many of the other packages included. Please find the complete list of additions, updates and bug fixes in the change log: http://www.enthought.com/EPDChangelog.html To find more information about EPD, as well as download a 30 day free trial, visit this page: http://www.enthought.com/products/epd.php About EPD --------- The Enthought Python Distribution (EPD) is a "kitchen-sink-included" distribution of the Python Programming Language, including over 90 additional tools and libraries. The EPD bundle includes NumPy, SciPy, IPython, 2D and 3D visualization, and many other tools. http://www.enthought.com/products/epdlibraries.php It is currently available as a single-click installer for Windows XP, Vista and 7, MacOS (10.5 and 10.6), RedHat 3, 4 and 5, as well as Solaris 10 (x86 and x86_64/amd64 on all platforms). All versions of EPD (32 and 64-bit) are free for academic use. An annual subscription including installation support is available for individual and commercial use. Additional support options, including customization, bug fixes and training classes are also available: http://www.enthought.com/products/support_level_table.php - Ilan From v.ladeuil+lp at free.fr Thu Feb 10 14:41:05 2011 From: v.ladeuil+lp at free.fr (vila) Date: Thu, 10 Feb 2011 14:41:05 +0100 Subject: [ANN] bzr 2.3.0 released ! Message-ID: The Bazaar team is happy to announce availability of a new release of the bzr adaptive version control system. Bazaar is part of the GNU system . Thanks to everyone who contributed patches, suggestions, and feedback. Bazaar is now available for download from https://launchpad.net/bzr/2.3/2.3.0 as a source tarball or packaged for various systems. This release marks the start of another long-term-stable series. From here, we will only make bugfix releases on the 2.3 series (2.3.1, etc, and support it until August 2012), while 2.4 will become our new development series. The 2.1 and 2.2 series will also continue to get bugfixes. (Currently 2.0 is planned to be EOLed circa September 2011 and will receive only critical bugfixes.) This is a bugfix and polish release over the 2.2 series, with a large number of bugs fixed (>130), and some performance improvements. Some features have been enhanced including commits on stacked branches, upgrades of related branches, shortcut URL schemes for ubuntu and debian on launchpad and better conflict resolution. Only bugfixes from other stables series have been included since 2.3b5 so all known fixed bugs are included here. Users are encouraged to upgrade from the other stable series. From johnp at redhat.com Fri Feb 11 18:20:32 2011 From: johnp at redhat.com (John Palmieri) Date: Fri, 11 Feb 2011 12:20:32 -0500 (EST) Subject: [ANNOUNCE] PyGObject 2.27.90 released (pre-release for 2.28.0) Message-ID: <2100611318.270900.1297444832596.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com> I am pleased to announce version 2.27.90 of the Python bindings for GObject. This is a pre-release for the upcoming 2.28.0 stable release which should come in about a week if no major bugs are found. Note to maintainers and packagers, the 2.2x series will be the last series to support the static bindings. Going forward we will moving towards PyGObject 3.0 which will drop support for the static bindings and be able to clean up the code by breaking the current static binding ABI. The 2.28 and 3.0 branches will both be parallel installable and minimal support for the static bindings will continue in the 2.28 branch. A lot of fixes went in under the hood getting us ready for GNOME 3.0. A number of apps have already been ported and the last major enhancement we are waiting for is support for introspected signal parameters so that the draw signal in Gtk can pass a Cairo Context that works with PyCairo. Some higlight in this release include: * faster handling of virtual methods when constructing objects * enhanced refcounting fixes when dealing with sink refs * ABI stability for the static bindings * enhanced gdbus and gvarient handling * you can now override signals like you do vfuncs * enhanced drag and drop support added * return GErrors instead of generic runtime errors where appropriate * enhanced GtkTextBuffer support * enhanced pygi-convert.sh script for automating PyGtk to PyGObject Introspection migration * Gio.FileEnumerator now supports the Python iter protocol * Gdk.EventType 2BUTTON_PRESS and 3BUTTON_PRESS now prepended with an underscore * Gtk.Adjustment now support positional or keyword arguments in constructor * Properties now handle unicode correctly * Fix enum handling * dir() now returns GI attributes * Numerous overrides to replicate PyGtk and other interfaces * Python 3 fixes so we can compile under Python 3.2 * For a complete list of changes please read the NEWS file The new release is available from ftp.gnome.org and its mirrors: http://download.gnome.org/sources/pygobject/2.27/ 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.5.1 to build. GIO bindings require glib >= 2.22.4. The Introspection module is the next generation Python GObject library bindings. Instead of statically wrapping every GObject based library we can now dynamically accesses any of those libraries using GObject Introspection. It replaces the need for separate modules such as PyGTK, GIO and python-gnome to build a full GNOME application. Once new functionality is added to gobject library it is instantly available as a Python API without the need for an intermediate Python module. Introspection/Python 2 bindings requires gobject-introspection >= 0.9.5 and pycairo >=1.0.2 or py2cairo >=1.8.10 Introspection/Python 3 bindings requires gobject-introspection >= 0.9.5, pycairo >=1.8.10 and Python >= 3.1 -- John (J5) Palmieri Software Engineer Red Hat, Inc. From faltet at pytables.org Fri Feb 11 20:23:48 2011 From: faltet at pytables.org (Francesc Alted) Date: Fri, 11 Feb 2011 20:23:48 +0100 Subject: ANN: carray 0.4 is out Message-ID: <201102112023.48980.faltet@pytables.org> [Let's hope that the message is complete this time :)] Announcing carray 0.4 ===================== What's new ---------- The most prominent feature in 0.4 is the support of multidimensional carrays. Than means that, for example, you can do:: >>> a = ca.arange(6).reshape((2,3)) Now, you can access any element in any dimension:: >>> a[:] array([[0, 1, 2], [3, 4, 5]]) >>> a[1] array([3, 4, 5]) >>> a[1,::2] array([3, 5]) >>> a[1,1] 4 Also, all the iterators in carray have received a couple of new parameters that allows to `limit` or `skip` selected elements in queries. Finally, many performance improvements have been implemented (mainly related with efficient zero-detection code). This allows for improved query times when using iterators. See: https://github.com/FrancescAlted/carray/wiki/query-compress for an example on how fast the new iterators can do. For more detailed info, see the release notes in: https://github.com/FrancescAlted/carray/wiki/Release-0.4 What it is ---------- carray is a chunked container for numerical data. Chunking allows for efficient enlarging/shrinking of data container. In addition, it can also be compressed for reducing memory needs. The compression process is carried out internally by Blosc, a high-performance compressor that is optimized for binary data. carray comes with an exhaustive test suite and fully supports both 32-bit and 64-bit platforms. Also, it is typically tested on both UNIX and Windows operating systems. Resources --------- Visit the main carray site repository at: http://github.com/FrancescAlted/carray You can download a source package from: http://carray.pytables.org/download Manual: http://carray.pytables.org/docs/manual Home of Blosc compressor: http://blosc.pytables.org User's mail list: carray at googlegroups.com http://groups.google.com/group/carray ---- Enjoy! -- Francesc Alted From prologic at shortcircuit.net.au Sat Feb 12 11:30:06 2011 From: prologic at shortcircuit.net.au (James Mills) Date: Sat, 12 Feb 2011 20:30:06 +1000 Subject: [ANN]: circuits-1.4 (Lightweight Event driven Asynchronous Application Framework) Message-ID: Hi, I'm pleased to announce the release of circuits-1.4 This is a backwards incompatible release containing new and deprecated features. This release also fixes several bugs that were present in the previous release and includes more unit tests and coverage. For more information see the PyPi page: http://pypi.python.org/pypi/circuits/1.4 cheers James -- -- James Mills -- -- "Problems are solved by method" From prologic at shortcircuit.net.au Sat Feb 12 23:13:17 2011 From: prologic at shortcircuit.net.au (James Mills) Date: Sun, 13 Feb 2011 08:13:17 +1000 Subject: [ANN]: sahriswiki 0.8.1 (a Lightweight Wiki Engine) Message-ID: Hello all, I'm pleased to announce the release of sahriswiki 0.8.1 This is a minor bug-fix release. For more information see the PyPi page: http://pypi.python.org/pypi/sahriswiki/ cheers James -- -- James Mills -- -- "Problems are solved by method" From georg at python.org Mon Feb 14 07:40:00 2011 From: georg at python.org (Georg Brandl) Date: Mon, 14 Feb 2011 07:40:00 +0100 Subject: [RELEASED] Python 3.2 rc 3 Message-ID: <4D58CE40.1010408@python.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I'm happy to announce the third release candidate of Python 3.2. Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only receive bugfixes, and new features are developed for 3.x only. Since PEP 3003, the Moratorium on Language Changes, is in effect, there are no changes in Python's syntax and built-in types in Python 3.2. Development efforts concentrated on the standard library and support for porting code to Python 3. Highlights are: * numerous improvements to the unittest module * PEP 3147, support for .pyc repository directories * PEP 3149, support for version tagged dynamic libraries * PEP 3148, a new futures library for concurrent programming * PEP 384, a stable ABI for extension modules * PEP 391, dictionary-based logging configuration * an overhauled GIL implementation that reduces contention * an extended email package that handles bytes messages * a much improved ssl module with support for SSL contexts and certificate hostname matching * a sysconfig module to access configuration information * additions to the shutil module, among them archive file support * many enhancements to configparser, among them mapping protocol support * improvements to pdb, the Python debugger * countless fixes regarding bytes/string issues; among them full support for a bytes environment (filenames, environment variables) * many consistency and behavior fixes for numeric operations For a more extensive list of changes in 3.2, see http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2 visit: http://www.python.org/download/releases/3.2/ Please consider trying Python 3.2 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.2's contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk1YzkAACgkQN9GcIYhpnLAggwCfQ92djMinrmNkGI4Ma3VRqrcX EWIAn16kTEJtvEH/7DJApp7YdhnmIRBd =NJ1B -----END PGP SIGNATURE----- From mmueller at python-academy.de Mon Feb 14 11:55:55 2011 From: mmueller at python-academy.de (=?ISO-8859-15?Q?Mike_M=FCller?=) Date: Mon, 14 Feb 2011 11:55:55 +0100 Subject: [ANN] Leipzig Python User Group - Meeting, February 15, 2011, 08:00pm Message-ID: <4D590A3B.6020006@python-academy.de> === Leipzig Python User Group === We will meet on Tuesday, February 15 at 8:00 pm at the training center of Python Academy in Leipzig, Germany ( http://www.python-academy.com/center/find.html ). Everybody who uses Python, plans to do so or is interested in learning more about the language is encouraged to participate. While the meeting language will be mainly German, we will provide English translation if needed. Food and soft drinks are provided. Please send a short confirmation mail to info at python-academy.de, so we can prepare appropriately. Current information about the meetings are at http://www.python-academy.com/user-group . Mike == Leipzig Python User Group === Wir treffen uns am Dienstag, 15.02.2011 um 20:00 Uhr im Schulungszentrum der Python Academy in Leipzig ( http://www.python-academy.de/Schulungszentrum/anfahrt.html ). Willkommen ist jeder, der Interesse an Python hat, die Sprache bereits nutzt oder nutzen m?chte. F?r das leibliche Wohl wird gesorgt. Eine Anmeldung unter info at python-academy.de w?re nett, damit wir genug Essen besorgen k?nnen. Aktuelle Informationen zu den Treffen sind unter http://www.python-academy.de/User-Group zu finden. Viele Gr??e Mike From victor.stinner at haypocalc.com Mon Feb 14 12:55:50 2011 From: victor.stinner at haypocalc.com (Victor Stinner) Date: Mon, 14 Feb 2011 12:55:50 +0100 Subject: Release of faulthandler 1.4 Message-ID: <1297684550.28724.6.camel@marge> faulthandler is a module to display the Python backtrace on a fatal error (eg. segfault), after a delay (eg. 60 minutes) or when a user signal is send (eg. SIGUSR1). Changes of the version 1.4: * Add register() and unregister() functions * Add optional all_threads argument to enable() * Limit the backtrace to 100 threads * Allocate an alternative stack for the fatal signal handler to be able to display a backtrace on a stack overflow (define HAVE_SIGALTSTACK). Not available on Windows. * Windows installer for Python 3.2(RC3) You can choose the output file (sys.stderr by default) and to dump the backtrace of the current thread (default) or of all threads. faulthandler works on Python 2.5, 2.6, 2.7, 3.1 and 3.2. It is tested on Linux, FreeBSD on Windows, it should work on any operating system. For more information, see: https://github.com/haypo/faulthandler/wiki/ http://pypi.python.org/pypi/faulthandler/ Victor Stinner aka haypo From sridharr at activestate.com Mon Feb 14 19:02:50 2011 From: sridharr at activestate.com (Sridhar Ratnakumar) Date: Mon, 14 Feb 2011 10:02:50 -0800 Subject: ANN: ActivePython 2.7.1.4 is now available Message-ID: <4D596E4A.1000405@activestate.com> ActiveState is pleased to announce ActivePython 2.7.1.4, a complete, ready-to-install binary distribution of Python 2.7. http://www.activestate.com/activepython/downloads What's New in ActivePython-2.7.1.4 ================================== *Release date: 14-Feb-2011* New Features & Upgrades ----------------------- - Upgrade to PyPM 1.3.1: - Programmatic use via ``pypm.cmd(['install', 'foo'])`` - Support for postinstall and conditional user-notes - Upgraded the following packages: - SQLAlchemy-0.6.6 Noteworthy Changes & Bug Fixes ------------------------------ - PyPM bug fixes: - Bug #88791: fail immediately for missing dependencies - Fix needless truncation of output when piping (eg: ``pypm list | less``) - Respect download cache of ``*.pypm`` packages (don't redownload) What is ActivePython? ===================== ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX builds, and access to older versions are available in ActivePython Business, Enterprise and OEM editions: http://www.activestate.com/python ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for low-level library access, and others. The Windows distribution ships with PyWin32 -- a suite of Windows tools developed by Mark Hammond, including bindings to the Win32 API and Windows COM. ActivePython also includes a binary package manager for Python (PyPM) that can be used to install packages much easily. For example: C:\>pypm install mysql-python [...] C:\>python >>> import MySQLdb >>> See this page for full details: http://docs.activestate.com/activepython/2.7/whatsincluded.html As well, ActivePython ships with a wealth of documentation for both new and experienced Python programmers. In addition to the core Python docs, ActivePython includes the "What's New in Python" series, "Dive into Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs). An online version of the docs can be found here: http://docs.activestate.com/activepython/2.7/ We would welcome any and all feedback to: activepython-feedback at activestate.com Please file bugs against ActivePython at: http://bugs.activestate.com/enter_bug.cgi?product=ActivePython Supported Platforms =================== ActivePython is available for the following platforms: - Windows (x86 and x64) - Mac OS X (x86 and x86_64; 10.5+) - Linux (x86 and x86_64) - Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only) - Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only) - HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only) - HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only) - AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only) More information about the Business Edition can be found here: http://www.activestate.com/business-edition Custom builds are available in the Enterprise Edition: http://www.activestate.com/enterprise-edition Thanks, and enjoy! The Python Team -- Sridhar Ratnakumar sridharr at activestate.com From victor.stinner at haypocalc.com Tue Feb 15 00:03:28 2011 From: victor.stinner at haypocalc.com (Victor Stinner) Date: Tue, 15 Feb 2011 00:03:28 +0100 Subject: Release of faulthandler 1.4 Message-ID: <1297724608.28374.0.camel@marge> faulthandler is a module to display the Python backtrace on a fatal error (eg. segfault), after a delay (eg. 60 minutes) or when a user signal is send (eg. SIGUSR1). Changes of the version 1.4: * Add register() and unregister() functions * Add optional all_threads argument to enable() * Limit the backtrace to 100 threads * Allocate an alternative stack for the fatal signal handler to be able to display a backtrace on a stack overflow (define HAVE_SIGALTSTACK). Not available on Windows. * Windows installer for Python 3.2(RC3) You can choose the output file (sys.stderr by default) and to dump the backtrace of the current thread (default) or of all threads. faulthandler works on Python 2.5, 2.6, 2.7, 3.1 and 3.2. It is tested on Linux, FreeBSD on Windows, it should work on any operating system. For more information, see: https://github.com/haypo/faulthandler/wiki/ http://pypi.python.org/pypi/faulthandler/ Victor Stinner aka haypo From michels at mps.mpg.de Tue Feb 15 13:14:48 2011 From: michels at mps.mpg.de (Helmut Michels) Date: Tue, 15 Feb 2011 13:14:48 +0100 Subject: [ANN] Data Plotting Library DISLIN 10.1 Message-ID: Dear Python users, I am pleased to announce version 10.1 of the data plotting software DISLIN. DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar graphs, pie charts, 3D-colour plots, surfaces, contours and maps. Several output formats are supported such as X11, VGA, PostScript, PDF, CGM, WMF, HPGL, TIFF, GIF, PNG, BMP and SVG. The software is available for the most C, Fortran 77 and Fortran 90/95 compilers. Plotting extensions for the interpreting languages Perl, Python and Java are also supported. DISLIN distributions can be copied from the DISLIN home page http://www.dislin.de and via FTP from the server ftp://ftp.gwdg.de/pub/grafik/dislin All DISLIN distributions are free for non-commercial use. Licenses for commercial use are available from the site http://www.dislin.de. ------------------- Helmut Michels Max Planck Institute for Solar System Research Phone: +49 5556 979-334 Max-Planck-Str. 2 Fax : +49 5556 979-240 D-37191 Katlenburg-Lindau Mail : michels at mps.mpg.de From cs at comlounge.net Tue Feb 15 14:49:02 2011 From: cs at comlounge.net (Christian Scholz) Date: Tue, 15 Feb 2011 14:49:02 +0100 Subject: PythonCamp Cologne on 16th/17th April 2011 Message-ID: Hi all! On April 16th and 17th 2011 the second PythonCamp Cologne, Germany will be held. From a one day event last year we now go for two days! So if you are in the area and interested, please come over! The event is held in Barcamp format which means that no program is defined before the event but organized by all the participants during the event. So if you want to discuss something, give a presentation of a project or just share ideas, this is for you. And the best: Entrance is free! :-) You can register for it either on Facebook or the Etherpad. Esp. last minute Information will also be shared via twitter. Language will probably be mostly german but if english speaking guests attend we will of course accomodate them and switch to english. Date: 16./17. April 2011 Location: Cyrus AG, Cologne, Germany Facebook: http://www.facebook.com/event.php?eid=182166728482906 Etherpad: http://openetherpad.org/pycamp Homepage: http://pythoncamp.de Twitter: http://twitter.com/pythoncamp I hope to see you there! -- Christian -- Christian Scholz, COM.lounge GmbH, tel. +49 241 400 730 0, http://comlounge.net Blog: http://mrtopf.de/blog, Twitter: http://twitter.com/mrtopf Podcasts: Der OpenWeb-Podcast (http://openwebpodcast.de) Data Without Borders (http://datawithoutborders.net) Politisches: http://politfunk.de/ From dmitrey.kroshko at scipy.org Wed Feb 16 10:39:04 2011 From: dmitrey.kroshko at scipy.org (dmitrey) Date: Wed, 16 Feb 2011 01:39:04 -0800 (PST) Subject: [ANN] New package: SpaceFuncs (2D, 3D, ND geometric modeling, optimization, solving) Message-ID: Hi all, I'm glad to inform you about new, 4th OpenOpt Suite module: SpaceFuncs - a tool for 2D, 3D, N-dimensional geometric modeling with possibilities of parametrized calculations, numerical optimization and solving systems of geometrical equations with automatic differentiation. The module is written in Python + NumPy, requires FuncDesigner (and OpenOpt, DerApproximator for some operations). It has completely free license: BSD. For details see its home page http://openopt.org/SpaceFuncs and documentation http://openopt.org/SpaceFuncsDoc Also, you can try it online via our Sage-server http://sage.openopt.org/welcome Regards, Dmitrey. From doug.hellmann at gmail.com Thu Feb 17 14:38:48 2011 From: doug.hellmann at gmail.com (Doug Hellmann) Date: Thu, 17 Feb 2011 08:38:48 -0500 Subject: PyCon 2014-2015 site selection meeting at PyCon Message-ID: We will be having a meeting at PyCon dedicated to selecting the location for the cycle after San Jose/Santa Clara. Email PyCon 2011 Chair Van Lindberg if you are interested in attending. We will also be posting to the open space board at PyCon if you decide to come at the last minute. Doug From michael at stroeder.com Sat Feb 19 15:52:14 2011 From: michael at stroeder.com (=?ISO-8859-1?Q?Michael_Str=F6der?=) Date: Sat, 19 Feb 2011 15:52:14 +0100 Subject: ANN: python-ldap-2.3.13 Message-ID: <4D5FD91E.9040006@stroeder.com> Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.3.13 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs and LDAPv3 schema). Note: This is the last release with this feature set. From now on only very urgent fixes are going into release series 2.3.x. Project's web site: http://www.python-ldap.org/ Ciao, Michael. ---------------------------------------------------------------- Released 2.3.13 2011-02-19 Changes since 2.3.12: Modules/ * Correct #ifdef-statement for LDAP_OPT_X_TLS_CRLFILE in constants.c fixes build with older OpenLDAP libs * Support for LDAP_OPT_DEFBASE (see SF#3072016, thanks to Johannes) From georg at python.org Sun Feb 20 23:22:47 2011 From: georg at python.org (Georg Brandl) Date: Sun, 20 Feb 2011 23:22:47 +0100 Subject: [RELEASED] Python 3.2 Message-ID: <4D619437.7050507@python.org> On behalf of the Python development team, I'm delighted to announce Python 3.2 final release. Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only receive bugfixes, and new features are developed for 3.x only. Since PEP 3003, the Moratorium on Language Changes, is in effect, there are no changes in Python's syntax and built-in types in Python 3.2. Development efforts concentrated on the standard library and support for porting code to Python 3. Highlights are: * numerous improvements to the unittest module * PEP 3147, support for .pyc repository directories * PEP 3149, support for version tagged dynamic libraries * PEP 3148, a new futures library for concurrent programming * PEP 384, a stable ABI for extension modules * PEP 391, dictionary-based logging configuration * an overhauled GIL implementation that reduces contention * an extended email package that handles bytes messages * a much improved ssl module with support for SSL contexts and certificate hostname matching * a sysconfig module to access configuration information * additions to the shutil module, among them archive file support * many enhancements to configparser, among them mapping protocol support * improvements to pdb, the Python debugger * countless fixes regarding bytes/string issues; among them full support for a bytes environment (filenames, environment variables) * many consistency and behavior fixes for numeric operations For a more extensive list of changes in 3.2, see http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2 visit: http://www.python.org/download/releases/3.2/ Please consider trying Python 3.2 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.2's contributors) From richard at python.org Mon Feb 21 03:28:15 2011 From: richard at python.org (Richard Jones) Date: Mon, 21 Feb 2011 13:28:15 +1100 Subject: PyCon Australia 2011 - Call for Participation Message-ID: The second PyCon AU will be held in Sydney on the weekend of the 20th and 21st of August at the Sydney Masonic Center. http://pycon-au.org/ We are looking for proposals for Talks on all aspects of Python programming from novice to advanced levels; applications and frameworks, or how you have been involved in introducing Python into your organisation. We're especially interested in short presentations that will teach conference-goers something new and useful. Can you show attendees how to use a module? Explore a Python language feature? Package an application? We welcome first-time speakers; we are a community conference and we are eager to hear about your experience. If you have friends or colleagues who have something valuable to contribute, twist their arms to tell us about it! Please also forward this Call for Proposals to anyone that you feel may be interested. To find out more go to the official Call for Proposals page here: http://pycon-au.org/2011/conference/proposals/ The deadline for proposal submission is the 2nd of May. See you in Sydney in August! Richard Jones PyCon AU Program Chair From info at wingware.com Mon Feb 21 18:23:50 2011 From: info at wingware.com (Wingware) Date: Mon, 21 Feb 2011 12:23:50 -0500 Subject: Wing IDE 4.0 Released Message-ID: <4D629FA6.5010805@wingware.com> Hi, Wingware has released version 4.0 of Wing IDE, an integrated development environment designed specifically for the Python programming language. Wing IDE is a cross-platform Python IDE that provides a professional code editor with vi, emacs, and other key bindings, auto-completion, call tips, refactoring, a powerful graphical debugger, version control, unit testing, search, and many other features. **Changes in Version 4.0** Version 4.0 adds the following new major features: * Refactoring -- Rename and move symbols, and extract code to function or method * Find Uses -- Find all points of use of a symbol * Diff/Merge -- Graphical file and repository comparison and merge * Django Support -- Debug Django templates, run Django unit tests, and more * matplotlib Support -- Maintains live-updating plots in shell and debugger * Simplified Licensing -- Includes all OSes and adds Support+Upgrades subscriptions Complete Change Log: http://wingware.com/pub/wingide/4.0.0/CHANGELOG.txt Details on Licensing Changes: http://wingware.com/news/2011-02-16 **About Wing IDE** Wing IDE is an integrated development environment designed specifically for the Python programming language. It provides powerful editing, testing, and debugging features that help reduce development and debugging time, cut down on coding errors, and make it easier to understand and navigate Python code. Wing IDE can be used to develop Python code for web, GUI, and embedded scripting applications. Wing IDE is available in three product levels: Wing IDE Professional is the full-featured Python IDE, Wing IDE Personal offers a reduced feature set at a low price, and Wing IDE 101 is a free simplified version designed for teaching beginning programming courses with Python. Version 4.0 of Wing IDE Professional includes the following major features: * Professional quality code editor with vi, emacs, and other keyboard personalities * Code intelligence for Python: Auto-completion, call tips, find uses, goto-definition, error indicators, refactoring, smart indent and rewrapping, and source navigation * Advanced multi-threaded debugger with graphical UI, command line interaction, conditional breakpoints, data value tooltips over code, watch tool, and externally launched and remote debugging * Powerful search and replace options including keyboard driven and graphical UIs, multi-file, wild card, and regular expression search and replace * Version control integration for Subversion, CVS, Bazaar, git, Mercurial, and Perforce * Integrated unit testing with unittest, nose, and doctest frameworks * Django support: Debugs Django templates, provides project setup tools, and runs Django unit tests * Many other features including project manager, bookmarks, code snippets, diff/merge tool, OS command integration, indentation manager, PyLint integration, and perspectives * Extremely configurable and may be extended with Python scripts * Extensive product documentation and How-Tos for Django, matplotlib, Plone, wxPython, PyQt, mod_wsgi, Autodesk Maya, and many other frameworks Please refer to http://wingware.com/wingide/features for a detailed listing of features by product level. System requirements are Windows 2000 or later, OS X 10.3.9 or later (requires X11 Server), or a recent Linux system (either 32 or 64 bit). Wing IDE supports Python versions 2.0.x through 3.2.x and Stackless Python. For more information, see the http://wingware.com/ **Downloads** Wing IDE Professional and Wing IDE Personal are commercial software and require a license to run. A free trial can be obtained directly from the product when launched. Wing IDE Pro -- Full-featured product: http://wingware.com/downloads/wingide/4.0 Wing IDE Personal -- A simplified IDE: http://wingware.com/downloads/wingide-personal/4.0 Wing IDE 101 -- For teaching with Python: http://wingware.com/downloads/wingide-101/4.0 **Purchasing and Upgrading** Wing 4.0 requires an upgrade for Wing IDE 2.x and 3.x users at a cost of 1/2 the full product pricing. Upgrade a license: https://wingware.com/store/upgrade Purchase a new license: https://wingware.com/store/purchase -- The Wingware Team Wingware | Python IDE Advancing Software Development www.wingware.com From info at wingware.com Mon Feb 21 20:01:36 2011 From: info at wingware.com (Wingware) Date: Mon, 21 Feb 2011 14:01:36 -0500 Subject: Wingware Sale: 20% off Everything Message-ID: <4D62B690.4030206@wingware.com> Hi, To celebrate the release of Wing IDE version 4.0 we are offering 20% off all new licenses, upgrades, and Support+Upgrades subscriptions through March 17th, 2011. Start at https://wingware.com/store and enter discount code w4sale when prompted. For more information on Wing IDE 4.0 see http://wingware.com/news/2011-02-19 Thanks! -- Stephan Deibel Wingware | Python IDE Advancing Software Development www.wingware.com From sridharr at activestate.com Wed Feb 23 01:28:35 2011 From: sridharr at activestate.com (Sridhar Ratnakumar) Date: Tue, 22 Feb 2011 16:28:35 -0800 Subject: ANN: ActivePython 3.2.0.0 is now available Message-ID: <4D6454B3.6020001@activestate.com> ActiveState is pleased to announce ActivePython 3.2.0.0, a complete, ready-to-install binary distribution of Python 3.2. http://www.activestate.com/activepython/downloads What's New in ActivePython-3.2.0.0 ================================== New Features & Upgrades ----------------------- - First ActivePython release based on Python 3.2 core - PyPM (beta) for Python 3.2 - Distribute (setuptools) - [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16 - [MacOSX] ``readline`` support via Apple's ``libedit`` library - OpenSSL 1.0.0d - [Windows] Fix a ``tarfile`` performance issue (`issue11224 `_) What's new in Python 3.2 ======================== * Stable ABI: Extension modules built for 3.2 can continue to work with 3.3, 3.4 and so on. * argparse: argparse, an improved alternative to optparse included in Python 2.7, is now available in 3.2 as well. * concurrent.futures: Inspired by java.util.concurrent.package, this module abstracts threads/processes/RPC-calls by way of abstract executors with support for status checks, timeouts, cancellations, callbacks, access to results or exceptions. futures makes it easier to switch from one concurrent implementation to another, eg: from thread to process pool. * PYC repository directories: Ever faced with ".pyc conflicts" between multiple Python versions? Python 3.2 introduced a new bytecode caching mechanism: foo.pyc gets a new name: __pycache__/foo.cpython-32.pyc (similarly for .so files) ... thus properly fixing such conflicts, even across different Python interpreter implementations. * WSGI for Python 3: The WSGI spec is now adapted for Python3's bytes/text distinction. See PEP 3333 for details. For the complete list of changes, see http://docs.activestate.com/activepython/3.2/python/whatsnew/3.2.html What is ActivePython? ===================== ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX builds, and access to older versions are available in ActivePython Business, Enterprise and OEM editions: http://www.activestate.com/python ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for low-level library access, and others. The Windows distribution ships with PyWin32 -- a suite of Windows tools developed by Mark Hammond, including bindings to the Win32 API and Windows COM. ActivePython also includes a binary package manager for Python (PyPM) that can be used to install packages much easily. For example: C:\>pypm install numpy [...] C:\>python >>> import numpy.linalg >>> PyPM module availability for 3.2 can be seen at: http://code.activestate.com/pypm/tag:python3/ See this page for full details: http://docs.activestate.com/activepython/3.2/whatsincluded.html As well, ActivePython ships with a wealth of documentation for both new and experienced Python programmers. In addition to the core Python docs, ActivePython includes the "What's New in Python" series, "Dive into Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs). An online version of the docs can be found here: http://docs.activestate.com/activepython/3.2/ We would welcome any and all feedback to: activepython-feedback at activestate.com Please file bugs against ActivePython at: http://bugs.activestate.com/enter_bug.cgi?product=ActivePython Supported Platforms =================== ActivePython is available for the following platforms: - Windows (x86 and x64) - Mac OS X (x86 and x86_64; 10.5+) - Linux (x86 and x86_64) - Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only) - Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only) - HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only) - HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only) - AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only) More information about the Business Edition can be found here: http://www.activestate.com/business-edition Custom builds are available in the Enterprise Edition: http://www.activestate.com/enterprise-edition Thanks, and enjoy! The Python Team -- Sridhar Ratnakumar sridharr at activestate.com From luca.sbardella at gmail.com Thu Feb 24 10:27:35 2011 From: luca.sbardella at gmail.com (Luca Sbardella) Date: Thu, 24 Feb 2011 01:27:35 -0800 (PST) Subject: python stdnet 0.5 released Message-ID: <27f5bd2b-9ae5-4dc5-80dd-459df8b78474@y36g2000pra.googlegroups.com> We're happy to announce the release of python-stdnet 0.5.0. Compatible with python 2.6, 2.7 and the python 3 series. What is it? ============= stdnet is an object relational mapper for remote data structures. It is designed to work with redis (http://redis.io/) data-store server, but implemented so that other storage systems can be supported in the future. Create a model, register it to a back-end data structure server and create objects. Simple to use and configure. You can manipulate and filter your data using a rich model API which is similar to django (http://www.djangoproject.com/). stdnet is a stand-alone application and it includes a modified version of redis-py (https://github.com/andymccurdy/redis-py) for python 3 compatibility. There are over 160 tests with a coverage of about 60%. For more information visit http://lsbardel.github.com/python-stdnet/ Resources ========= documentation: http://lsbardel.github.com/python-stdnet/ downloads: http://pypi.python.org/pypi/python-stdnet/ development: https://github.com/lsbardel/python-stdnet From fuzzyman at gmail.com Fri Feb 25 15:27:10 2011 From: fuzzyman at gmail.com (Fuzzyman) Date: Fri, 25 Feb 2011 06:27:10 -0800 (PST) Subject: ANN: mock 0.7.0 release candidate 1 Message-ID: <0c451120-8d0d-4d13-a2b5-e6d1695d2a61@x13g2000vbe.googlegroups.com> There is a new release of mock: mock 0.7.0 rc1 http://pypi.python.org/pypi/mock This is intended to be the last release of mock before 0.7.0 final and the only changes anticipated are documentation changes which I've finally started work on. mock is a Python library for simple mocking and patching (replacing objects with mocks during test runs). The "headline features" in 0.7.0 are Python 3 support and the ability to mock magic methods. You can now mock objects that behave like containers or are used as context managers. mock is designed for use with unittest, based on the "action -> assertion" pattern rather than "record -> replay". People are happily using mock with Python test frameworks like nose and py.test. 0.7.0 is a major new release with a bunch of other new features and bugfixes as well. http://pypi.python.org/pypi/mock/ (download) http://www.voidspace.org.uk/python/mock/ (documentation) https://code.google.com/p/mock/ (repo and issue tracker) Changelog: http://www.voidspace.org.uk/python/mock/changelog.html#version-0-7-0-rc-1 Changes since beta 4: * Tested with jython, pypy and Python 3.2 and 3.1 * Decorated functions / methods have their docstring and __module__ preserved on Python 2.4 * BUGFIX: mock.patch now works correctly with certain types of objects that proxy attribute access, like the django settings object * BUGFIX: reset_mock caused infinite recursion when a mock is set as its own return value Michael Foord From wescpy at gmail.com Fri Feb 25 23:41:40 2011 From: wescpy at gmail.com (wesley chun) Date: Fri, 25 Feb 2011 14:41:40 -0800 Subject: ANN: Intro+Intermediate Python course, SF, May 24-26 Message-ID: Need to get up-to-speed with Python as quickly and as in-depth as possible? Already coding Python but still have areas of uncertainty you need to fill? Then come join me, Wesley Chun, author of Prentice-Hall's bestseller "Core Python" for a comprehensive intro/intermediate course coming up this May in Northern California, then enjoy the Memorial Day weekend afterwards in San Francisco, the beautiful city by the bay. Please pass on this note to whomever you think may be interested. I look forward to meeting you and your colleagues! feel free to pass around the PDF flyer linked down below. (Comprehensive) Introduction to Python Tue-Thu, 2010 May 24-26, 9am-5pm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (COMPREHENSIVE) INTRO+INTERMEDIATE PYTHON Although this course may appear to those new to Python, it is also perfect for those who have tinkered with it and want to "fill in the gaps" and/or want to get more in-depth formal training. ?It combines the best of both an introduction to the language as well as a "Python Internals" training course. We will immerse you in the world of Python in only a few days, showing you more than just its syntax (which you don't really need a book to learn, right?). Knowing more about how Python works under the covers, including the relationship between data objects and memory management, will make you a much more effective Python programmer coming out of the gate. 3 hands-on labs each day will help hammer the concepts home. Come find out why Google, Yahoo!, Disney, ILM/LucasFilm, VMware, NASA, Ubuntu, YouTube, and Red Hat all use Python. Users supporting or jumping to Plone, Zope, TurboGears, Pylons, Django, Google App Engine, Jython, IronPython, and Mailman will also benefit! PREVIEW 1: you will find (and can download) a video clip of a class session recorded live to get an idea of my lecture style and the interactive classroom environment (as well as sign-up) at: http://cyberwebconsulting.com PREVIEW 2: Partnering with O'Reilly and Pearson, Safari Books Online has asked me to deliver a 1-hour webcast a couple of years ago called "What is Python?". This was an online seminar based on a session that I've delivered at numerous conferences in the past. It will give you an idea of lecture style as well as an overview of the material covered in the course. info:http://www.safaribooksonline.com/events/WhatIsPython.html download (reg req'd): http://www.safaribooksonline.com/Corporate/DownloadAndResources/webcastInfo.php?page=WhatIsPython - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WHERE: near the San Francisco Airport (SFO/San Bruno), CA, USA WEB: ? http://cyberwebconsulting.com FLYER: http://cyberwebconsulting.com/flyerPP1.pdf LOCALS: easy freeway (101/280/380) with lots of parking plus public transit (BART and CalTrain) access via the San Bruno stations, easily accessible from all parts of the Bay Area VISITORS: free shuttle to/from the airport, free high-speed internet, free breakfast and regular evening receptions; fully-equipped suites See website for costs, venue info, and registration. There is a significant discounts available for full-time students, secondary teachers, and others. Hope to see you there! -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 ? ? http://corepython.com wesley.chun : wescpy-gmail.com : @wescpy python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From casey.duncan at gmail.com Sat Feb 26 20:16:17 2011 From: casey.duncan at gmail.com (Casey Duncan) Date: Sat, 26 Feb 2011 12:16:17 -0700 Subject: planar 0.3 released Message-ID: I'm happy to announce the release of the planar 0.3 2D geometry library for Python. The project, although still under development, already has quite a few useful features. The focus of the library is to provide a clean, simple, documented 2D geometry api, with high performance implementations in both Python and C, available under a liberal license. You can check out the docs and grab it from pypi here: http://pypi.python.org/pypi/planar/0.3 Enjoy. -Casey From prologic at shortcircuit.net.au Sun Feb 27 00:43:38 2011 From: prologic at shortcircuit.net.au (James Mills) Date: Sun, 27 Feb 2011 09:43:38 +1000 Subject: [ANN]: circuits-1.5 (Lightweight Event driven Asynchronous Application Framework) Message-ID: Hi, I'm pleased to announce the release of circuits-1.5 This release brings to circuits.web a new dispatcher: WebSockets This allows you to build a web application and process WebSocket connections in the same process/thread. (See the test) This release also includes a number of minor bug fixes and greater test coverage. For more information see the PyPi page: http://pypi.python.org/pypi/circuits/1.5 cheers James -- -- James Mills -- -- "Problems are solved by method" From ralf.gommers at googlemail.com Mon Feb 28 06:56:31 2011 From: ralf.gommers at googlemail.com (Ralf Gommers) Date: Mon, 28 Feb 2011 13:56:31 +0800 Subject: ANN: SciPy 0.9.0 Message-ID: I'm pleased to announce the release of SciPy 0.9.0. SciPy is a package of tools for science and engineering for Python. It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and image processing, ODE solvers, and more. This release comes seven months after the 0.8.0 release and contains several new features, numerous bug-fixes, improved test coverage, and better documentation. This is the first release that supports Python 3 (with the exception of the scipy.weave module). Sources, binaries, documentation and release notes can be found at http://sourceforge.net/projects/scipy/files/scipy/0.9.0/ Thank you to everybody who contributed to this release. Enjoy, The SciPy developers ========================= SciPy 0.9.0 Release Notes ========================= .. contents:: SciPy 0.9.0 is the culmination of 6 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better documentation. There have been a number of deprecations and API changes in this release, which are documented below. All users are encouraged to upgrade to this release, as there are a large number of bug-fixes and optimizations. Moreover, our development attention will now shift to bug-fix releases on the 0.9.x branch, and on adding new features on the development trunk. This release requires Python 2.4 - 2.7 or 3.1 - and NumPy 1.5 or greater. Please note that SciPy is still considered to have "Beta" status, as we work toward a SciPy 1.0.0 release. The 1.0.0 release will mark a major milestone in the development of SciPy, after which changing the package structure or API will be much more difficult. Whilst these pre-1.0 releases are considered to have "Beta" status, we are committed to making them as bug-free as possible. However, until the 1.0 release, we are aggressively reviewing and refining the functionality, organization, and interface. This is being done in an effort to make the package as coherent, intuitive, and useful as possible. To achieve this, we need help from the community of users. Specifically, we need feedback regarding all aspects of the project - everything - from which algorithms we implement, to details about our function's call signatures. Python 3 ======== Scipy 0.9.0 is the first SciPy release to support Python 3. The only module that is not yet ported is ``scipy.weave``. Scipy source code location to be changed ======================================== Soon after this release, Scipy will stop using SVN as the version control system, and move to Git. The development source code for Scipy can from then on be found at http://github.com/scipy/scipy New features ============ Delaunay tesselations (``scipy.spatial``) ----------------------------------------- Scipy now includes routines for computing Delaunay tesselations in N dimensions, powered by the Qhull_ computational geometry library. Such calculations can now make use of the new ``scipy.spatial.Delaunay`` interface. .. _Qhull: http://www.qhull.org/ N-dimensional interpolation (``scipy.interpolate``) --------------------------------------------------- Support for scattered data interpolation is now significantly improved. This version includes a ``scipy.interpolate.griddata`` function that can perform linear and nearest-neighbour interpolation for N-dimensional scattered data, in addition to cubic spline (C1-smooth) interpolation in 2D and 1D. An object-oriented interface to each interpolator type is also available. Nonlinear equation solvers (``scipy.optimize``) ----------------------------------------------- Scipy includes new routines for large-scale nonlinear equation solving in ``scipy.optimize``. The following methods are implemented: * Newton-Krylov (``scipy.optimize.newton_krylov``) * (Generalized) secant methods: - Limited-memory Broyden methods (``scipy.optimize.broyden1``, ``scipy.optimize.broyden2``) - Anderson method (``scipy.optimize.anderson``) * Simple iterations (``scipy.optimize.diagbroyden``, ``scipy.optimize.excitingmixing``, ``scipy.optimize.linearmixing``) The ``scipy.optimize.nonlin`` module was completely rewritten, and some of the functions were deprecated (see above). New linear algebra routines (``scipy.linalg``) ---------------------------------------------- Scipy now contains routines for effectively solving triangular equation systems (``scipy.linalg.solve_triangular``). Improved FIR filter design functions (``scipy.signal``) ------------------------------------------------------- The function ``scipy.signal.firwin`` was enhanced to allow the design of highpass, bandpass, bandstop and multi-band FIR filters. The function ``scipy.signal.firwin2`` was added. This function uses the window method to create a linear phase FIR filter with an arbitrary frequency response. The functions ``scipy.signal.kaiser_atten`` and ``scipy.signal.kaiser_beta`` were added. Improved statistical tests (``scipy.stats``) -------------------------------------------- A new function ``scipy.stats.fisher_exact`` was added, that provides Fisher's exact test for 2x2 contingency tables. The function ``scipy.stats.kendalltau`` was rewritten to make it much faster (O(n log(n)) vs O(n^2)). Deprecated features =================== Obsolete nonlinear solvers (in ``scipy.optimize``) -------------------------------------------------- The following nonlinear solvers from ``scipy.optimize`` are deprecated: - ``broyden_modified`` (bad performance) - ``broyden1_modified`` (bad performance) - ``broyden_generalized`` (equivalent to ``anderson``) - ``anderson2`` (equivalent to ``anderson``) - ``broyden3`` (obsoleted by new limited-memory broyden methods) - ``vackar`` (renamed to ``diagbroyden``) Removed features ================ The deprecated modules ``helpmod``, ``pexec`` and ``ppimport`` were removed from ``scipy.misc``. The ``output_type`` keyword in many ``scipy.ndimage`` interpolation functions has been removed. The ``econ`` keyword in ``scipy.linalg.qr`` has been removed. The same functionality is still available by specifying ``mode='economic'``. Old correlate/convolve behavior (in ``scipy.signal``) ----------------------------------------------------- The old behavior for ``scipy.signal.convolve``, ``scipy.signal.convolve2d``, ``scipy.signal.correlate`` and ``scipy.signal.correlate2d`` was deprecated in 0.8.0 and has now been removed. Convolve and correlate used to swap their arguments if the second argument has dimensions larger than the first one, and the mode was relative to the input with the largest dimension. The current behavior is to never swap the inputs, which is what most people expect, and is how correlation is usually defined. ``scipy.stats`` --------------- Many functions in ``scipy.stats`` that are either available from numpy or have been superseded, and have been deprecated since version 0.7, have been removed: `std`, `var`, `mean`, `median`, `cov`, `corrcoef`, `z`, `zs`, `stderr`, `samplestd`, `samplevar`, `pdfapprox`, `pdf_moments` and `erfc`. These changes are mirrored in ``scipy.stats.mstats``. ``scipy.sparse`` ---------------- Several methods of the sparse matrix classes in ``scipy.sparse`` which had been deprecated since version 0.7 were removed: `save`, `rowcol`, `getdata`, `listprint`, `ensure_sorted_indices`, `matvec`, `matmat` and `rmatvec`. The functions ``spkron``, ``speye``, ``spidentity``, ``lil_eye`` and ``lil_diags`` were removed from ``scipy.sparse``. The first three functions are still available as ``scipy.sparse.kron``, ``scipy.sparse.eye`` and ``scipy.sparse.identity``. The `dims` and `nzmax` keywords were removed from the sparse matrix constructor. The `colind` and `rowind` attributes were removed from CSR and CSC matrices respectively. ``scipy.sparse.linalg.arpack.speigs`` ------------------------------------- A duplicated interface to the ARPACK library was removed. Other changes ============= ARPACK interface changes ------------------------ The interface to the ARPACK eigenvalue routines in ``scipy.sparse.linalg`` was changed for more robustness. The eigenvalue and SVD routines now raise ``ArpackNoConvergence`` if the eigenvalue iteration fails to converge. If partially converged results are desired, they can be accessed as follows:: import numpy as np from scipy.sparse.linalg import eigs, ArpackNoConvergence m = np.random.randn(30, 30) try: w, v = eigs(m, 6) except ArpackNoConvergence, err: partially_converged_w = err.eigenvalues partially_converged_v = err.eigenvectors Several bugs were also fixed. The routines were moreover renamed as follows: - eigen --> eigs - eigen_symmetric --> eigsh - svd --> svds From johnp at redhat.com Mon Feb 28 21:02:32 2011 From: johnp at redhat.com (John Palmieri) Date: Mon, 28 Feb 2011 15:02:32 -0500 (EST) Subject: [ANNOUNCE] PyGObject 2.27.91 (second 2.28 pre-release) Message-ID: <599164725.824756.1298923352497.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com> I am pleased to announce version 2.27.91 of the Python bindings for GObject. We found some major blockers from the last release so this is a second pre-release for the upcoming 2.28.0 stable release. There is currently one more crasher bug on the blocker list. Once that is fixed and if there are no more blockers we will be releasing the stable version. Fixes in this release include the following: * ignore ginterfaces when doing method resolutions to avoid diamond inheritance issues * Fix union inheritance issues for Gdk.Event (e.g. Gdk.EventButton structure can be passed to interfaces which expect a Gdk.Event) * Override all Gdk.Event union members to export Gdk.Event methods * Leak instead of crashing if marshalling a C array and an error occurs - future releases will fix the leak * When setting rows in a TreeModel you can now pass None to indicate you wish to ignore a column * Fix setting types not represented in Python such as GObject.TYPE_UINT, when setting a TreeModel column * Flag and enum behaviour fixes * Typelibs now loaded at import time instead of lazy loading to fix name resolution issues from factories which return objects where the typelib is not yet loaded (e.g. GStreamer plugins) - this requires that application authors call the gi.require_version API BEFORE importing a module from gi.repository if they wish to specify a typelib version (e.g. gi.require_verison('Gtk', '3.0')) * don't load the gi module when using the static bindings * Gtk.Menu.popup fixed * Gtk.Cursor now API equivalent to PyGtk * Signal callbacks now convert foreign types (e.g. you get a PyCairo compatible context object in a 'draw' signal callback) * Gdk.Rectangle aliases cairo.RectangleInt correctly * fix the demos in gtk-demo.py * For a complete list of changes please read the NEWS file The new release is available from ftp.gnome.org and its mirrors: http://download.gnome.org/sources/pygobject/2.27/ 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 2.0 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.5.1 to build. GIO bindings require glib >= 2.22.4. The Introspection module is the next generation Python GObject library bindings. Instead of statically wrapping every GObject based library we can now dynamically accesses any of those libraries using GObject Introspection. It replaces the need for separate modules such as PyGTK, GIO and python-gnome to build a full GNOME 3.0 application. Once new functionality is added to gobject library it is instantly available as a Python API without the need for an intermediate Python module. Introspection/Python 2 bindings requires gobject-introspection >= 0.9.5 and pycairo >=1.0.2 or py2cairo >=1.8.10 Introspection/Python 3 bindings requires gobject-introspection >= 0.9.5, pycairo >=1.8.10 and Python >= 3.1 -- John (J5) Palmieri Software Engineer Red Hat, Inc.