From opossumnano at gmail.com Tue Mar 1 14:41:32 2011 From: opossumnano at gmail.com (Tiziano Zito) Date: Tue, 1 Mar 2011 14:41:32 +0100 (CET) Subject: =?utf-8?q?=5BANN=5D_Summer_School_=22Advanced_Scientific_Programming_in_P?= =?utf-8?q?ython=22_in_St_Andrews=2C_UK?= Message-ID: <20110301134132.624D02497F6@mail.bccn-berlin> ?Advanced Scientific Programming in Python ========================================= a Summer School by the G-Node and the School of Psychology, University of St Andrews Scientists spend more and more time writing, maintaining, and debugging software. While techniques for doing this efficiently have evolved, only few scientists actually use them. As a result, instead of doing their research, they spend far too much time writing deficient code and reinventing the wheel. In this course we will present a selection of advanced programming techniques, incorporating theoretical lectures and practical exercises tailored to the needs of a programming scientist. New skills will be tested in a real programming project: we will team up to develop an entertaining scientific computer game. We use the Python programming language for the entire course. Python works as a simple programming language for beginners, but more importantly, it also works great in scientific simulations and data analysis. We show how clean language design, ease of extensibility, and the great wealth of open source libraries for scientific computing and data visualization are driving Python to become a standard tool for the programming scientist. This school is targeted at PhD students and Post-docs from all areas of science. Competence in Python or in another language such as Java, C/C++, MATLAB, or Mathematica is absolutely required. Basic knowledge of Python is assumed. Participants without any prior experience with Python should work through the proposed introductory materials before the course. Date and Location ================= September 11?16, 2011. St Andrews, UK. Preliminary Program =================== Day 0 (Sun Sept 11) ? Best Programming Practices - Agile development & Extreme Programming - Advanced Python: decorators, generators, context managers - Version control with git Day 1 (Mon Sept 12) ? Software Carpentry - Object-oriented programming & design patterns - Test-driven development, unit testing & quality assurance - Debugging, profiling and benchmarking techniques - Programming in teams Day 2 (Tue Sept 13) ? Scientific Tools for Python - Advanced NumPy - The Quest for Speed (intro): Interfacing to C with Cython - Best practices in data visualization Day 3 (Wed Sept 14) ? The Quest for Speed - Writing parallel applications in Python - Programming project Day 4 (Thu Sept 15) ? Efficient Memory Management - When parallelization does not help: the starving CPUs problem - Data serialization: from pickle to databases - Programming project Day 5 (Fri Sept 16) ? Practical Software Development - Programming project - The Pac-Man Tournament Every evening we will have the tutors' consultation hour: Tutors will answer your questions and give suggestions for your own projects. Applications ============ You can apply on-line at http://python.g-node.org Applications must be submitted before May 29, 2011. Notifications of acceptance will be sent by June 19, 2011. No fee is charged but participants should take care of travel, living, and accommodation expenses. Candidates will be selected on the basis of their profile. Places are limited: acceptance rate in past editions was around 30%. Prerequisites: You are supposed to know the basics of Python to participate in the lectures. Please consult the website for a list of introductory material. Faculty ======= - Francesc Alted, author of PyTables, Castell? de la Plana, Spain - Pietro Berkes, Volen Center for Complex Systems, Brandeis University, USA - Valentin Haenel, Berlin Institute of Technology and Bernstein Center for Computational Neuroscience Berlin, Germany - Zbigniew J?drzejewski-Szmek, Faculty of Physics, University of Warsaw, Poland - Eilif Muller, The Blue Brain Project, Ecole Polytechnique F?d?rale de Lausanne, Switzerland - Emanuele Olivetti, NeuroInformatics Laboratory, Fondazione Bruno Kessler and University of Trento, Italy - Rike-Benjamin Schuppner, Bernstein Center for Computational Neuroscience Berlin, Germany - Bartosz Tele?czuk, Institute for Theoretical Biology, Humboldt-Universit?t zu Berlin, Germany - Bastian Venthur, Berlin Institute of Technology and Bernstein Focus: Neurotechnology, Germany - Pauli Virtanen, Institute for Theoretical Physics and Astrophysics, University of W?rzburg, Germany - Tiziano Zito, Berlin Institute of Technology and Bernstein Center for Computational Neuroscience Berlin, Germany Organized by Katharina Maria Zeiner and Manuel Spitschan of the School of Psychology, University of St Andrews, and by Zbigniew J?drzejewski-Szmek and Tiziano Zito for the German Neuroinformatics Node of the INCF. Website: http://python.g-node.org Contact: python-info at g-node.org From amenity at enthought.com Tue Mar 1 22:31:32 2011 From: amenity at enthought.com (Amenity Applewhite) Date: Tue, 1 Mar 2011 15:31:32 -0600 Subject: =?UTF-8?Q?Webinar_3=2F4=3A_How_do_I=E2=80=A6_solve_ODEs=3F_Part_II?= Message-ID: March EPD Webinar: How do I...solve ODEs? Part II This Friday, Warren Weckesser will present a second installment of his webinars on differential equations. We will explore two Python packages for solving boundary value problems. Both are packaged as scikits: scikits.bvp_solver, written by John Salvatier, is a wrapper of the BVP_SOLVER code by Shampine and Muir; scikits.bvp1lg, written by Pauli Virtanen, is a wrapper of the COLNEW solver developed by Ascher and Bader. Enthought Python Distribution Webinar How do I... solve ODEs? Part II Friday, March 4: 1pm CST/7pm UTC Wait list (for non EPD subscribers): send an email to amenity at enthought.com Thanks! _________________________ Amenity Applewhite Enthought, Inc. Scientific Computing Solutions From info at wingware.com Thu Mar 3 00:27:33 2011 From: info at wingware.com (Wingware) Date: Wed, 02 Mar 2011 18:27:33 -0500 Subject: Wing IDE 3.2.13 released Message-ID: <4D6ED265.8060708@wingware.com> Hi, Wingware has released version 3.2.13 of Wing IDE, an integrated development environment designed specifically for the Python programming language. This is a maintenance release for Wing 3.2 users only and includes the following improvements: * Support for Python 3.2 * 6 minor bug fixes NOTE: Wing 3.2.13 is intended only for users that have not already upgraded to the latest major release, Wing IDE 4.0. See http://wingware.com/pub/wingide/3.2.13/CHANGELOG.txt for details. *Downloads* Wing IDE Professional http://wingware.com/downloads/wingide/3.2 Wing IDE Personal http://wingware.com/downloads/wingide-personal/3.2 Wing IDE 101 http://wingware.com/downloads/wingide-101/3.2 *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 entry level programming courses with Python. Version 3.2 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, goto-definition, error indicators, smart indent and re-wrapping, and source navigation * Advanced multi-threaded debugger with graphical UI, command line interaction, conditional breakpoints, data value tool tips 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 for the unittest, nose, and doctest frameworks * Many other features including project manager, bookmarks, code snippets, OS command integration, indentation manager, PyLint integration, and perspectives * Extremely configurable and may be extended with Python scripts Please refer to the feature list at 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 for PPC or Intel (requires X11 Server), or a recent Linux system (either 32 or 64 bit). Wing IDE supports Python versions 2.0.x through 3.1.x and Stackless Python. For more information, see http://wingware.com/products *Purchasing and Upgrading* Wing 3.2.13 is a free upgrade for all Wing IDE 3.x users. Version 2.x licenses must be upgraded. Upgrade a license: https://wingware.com/store/upgrade Purchase a license: https://wingware.com/store/purchase -- Wingware | Python IDE The Intelligent Development Environment for Python Programmers www.wingware.com From jendrikseipp at web.de Thu Mar 3 00:52:36 2011 From: jendrikseipp at web.de (Jendrik Seipp) Date: Thu, 03 Mar 2011 00:52:36 +0100 Subject: RedNotebook 1.1.3 Message-ID: <4D6ED844.2050500@web.de> RedNotebook 1.1.3 has been released. You can get the tarball, the Windows installer and links to distribution packages at http://rednotebook.sourceforge.net/downloads.html What is RedNotebook? -------------------- RedNotebook is a **graphical journal** and diary helping you keep track of notes and thoughts. It includes a calendar navigation, customizable templates, export functionality and word clouds. You can also format, tag and search your entries. RedNotebook is available in the repositories of most common Linux distributions and a Windows installer is available. It is written in Python and uses GTK+ for its interface. What's new? ----------- * Remember window position from last session * Restore window position when returning from tray * Let the sub-windows be displayed relative to the main screen * After searching change to date with single click instead of double-click * Add useWebkit flag in configuration file Can be set to 0 if webkit causes problems e.g. for Chinese fonts * Fix: Special characters inflate cloud black-/whitelist * Fix: Insertion of templates (LP:696205) * Fix: Do not load backup files accidentally (LP:705260) * Fix: Preferences window can't be opened (LP:696186) * Windows: Fix opening linked files with umlauts or other special characters * Code: Make pywebkitgtk an explicit requirement Cheers, Jendrik From cthedot at gmail.com Thu Mar 3 20:12:20 2011 From: cthedot at gmail.com (Christof) Date: Thu, 03 Mar 2011 20:12:20 +0100 Subject: html5lib Message-ID: <4D6FE814.7030600@gmail.com> http://code.google.com/p/html5lib/downloads/list xhtml to html5 From renato.filho at openbossa.org Fri Mar 4 14:31:13 2011 From: renato.filho at openbossa.org (Renato Araujo Oliveira Filho) Date: Fri, 4 Mar 2011 10:31:13 -0300 Subject: PySide: Python for Qt 1.0 released! Message-ID: Hi all, For those of you interested in writing Qt and QML software on Python: The PySide project has released PySide: Python for Qt version 1.0.0 after a long stabilization period. In addition to the source code release, project community packagers have already released binary packages for all major Linux distributions, Microsoft Windows, Mac OS X, and Nokia?s Maemo 5 platform. With this release, the team regards PySide to be production quality and they will restart feature development in parallel to the continued bugfixing effort. PySide is a Nokia-sponsored Python Qt bindings project, providing bindings to not only the complete Qt 4.7 framework (including Qt Quick/QML) but also Qt Mobility, as well as to generator tools for rapidly generating new bindings for any C++ libraries. Due to the LGPL-licensing of the bindings, PySide can be used both for Free/Open-source and commercial software development. The PySide project is developed in the open, with all facilities one would expect from any modern OSS project such as all code in a git repository, an open Bugzilla for reporting bugs, and an open design process. PySide welcomes any contribution without requiring a transfer of copyright. See the PySide website for download links and more information: http://www.pyside.org PySide Team From axwalk at gmail.com Sat Mar 5 09:22:06 2011 From: axwalk at gmail.com (axwalk) Date: Sat, 5 Mar 2011 00:22:06 -0800 (PST) Subject: Announcing Pushy 0.4 Message-ID: <89ad5789-a542-46d9-b5fe-539fa7b8bde2@z27g2000prz.googlegroups.com> Greetings, I am pleased to announce the release of Pushy 0.4. This is a stable release, focusing on bug fixes and improving code quality in general. Cheers, Andrew Wilkins. What is Pushy? ========================================== Pushy is a Python package for connecting Python interpreters, providing each one access to objects in the other. Pushy provides the novel ability to spawn and connect to Python interpreters not only on the local host, but also on remote hosts via SSH, requiring nothing but Python and a running SSH daemon on the remote host. Pushy also provides a simple Java API, which Java applications can use to spawn and connect to Python processes and access objects within them. Python support is currently limited to Python 2.4+, and not the 3.x series. The Pushy Java API supports Java 1.4+. License ========================================== Pushy is released exclusively under the MIT License. Resources ========================================== - Source Repository and Issue Tracker: http://launchpad.net/pushy - PyPI: http://pypi.python.org/pypi/pushy/0.4 - Homepage: http://awilkins.id.au/pushy - Blog: http://blog.awilkins.id.au From pp at pp.com.mx Mon Mar 7 02:46:53 2011 From: pp at pp.com.mx (Patricio Paez) Date: Sun, 6 Mar 2011 19:46:53 -0600 Subject: arithmetic 0.5 Message-ID: <20110307014653.GU1631@pre.pp.com.mx> Hi all, The fifth version of module arithmetic has been released, it works now with GTK and wxWidgets. Parser classes simplify adding the module to existing editors or other applications. Documentation was improved. arithmetic is a Python module that allows mixing arithmetic operations and text. It can be used standalone or from an application. Tk, GTK and wxWidgets based sample editors are provided as an example of use. Tutorial documents are included, they will quickly show all the features of arithmetic. The module is licensed under the Gnu GPL license version 2 or later. Home http://pp.com.mx/python/arithmetic Download http://pp.com.mx/python/arithmetic/arithmetic-0.5.tar.gz Regards, Patricio P?ez From abulka at gmail.com Mon Mar 7 04:00:15 2011 From: abulka at gmail.com (Andy Bulka) Date: Sun, 6 Mar 2011 19:00:15 -0800 (PST) Subject: PyNSource 1.5 released Message-ID: <47f03f38-66e0-4f3a-8bd2-9bb32d597221@j9g2000prj.googlegroups.com> Today I have released PyNSource 1.5 with numerous fixes and improvements. http://www.andypatterns.com/index.php/products/pynsource/ PyNSource and PyNSource GUI - Reverse engineer python source code into UML - display UML as Ascii art or in a proper diagramming visual workspace. You can also generate java and delphi skeleton code from the python, for the purpose of importing that into other UML tools. Version 1.5 - Python 2.6 (and probably 2.7) compatibility - Runs with latest wxpython - Menus reworked, help added, command to visit website added. - Print preview now much smarter about showing your entire uml workspace - pynsource.exe added to standalone distribution - Readme and doco vastly improved - Website cleaned up - All downloads from sourceforge, better packaging Can anyone out there help me make a linux distro for this? Andy Bulka www.andypatterns.com From richard at pyweek.org Mon Mar 7 03:08:29 2011 From: richard at pyweek.org (Richard Jones) Date: Mon, 7 Mar 2011 13:08:29 +1100 Subject: PyWeek 12 (April 2011) is registration is open! Message-ID: The 12th Python Game Programming Challenge (PyWeek) is almost upon us. It'll run from the 3rd to the 10th of April. Registration for teams and individuals is now open on the website: http://pyweek.org/ 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!) If you've never written a game before and would like to try things out then perhaps you could try either: The tutorial I presented at LCA 2010, Introduction to Game Programming: http://www.lca2010.org.nz/wiki/Tutorials/Introduction_to_game_programming The book Invent Your Own Computer Games With Python: http://inventwithpython.com/ Richard Jones http://pyweek.org From sumerc at gmail.com Mon Mar 7 12:24:41 2011 From: sumerc at gmail.com (Sumer Cip) Date: Mon, 7 Mar 2011 03:24:41 -0800 (PST) Subject: yappi v0.53 released Message-ID: <99966f14-1738-4d6e-a175-d6a0760f5da2@e9g2000vbk.googlegroups.com> Hi all, New version of yappi(0.53) just released. Version Highlight: - Py3k support. - Submitted to PyPI. Now Yappi becomes installable via easy_install. > easy_install yappi Changes: - Issue #19, #20, #21 fixes. - debug priint changes. few file re-org. http://code.google.com/p/yappi/ Regards, From cournape at gmail.com Tue Mar 8 15:07:31 2011 From: cournape at gmail.com (David Cournapeau) Date: Tue, 8 Mar 2011 23:07:31 +0900 Subject: [ANN] Bento 0.0.5, a packaging solution for python software Message-ID: Hi, I am pleased to announce a new release of bento, a packaging solution for python which aims at reproducibility, extensibility and simplicity. You can take a look at its main features on bento's main documentation page (http://cournape.github.com/Bento). The main features of this 0.0.5 release are: - All python versions from 2.4 up to 3.1 now pass the test suite (3.2 will follow once a distribute issue with 3.2 is fixed) - If run under a virtual environment (virtualenv), bento will install the package inside the virtualenvironment by default - Internal changes to enable easier change of build tool (an example for simple extensions is available for waf 1.6.x) - Added experimental distutils compatibility layer so that one can write a setup.py which will pick up all information from bento.info. This enables projects using bento to be able to use tools such as pip. Bento now has its own mailing list: bento at librelist.com. If you are curious about bento, I will present it at pycon 2011 as a poster. cheers, David From albrecht.andi at googlemail.com Tue Mar 8 20:35:43 2011 From: albrecht.andi at googlemail.com (Andi Albrecht) Date: Tue, 8 Mar 2011 11:35:43 -0800 (PST) Subject: pyCologne Python User Group Cologne - Meeting, March 9, 2011, 6.30pm Message-ID: <4510b55d-35e9-4973-89a7-d1e4708db144@glegroupsg2000goo.googlegroups.com> The next meeting of pyCologne will take place: Wednesday, March, 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 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.) Best regards, Andi From johnp at redhat.com Tue Mar 8 21:40:32 2011 From: johnp at redhat.com (John Palmieri) Date: Tue, 8 Mar 2011 15:40:32 -0500 (EST) Subject: [ANNOUNCE] PyGObject 2.28.0 - stable Message-ID: <151714326.412453.1299616832921.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com> I am pleased to announce version 2.28.0 of the Python bindings for GObject. Including the stable improvements in the base pygobject modules this is the first stable release of the Introspection binding. PyGObject Introspection is compatible with both the Python 2 and Python 3 runtimes. This marks the second major development project I have had the pleasure to help bring to fruition. Like for D-Bus, I am merely the public face of a rather vibrant development community. While I hope I don't leave anyone out I would like to thank the following people who dedicated their valuable time to the future of the Python platform for GNOME. ? Johan Dahlin - creator of PyBank, the predecessor to PyGObject Introspection, for giving us direction, advice and helping to review patches ? Tomeu Vizoso - co-maintainer, my good friend, the reason why we decided to push for Introspection support and probably the hardest worker on our team ? Steve Fr?cinaux - for all of his leak hunting and bug fixing while testing against libpeas and gedit plugins ? Ignacio Casal Quinterio - for fixing bugs while porting the gedit plugins to the new bindings ? Laszlo Pandy - for fixing some of the tougher bugs and winning the "why are you awake at this hour, hacking on PyGObject while on irc?" award ? Martin Pitti - who worked on GVarients and making GDBus easy to use from PyGObject ? Simon van der Linden - who started this journey with us and has been helping us along when he finds the time ? Simon Schampijer - our newcomer from OLPC/Sugar development who jumped right in to help at the hackfest? ? Sebastian P?lsterl - another hackfest alum who ported GNOME DVB Daemon's GUI ? John Ehresman - creator of the initial Python 3 support code ? Dave Malcolm - some of the initial Python 3 bits and my sounding board for any Python issues I ran into ? The entire GObject Introspection team - especially the tireless Colin Walters who fixed our many GI bugs quickly while also putting up with my complaining both at work and whenever we happened to grab a beer in one of the local watering holes ? The Python team - for making an excellent language for us to bind to The new release is available from ftp.gnome.org: http://download.gnome.org/sources/pygobject/2.28/ What's new since PyGObject 2.27.92? ? fix sinking of floating objects ? fix leaks when setting properties ? add basic icon view demo ? add search entry demo ? override Gdk.RGBA so you can construct it like Gdk.RGBA(1.0, 1.0, 1.0, 1.0) ? handle unichar gvalues in TreeModels ? check for _thread module when configuring threading ? package config file now contains overridesdir variable for 3rd party overrides ? on windows set bdist_wininst user-access-control property when installing ? Gtk.stock_lookup return None on failure instead of a success value ? Python 2.5 fixes ? Python 3 fixes 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 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 GNOME Foundation member johnp at redhat.com From sandro at e-den.it Wed Mar 9 06:35:40 2011 From: sandro at e-den.it (sandro) Date: Wed, 09 Mar 2011 05:35:40 GMT Subject: Sqlkit 0.9.3 Message-ID: ANNOUNCE: sqlkit 0.9.3 March, 3 - 2011 I'm happy to announce release 0.9.3 of sqlkit package for Python. http://sqlkit.argolinux.org/ This release ------------ This is a release with a great number of changes and new features, the main important ones are: * Added image/file fields * Added enum-like field * Correctly implemented duplication of records * Removed dependancy on glade * Moved toward a better MVC pattern * Fixed behaviour of hooks that allows better interaction/customization * Many bug fixes The python package ------------------ SQLkit PyGtk package provides Mask and Table widgets to edit database data. It's meant as a base for database desktop applications. The application --------------- It also provides 'sqledit' a PyGTK application based on sqlkit that can be used from command line to browse and edit data. The package has 2 very rich demo suites for sql widgets (the main one in sqlkit/demo/sql/demo.py) and for layout creation Translations ------------ If you like sqlkit and want to help translating, you may find the project on: https://launchpad.net/sqlkit Main features of sqlkit: ------------------------ * editor of databases in 2 modes: table & mask * based on sqlalchemy: can cope with many different databases * very powerfull filtering capabilities: - each field can be used to filter records - filter may span relationship - date filtering possible also on relative basis (good for saved queries) * completion on all text field and foreign keys * very easy way to draw a layout for mask views * completely effortless editing of relationships * very easy way to set defaults * possibility to display totals of numeric fields * any possible sql constraint can be attached to a Mask or a Table. It can be expressed as a normal sqlalchemy query or with django-like syntax * sqledit: the application to edit db Sqlkit is based on: ------------------- * python (>= 2.5) * PyGtk * Sqlalchemy (>= 0.5.4) * python-dateutil * babel (localization) * you db driver of choice Dowload & more: --------------- * Download: http://sqlkit.argolinux.org/sqlkit/download.html easy_install sqlkit * Source: hg clone http://hg.argolinux.org/py/sqlkit * Google Group: http://groups.google.it/group/sqlkit/ * Translation: https://launchpad.net/sqlkit * Tutorial: http://sqlkit.argolinux.org/misc/tutorials.html * Changelog: http://sqlkit.argolinux.org/download/Changelog * License: GNU GPLv3 From holger at merlinux.eu Wed Mar 9 14:03:42 2011 From: holger at merlinux.eu (holger krekel) Date: Wed, 9 Mar 2011 13:03:42 +0000 Subject: pytest-2.0.2: bug fixes, improved xfail/skip expressions, speedups Message-ID: <20110309130342.GK16231@merlinux.eu> Welcome to pytest-2.0.2, a maintenance and bug fix release. py.test is a mature testing tool for Python, supporting CPython 2.4-3.2, Jython and latest PyPy interpreters. See the 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, particularly Jurko for his insistence, Laura, Victor and Brianna for helping with improving and Ronny for his general advise. best, holger krekel Changes between 2.0.1 and 2.0.2 ---------------------------------------------- - tackle issue32 - speed up test runs of very quick test functions by reducing the relative overhead - fix issue30 - extended xfail/skipif handling and improved reporting. If you have a syntax error in your skip/xfail expressions you now get nice error reports. Also you can now access module globals from xfail/skipif expressions so that this for example works now:: import pytest import mymodule @pytest.mark.skipif("mymodule.__version__[0] == "1") def test_function(): pass This will not run the test function if the module's version string does not start with a "1". Note that specifying a string instead of a boolean expressions allows py.test to report meaningful information when summarizing a test run as to what conditions lead to skipping (or xfail-ing) tests. - fix issue28 - setup_method and pytest_generate_tests work together The setup_method fixture method now gets called also for test function invocations generated from the pytest_generate_tests hook. - fix issue27 - collectonly and keyword-selection (-k) now work together Also, if you do "py.test --collectonly -q" you now get a flat list of test ids that you can use to paste to the py.test commandline in order to execute a particular test. - fix issue25 avoid reported problems with --pdb and python3.2/encodings output - fix issue23 - tmpdir argument now works on Python3.2 and WindowsXP Starting with Python3.2 os.symlink may be supported. By requiring a newer py lib version the py.path.local() implementation acknowledges this. - fixed typos in the docs (thanks Victor Garcia, Brianna Laugher) and particular thanks to Laura Creighton who also revieved parts of the documentation. - fix slighly wrong output of verbose progress reporting for classes (thanks Amaury) - more precise (avoiding of) deprecation warnings for node.Class|Function accesses - avoid std unittest assertion helper code in tracebacks (thanks Ronny) From sandro at e-den.it Wed Mar 9 19:14:33 2011 From: sandro at e-den.it (sandro) Date: Wed, 09 Mar 2011 18:14:33 GMT Subject: Sqlkit 0.9.3 References: Message-ID: Sorry, the correct link to download is http://sqlkit.argolinux.org/misc/download.html sandro wrote: > ANNOUNCE: sqlkit 0.9.3 > > March, 3 - 2011 > > > I'm happy to announce release 0.9.3 of sqlkit package for Python. > > http://sqlkit.argolinux.org/ > > This release > ------------ > > This is a release with a great number of changes and new features, > the main important ones are: > > * Added image/file fields > * Added enum-like field > * Correctly implemented duplication of records > * Removed dependancy on glade > * Moved toward a better MVC pattern > * Fixed behaviour of hooks that allows better interaction/customization > * Many bug fixes > > The python package > ------------------ > SQLkit PyGtk package provides Mask and Table widgets to edit database > data. It's meant as a base for database desktop applications. > > The application > --------------- > It also provides 'sqledit' a PyGTK application based on sqlkit that can be > used from command line to browse and edit data. > > The package has 2 very rich demo suites for sql widgets (the main one in > sqlkit/demo/sql/demo.py) and for layout creation > > Translations > ------------ > > If you like sqlkit and want to help translating, you may find the project on: > > https://launchpad.net/sqlkit > > Main features of sqlkit: > ------------------------ > > * editor of databases in 2 modes: table & mask > * based on sqlalchemy: can cope with many different databases > * very powerfull filtering capabilities: > - each field can be used to filter records > - filter may span relationship > - date filtering possible also on relative basis (good for saved > queries) > * completion on all text field and foreign keys > * very easy way to draw a layout for mask views > * completely effortless editing of relationships > * very easy way to set defaults > * possibility to display totals of numeric fields > * any possible sql constraint can be attached to a Mask or a > Table. It can be expressed as a normal sqlalchemy query or with > django-like syntax > * sqledit: the application to edit db > > > Sqlkit is based on: > ------------------- > * python (>= 2.5) > * PyGtk > * Sqlalchemy (>= 0.5.4) > * python-dateutil > * babel (localization) > * you db driver of choice > > Dowload & more: > --------------- > > * Download: http://sqlkit.argolinux.org/sqlkit/download.html > easy_install sqlkit > * Source: hg clone http://hg.argolinux.org/py/sqlkit > * Google Group: http://groups.google.it/group/sqlkit/ > * Translation: https://launchpad.net/sqlkit > * Tutorial: http://sqlkit.argolinux.org/misc/tutorials.html > * Changelog: http://sqlkit.argolinux.org/download/Changelog > * License: GNU GPLv3 > From jimmy at retzlaff.com Wed Mar 9 22:24:57 2011 From: jimmy at retzlaff.com (Jimmy Retzlaff) Date: Wed, 9 Mar 2011 13:24:57 -0800 Subject: mrjob v0.2.4 released Message-ID: What is mrjob? ----------------------- mrjob is a Python package that helps you write and run Hadoop Streaming jobs. mrjob fully supports Amazon's Elastic MapReduce (EMR) service, which allows you to buy time on a Hadoop cluster on an hourly basis. It also works with your own Hadoop cluster. Some important features: * Run jobs on EMR, your own Hadoop cluster, or locally (for testing). * Write multi-step jobs (one map-reduce step feeds into the next) * Duplicate your production environment inside Hadoop * Upload your source tree and put it in your job's $PYTHONPATH * Run make and other setup scripts * Set environment variables (e.g. $TZ) * Easily install python packages from tarballs (EMR only) * Setup handled transparently by mrjob.conf config file * Automatically interpret error logs from EMR * SSH tunnel to hadoop job tracker on EMR * Minimal setup * To run on EMR, set $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY * To run on your Hadoop cluster, install simplejson and make sure $HADOOP_HOME is set. More info: * Install mrjob: python setup.py install * Documentation: http://packages.python.org/mrjob/ * PyPI: http://pypi.python.org/pypi/mrjob * Development is hosted at github: http://github.com/Yelp/mrjob What's new? ------------------- v0.2.4, 2011-03-09 -- fix bootstrapping mrjob * Fix bootstrapping of mrjob in hadoop and local mode (Issue #89) * SSH tunnels try to use the same port for the same job flow (Issue #67) * Added mr_postfix_bounce and mr_pegasos_svm to examples. * Retry on spurious 505s from EMR API From rolandgarros999 at gmail.com Thu Mar 10 06:49:35 2011 From: rolandgarros999 at gmail.com (roland garros) Date: Wed, 9 Mar 2011 21:49:35 -0800 (PST) Subject: Python Tools for Visual Studio from Microsoft - Free & Open Source Message-ID: Hi folks, A couple of Python & OSS enthusiasts at msft have produced an add-in for Visual Studio that enables intellisense, browsing, debugging, profiling for CPython and IronPython, along with support for MPI clusters and IPython integration. Would love to hear your feedback! http://pytools.codeplex.com Thanks in advance. From bradallen137 at gmail.com Fri Mar 11 14:32:52 2011 From: bradallen137 at gmail.com (Brad Allen) Date: Fri, 11 Mar 2011 07:32:52 -0600 Subject: Python SIG for Healthcare IT Message-ID: For those seeking to work with Python-based tools in the healthcare IT industry, this SIG ("special interest group") can provide a forum to discuss challenges and hopefully foster knowledge sharing and tools development. Relevant topics include tools for working with healthcare standard data formats, industry news items, professional development, and success stories about Python and open source in the healthcare industry. Along the way, this SIG page can be updated with links to relevant projects and resources. If this interests you, please join this discussion on the mailing list: http://mail.python.org/mailman/listinfo/healthcare This is a new list, so it has no archives as of yet. If you're attending PyCon today, please join us in a face to face meeting at 1pm in the Hanover A open space room. As with all open space meetings, all are welcome, including those with no healthcare IT background interested in joining the industry. From sschwarzer at sschwarzer.net Sat Mar 12 19:38:31 2011 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Sat, 12 Mar 2011 19:38:31 +0100 Subject: [ANN] ftputil 2.6 released Message-ID: <4D7BBDA7.7090403@sschwarzer.net> ftputil 2.6 is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.5 ------------------------- - The stat caching has been improved. There's now an "auto-grow" feature for `FTPHost.listdir` which in turn applies to `FTPHost.walk`. Moreover, there are several performance optimizations. - A few bugs were fixed [1-3]. - ftputil now requires at least Python 2.4 (but doesn't work with Python 3). What is ftputil? ---------------- ftputil is a high-level FTP client library for the Python programming language. ftputil implements a virtual file system for accessing FTP servers, that is, it can generate file-like objects for remote files. The library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional uploads and downloads, and handles FTP clients and servers in different timezones. Read the documentation at http://ftputil.sschwarzer.net/documentation . License ------- ftputil is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). [1] http://ftputil.sschwarzer.net/trac/ticket/53 [2] http://ftputil.sschwarzer.net/trac/ticket/55 [3] http://ftputil.sschwarzer.net/trac/ticket/56 Stefan From jendrikseipp at web.de Mon Mar 14 02:29:29 2011 From: jendrikseipp at web.de (Jendrik Seipp) Date: Mon, 14 Mar 2011 02:29:29 +0100 Subject: Pogo 0.4 Message-ID: <4D7D6F79.40702@web.de> I am proud to announce the release of Pogo 0.4, probably the simplest and fastest audio player for Linux. You can get the tarball and an Ubuntu deb package at http://launchpad.net/pogo What is Pogo? -------------------- Pogo plays your music. Nothing else. It tries to be fast and easy-to-use. Pogo's elementary-inspired design uses the screen-space very efficiently. It is especially well-suited for people who organize their music by albums on the harddrive. The main interface components are a directory tree and a playlist that groups albums in an innovative way. Pogo is a fork of Decibel Audio Player. Supported file formats include Ogg Vorbis, MP3, FLAC, Musepack, Wavpack, and MPEG-4 AAC. Pogo is written in Python and uses GTK+ and gstreamer. What's new in 0.4 "I'm a complicated guy" (2011-03-14) ========================================= * Support for WAV files (LP:684161) * Export playlist to .m3u format (right-click playlist) * Show "Open containing folder" in context menu also for seaches * When caching the files in the music directories do not slow down application * Save cover size between sessions * Fix: adding files from command line by removing bash start script * Fix: Compiz cover display problem * Fix: Save maximized state * Fix: Start playback automatically when tracks are appended, but not when inserted * Fix: Unhighlight not selected tracks always * Code: Assert copyright with date (LP:692792) * Code: Use pogo.py as binary directly for installations * Update translations Cheers, Jendrik From dsuch at gefira.pl Tue Mar 15 03:05:02 2011 From: dsuch at gefira.pl (Dariusz Suchojad) Date: Tue, 15 Mar 2011 03:05:02 +0100 Subject: ANN: PyMQI 1.2 - Python interface to WebSphere MQ Message-ID: <4D7EC94E.8070903@gefira.pl> Hi, I'm very happy to announce the release of PyMQI 1.2. *INTRODUCTION* PyMQI allows users to connect Python applications to WebSphere MQ queue managers. It can be used to develop test harnesses for WebSphere MQ based systems, for rapid prototyping of WebSphere MQ applications, for development of administrative GUIs or for mainstream MQ application development. PyMQI has been used in production environments for several years on Linux, Windows, Solaris and AIX with queue managers running on Linux, Windows, Solarix, AIX, HP-UX and z/OS mainframe. Supported WebSphere MQ versions are 5.0, 5.1, 5.3, 6.0 and 7.0. *What's new* * Added support for MQ 7.0-style publish/subscribe * Added support for creating and parsing of MQRFH2 headers * Added new constants in the CMQZC.py module * Added new structures - MQSRO, MQSD, MQTM, MQTMC2 * PyMQI now supports byte strings * New MQ verb - MQSUB * Simplified establishing connections to queue managers * Added means for checking whether a client application is connected to a queue manager Special thanks to Hannes Wagener for his extraordinary contributions in the area of publish/subscribe and MQRFH2! *Hello world with PyMQI* Here's an example showing how easy it is to connect to WebSphere MQ and put a message on a queue. import pymqi qmgr = pymqi.connect("QM01", "SVRCONN.1", "192.168.1.121(1434)") q = pymqi.Queue(qmgr, "TEST.QUEUE.1") q.put("Hello from Python") *Links* Project's homepage: http://packages.python.org/pymqi/ Download URL: https://launchpad.net/pymqi/+download Usage examples: http://packages.python.org/pymqi/examples.html Twitter: https://twitter.com/fourthrealm Blog: http://www.gefira.pl/blog LinkedIn: http://www.linkedin.com/groups?gid=3726448 IRC: #pymqi channel on Freenode network cheers, -- Dariusz Suchojad From benjamin at python.org Tue Mar 15 17:16:07 2011 From: benjamin at python.org (Benjamin Peterson) Date: Tue, 15 Mar 2011 11:16:07 -0500 Subject: [ANN] six 1.0.0 released Message-ID: I'm pleased to announce the immediate availability of six 1.0.0. six is a small compatibility library for writing code that works on Python 2 and 3 without modification. six 1.0's main feature is that it is now one python module for ease of distribution. Since the 1.0 beta, there have been only 2 changes: First, "fake" unicode literals on Python 2 now have unicode escapes decoded. Secondly, an API has been created for adding objects to the "six.moves" interface. You can download six on PyPi: http://pypi.python.org/pypi/six The documentation is at: http://packages.python.org/six/ Please report bugs at: http://bitbucket.org/gutworth/six Enjoy, Benjamin benjamin at python.org From dmitrey.kroshko at scipy.org Wed Mar 16 08:27:17 2011 From: dmitrey.kroshko at scipy.org (dmitrey) Date: Wed, 16 Mar 2011 00:27:17 -0700 (PDT) Subject: [ANN] OpenOpt Suite release 0.33 Message-ID: <93ce0d71-f1ff-43a4-b492-f13f824d1a6e@d12g2000vbz.googlegroups.com> Hi all, I'm glad to inform you about new release 0.33 of our completely free (license: BSD) cross-platform software: OpenOpt: * cplex has been connected * New global solver interalg with guarantied precision, competitor to LGO, BARON, MATLAB's intsolver and Direct (also can work in inexact mode) * New solver amsg2p for unconstrained medium-scaled NLP and NSP FuncDesigner: * Essential speedup for automatic differentiation when vector- variables are involved, for both dense and sparse cases * Solving MINLP became available * Add uncertainty analysis * Add interval analysis * Now you can solve systems of equations with automatic determination is the system linear or nonlinear (subjected to given set of free or fixed variables) * FD Funcs min and max can work on lists of oofuns * Bugfix for sparse SLE (system of linear equations), that slowed down computation time and demanded more memory * New oofuns angle, cross * Using OpenOpt result(oovars) is available, also, start points with oovars() now can be assigned easier SpaceFuncs (2D, 3D, N-dimensional geometric package with abilities for parametrized calculations, solving systems of geometric equations and numerical optimization with automatic differentiation): * Some bugfixes DerApproximator: * Adjusted with some changes in FuncDesigner For more details visit our site http://openopt.org. Regards, Dmitrey. From pychess at gmail.com Sat Mar 19 04:07:26 2011 From: pychess at gmail.com (pychess at gmail.com) Date: Fri, 18 Mar 2011 20:07:26 -0700 (PDT) Subject: [ANNOUNCE] PyChess Staunton 0.10 Message-ID: <4d841dee.2548960a.0665.568f@mx.google.com> ======================================== Announcement for PyChess Staunton 0.10 ======================================== We have had a lot of last minute fixes since the release candidate. A few of them for bugs that have been around a long time. In particular there has been a lot of stabilization of CECP and UCI, so they should now work with an even wider set of engines. You can even run windows engines through wine. Another important addition to our project is our new website at pychess.org. The website has a good introduction to the client and the community, and in the future it will hopefully be filled with chess related functionality. Sharing your games online could be a great such future. The main new features of the release are still: * Support for chess variants, PyChess now allows you to play Fischer Random with your majors huffled, to play Losers chess with being mated as your goal, or simply playing odds chess as an additional way of giving a player a handicap. * On-line play which has been enhanced with chat support. Besides chatting with your opponent, the FICS community has several channels, in which you can discuss chess and varies of other topics. * The FICS support has also been improved with built-in Timeseal support. This helps to terminate lag, and is especially helpful in very fast games, like bullet chess. * If you prefer to play off-line, PyChess now lets you choose from eight different play-strengths. The built in PyChess engine has as well been extended 'in both extremes' now making many more human like mistakes in the easy mode, and playing at more than double strength in the hard mode, utilizing end game tables. * UI-wise, PyChess takes use of a new pure-python docking widget, which lets you rearrange the sidepanels by wish. I would really like to thank everyone who have helped to move Staunton forward to a release, and I hope our next release - PyChess Anderssen 1.0 - will be out on a slightly shorter cycle. Please help spread the news of the release to users around the world, And if you notice that the translation for your language isn't fully updated, head to Rosetta now, and we'll fix it in the 0.10.1 release. Changelog list in http://code.google.com/p/pychess/wiki/StauntonRelease ======================================== About PyChess ======================================== PyChess is a swift chess client originally developed for Gnome, but running well under any other linux desktops. As far as we know of. PyChess is pure, delicious Python code, from the top of the UI to the bottom of the chess engine, and all under GNU General Public License for you to hack and enjoy. The goal of PyChess is to provide an advanced chess client for Linux, and do that with a nice and efficient user interface in line with the Gnome Human Interface Guidelines. The client should be fun and exciting to those new to chess - who just want to play a short games to procrastinate their work - as well as those who want to utilize their computer for further enhancing their play. Very briefly, the following gives a picture of how far we have come. Rest assured that there is much more to come. * PyChess lets you play against lots of chess engines in the CECP and UCI formats in many different difficulties. The easiest one being actually easy and making many human like mistakes. * If you like to play against others of the human species, PyChess supports online play on the FICS servers. It's a whole big chess community with options to chat, challenge and observe games of great players. * You can easily save and open games from the standard PGN, EPD and FEN chess file formats for later continuation or analysis. You can even export a large set of games to a sheet of chess diagrams in the Chess Alpha font. * If tend to make mistakes while playing, you'll be happy to know, that PyChess lets you undo in a click. If you need to go for lunch, you can pause the game at any time. * When you are in lack of inspiration, PyChess offers an opening book and so called hint and spy modes, which shows you what the computer would do in your place, and what it would do if you opponent could move just now. * Further, PyChess offers a rich and while simple interface, with sound, animation and Human Interface as first class citizens. Happy playing, PyChess team Homepage: http://pychess.org Downloads: http://pychess.org/downloads Screenshots: http://pychess.org/about Project page: http://code.google.com/p/pychess Bug list: http://code.google.com/p/pychess/issues/list Mailing list: http://groups.google.com/group/pychess-people From greg.ewing at canterbury.ac.nz Sat Mar 19 06:31:03 2011 From: greg.ewing at canterbury.ac.nz (Greg Ewing) Date: Sat, 19 Mar 2011 18:31:03 +1300 Subject: ANN: PyGUI 2.4 Message-ID: <4D843F97.1010008@canterbury.ac.nz> PyGUI 2.4 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ Highlights of this release: * Python 3 Compatible on MacOSX and Windows. * ScrollableView has been overhauled on Windows and should now work with all builds of pywin32 as far as I know. What is PyGUI? -------------- PyGUI is a cross-platform GUI toolkit designed to be lightweight and have a highly Pythonic API. -- Gregory Ewing greg.ewing at canterbury.ac.nz http://www.cosc.canterbury.ac.nz/greg.ewing/ From anthony.tuininga at gmail.com Sun Mar 20 00:52:04 2011 From: anthony.tuininga at gmail.com (Anthony Tuininga) Date: Sat, 19 Mar 2011 17:52:04 -0600 Subject: cx_Freeze 4.2.3 Message-ID: What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables in much the same way that py2exe and py2app do. Unlike these two tools, however, cx_Freeze is cross platform and should work on any platform that Python itself works on. Where do I get it? http://cx-freeze.sourceforge.net What's new? 1) Added support for Python 3.2. 2) Added hook for datetime module which implicitly imports the time module. 3) Fixed hook for tkinter in Python 3.x. 4) Always include the zlib module since the zipimport module requires it, even when compression is not taking place. 5) Added sample for a tkinter application. From g.rodola at gmail.com Sun Mar 20 22:42:04 2011 From: g.rodola at gmail.com (=?ISO-8859-1?Q?Giampaolo_Rodol=E0?=) Date: Sun, 20 Mar 2011 22:42:04 +0100 Subject: ANN: psutil (python process utilities) 0.2.1 released Message-ID: Hi, I'm pleased to announce the 0.2.1 release of psutil: http://code.google.com/p/psutil === About === psutil is a module providing an interface for retrieving information on running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by command line tools like ps, top, kill, lsof and netstat. It currently supports Linux, Windows, OS X and FreeBSD both 32-bit and 64-bit with Python versions from 2.4 to 3.2 by using a unique code base. === Major enhancements === * per-process I/O counters * per-process wait() (wait for process to terminate and return its exit code) * per-process get_threads() returning information (id, user and kernel times) about threads opened by process. * per-process real, effective and saved user and group ids. * per-process get and set niceness (priority) * per-process status * per-process I/O nice (priority) - Linux only * psutil.Popen class which tidies up subprocess.Popen and psutil.Process in a unique interface. * system boot time === New features by example === >>> p = psutil.Process(7055) >>> p.name 'python' >>> >>> str(p.status) 'running' >>> >>> p.uids user(real=1000, effective=1000, saved=1000) >>> p.gids group(real=1000, effective=1000, saved=1000) >>> >>> p.nice 0 >>> p.nice = 10 # set/change process priority >>> p.nice 10 >>> >>> p.get_ionice() ionice(ioclass=0, value=0) >>> p.set_ionice(psutil.IOPRIO_CLASS_IDLE) # change process I/O priority >>> p.get_ionice() ionice(ioclass=3, value=0) >>> >>> p.get_io_counters() io(read_count=478001, write_count=59371, read_bytes=700416, write_bytes=69632) >>> >>> p.get_threads() [thread(id=5234, user_time=22.5, system_time=9.2891), thread(id=5235, user_time=0.0, system_time=0.0), thread(id=5236, user_time=0.0, system_time=0.0), thread(id=5237, user_time=0.0707, system_time=1.2)] >>> >>> p.terminate() >>> p.wait(timeout=3) 0 >>> = new subprocess interface = >>> import psutil >>> from subprocess import PIPE >>> p = psutil.Popen(["/usr/bin/python", "-c", "print 'hi'"], stdout=PIPE) >>> p.name 'python' >>> p.uids user(real=1000, effective=1000, saved=1000) >>> p.username 'giampaolo' >>> p.communicate() ('hi\n', None) >>> p.terminate() >>> p.wait(timeout=2) 0 >>> === Links === * Home page: http://code.google.com/p/psutil * Mailing list: http://groups.google.com/group/psutil/topics * Source tarball: http://psutil.googlecode.com/files/psutil-0.2.1.tar.gz * Api Reference: http://code.google.com/p/psutil/wiki/Documentation --- Giampaolo Rodola' http://code.google.com/p/pyftpdlib http://code.google.com/p/psutil/ From anthony.tuininga at gmail.com Mon Mar 21 14:38:32 2011 From: anthony.tuininga at gmail.com (Anthony Tuininga) Date: Mon, 21 Mar 2011 07:38:32 -0600 Subject: cx_Oracle 5.1 Message-ID: What is cx_Oracle? cx_Oracle is a Python extension module that allows access to Oracle and conforms to the Python database API 2.0 specifications with a few exceptions. Where do I get it? http://cx-oracle.sourceforge.net What's new? 1) Remove support for UNICODE mode and permit Unicode to be passed through everywhere a string may be passed in. This means that strings will be passed through to Oracle using the value of the NLS_LANG environment variable in Python 3.x as well. Doing this eliminated a bunch of problems that were discovered by using UNICODE mode and also removed an unnecessary restriction in Python 2.x that Unicode could not be used in connect strings or SQL statements, for example. 2) Added support for creating an empty object variable via a named type, the first step to adding full object support. 3) Added support for Python 3.2. 4) Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the patch. 5) Clear up potential problems when calling cursor.close() ahead of the cursor being freed by going out of scope. 6) Avoid compilation difficulties on AIX5 as OCIPing does not appear to be available on that platform under Oracle 10g Release 2. Thanks to Pierre-Yves Fontaniere for the patch. 7) Free temporary LOBs prior to each fetch in order to avoid leaking them. Thanks to Uwe Hoffmann for the initial patch. From tomerfiliba at gmail.com Mon Mar 21 18:32:14 2011 From: tomerfiliba at gmail.com (Tomer Filiba) Date: Mon, 21 Mar 2011 10:32:14 -0700 (PDT) Subject: ANN: RPyC v3.1.0 Message-ID: <0e0c1f2d-def1-4b70-8017-f645665d348e@glegroupsg2000goo.googlegroups.com> RPyC, or Remote Python Call, is a transparent and symmetrical python library for remote procedure calls, clustering and distributed-computing. RPyC makes use of object-proxying, a technique that employs python's dynamic nature, to overcome the physical boundaries between processes and computers, so that remote objects can be manipulated as if they were local. This version brings new features, better conventions, lots of bug fixes, and is compatible with many versions of python (CPython 2.4-2.7, IronPython and Jython) Site: http://rpyc.wikidot.com Release notes: http://rpyc.wikidot.com/release-notes Download: http://sourceforge.net/projects/rpyc/files/main/3.1.0/ Repository: http://github.com/tomerfiliba/rpyc From fuzzyman at gmail.com Tue Mar 22 02:20:59 2011 From: fuzzyman at gmail.com (Fuzzyman) Date: Mon, 21 Mar 2011 18:20:59 -0700 (PDT) Subject: ANN: mock 0.7.0 final release Message-ID: <66e318bd-5266-49d7-bd8a-f9cc1184a9b5@f18g2000yqd.googlegroups.com> Yay for conference driven development, I got the final release of mock 0.7.0 done in time for PyCon. No api changes since the release candidate. The only changes are documentation improvements (double yay!) * 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) At PyCon I gave a talk on mock. It was an intro talk on how to use mock and why you should use it, but also covered some of the shiny new features in 0.7.0. The video of the talk is up (thanks to the PyCon video team): * PyCon Video: Testing with mock https://blip.tv/file/4881513 Here's the release announcement for mock 0.7.0 final. 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. The big change since 0.7.0 rc 1 is documentation changes including a stylish new Sphinx theme. https://github.com/coordt/ADCtheme/ Three new pages particularly worth looking at are: * Mocking Magic Methods http://www.voidspace.org.uk/python/mock/magicmock.html * Further examples of mock http://www.voidspace.org.uk/python/mock/examples.html * Comparison with other mock frameworks http://www.voidspace.org.uk/python/mock/compare.html The full set of changes since 0.6.0 are: http://www.voidspace.org.uk/python/mock/changelog.html#version-0-7-0 * Python 3 compatibility * Ability to mock magic methods with `Mock` and addition of `MagicMock` with pre-created magic methods * Addition of `mocksignature` and `mocksignature` argument to `patch` and `patch.object` * Addition of `patch.dict` for changing dictionaries during a test * Ability to use `patch`, `patch.object` and `patch.dict` as class decorators * Renamed ``patch_object`` to `patch.object` (``patch_object`` is deprecated) * Addition of soft comparisons: `call_args`, `call_args_list` and `method_calls` now return tuple-like objects which compare equal even when empty args or kwargs are skipped * patchers (`patch`, `patch.object` and `patch.dict`) have start and stop methods * Addition of `assert_called_once_with` method * Mocks can now be named (`name` argument to constructor) and the name is used in the repr * repr of a mock with a spec includes the class name of the spec * `assert_called_with` works with `python -OO` * New `spec_set` keyword argument to `Mock` and `patch`. If used, attempting to *set* an attribute on a mock not on the spec will raise an `AttributeError` * Mocks created with a spec can now pass `isinstance` tests (`__class__` returns the type of the spec) * Added docstrings to all objects * Improved failure message for `Mock.assert_called_with` when the mock has not been called at all * 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: mocks are now copyable (thanks to Ned Batchelder for reporting and diagnosing this) * BUGFIX: `spec=True` works with old style classes * BUGFIX: ``help(mock)`` works now (on the module). Can no longer use ``__bases__`` as a valid sentinel name (thanks to Stephen Emslie for reporting and diagnosing this) * BUGFIX: ``side_effect`` now works with ``BaseException`` exceptions like ``KeyboardInterrupt`` * BUGFIX: `reset_mock` caused infinite recursion when a mock is set as its own return value * BUGFIX: patching the same object twice now restores the patches correctly * with statement tests now skipped on Python 2.4 * Tests require unittest2 (or unittest2-py3k) to run * Tested with `tox `_ on Python 2.4 - 3.2, jython and pypy (excluding 3.0) * Added 'build_sphinx' command to setup.py (requires setuptools or distribute) Thanks to Florian Bauer * Switched from subversion to mercurial for source code control * `Konrad Delong `_ added as co-maintainer From phd at phdru.name Tue Mar 22 17:42:01 2011 From: phd at phdru.name (Oleg Broytman) Date: Tue, 22 Mar 2011 19:42:01 +0300 Subject: SQLObject 0.15.1 Message-ID: <20110322164201.GB13093@iskra.aviel.ru> Hello! I'm pleased to announce version 0.15.1, a bugfix release of branch 0.15 of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.15.1 News and changes: http://sqlobject.org/News.html What's New ========== * A bug was fixed in MSSQLConnection. * A minor bug was fixed in sqlbuilder.Union. For a more complete list, please see the news: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phdru.name/ phd at phdru.name Programmers don't die, they just GOSUB without RETURN. From amenity at enthought.com Wed Mar 23 13:56:17 2011 From: amenity at enthought.com (Amenity Applewhite) Date: Wed, 23 Mar 2011 07:56:17 -0500 Subject: SciPy 2011 Call for Papers Message-ID: Hello, SciPy 2011 , the 10th Python in Science conference, will be held July 11 - 16, 2011, in Austin, TX. At this conference, novel applications and breakthroughs made in the pursuit of science using Python are presented. Attended by leading figures from both academia and industry, it is an excellent opportunity to experience the cutting edge of scientific software development. The conference is preceded by two days of tutorials, during which community experts provide training on several scientific Python packages. *We'd like to invite you to consider presenting at SciPy 2011.* The list of topics that are appropriate for the conference includes (but is not limited to): * new Python libraries for science and engineering; * applications of Python to the solution of scientific or computational problems; * high performance, parallel and GPU computing with Python; * use of Python in science education. *Specialized Tracks* This year we also have two specialized tracks. They will be run concurrent to the main conference. *Python in Data Science Chair: Peter Wang, Streamitive, Inc.* This track focuses on the advantages and challenges of applying Python in the emerging field of "data science". This includes a breadth of technologies, from wrangling realtime data streams from the social web, to machine learning and semantic analysis, to workflow and repository management for large datasets. *Python and Core Technologies Chair: Anthony Scopatz, Enthought, Inc.* In an effort to broaden the scope of SciPy and to engage the larger community of software developers, we are pleased to introduce the _Python & Core Technologies_ track. Talks will cover subjects that are not directly related to science and engineering, yet nonetheless affect scientific computing. Proposals on the Python language, visualization toolkits, web frameworks, education, and other topics are appropriate for this session. *Talk/Paper Submission* We invite you to take part by submitting a talk abstract on the conference website at: http://conference.scipy.org/scipy2011/papers.php Papers are included in the peer-reviewed conference proceedings, to be published online. *Important dates for authors:* Friday, April 15: Tutorial proposals due (remember: stipends will be provided for Tutorial instructors) http://conference.scipy.org/scipy2011/tutorials.php Sunday, April 24: Paper abstracts due Sunday, May 8: Student sponsorship request due http://conference.scipy.org/scipy2011/student.php Tuesday, May 10: Accepted talks announced Monday, May 16: Student sponsorships announced Monday, May 23: Early Registration ends Sunday, June 20: Papers due Monday-Tuesday, July 11 - 12: Tutorials Wednesday-Thursday, July 13 - July 14: Conference Friday-Saturday, July 15 - July 16: Sprints The SciPy 2011 Team @SciPy2011 http://twitter.com/SciPy2011 _________________________ Amenity Applewhite Enthought, Inc. Scientific Computing Solutions From doug.hellmann at gmail.com Thu Mar 24 14:58:30 2011 From: doug.hellmann at gmail.com (Doug Hellmann) Date: Thu, 24 Mar 2011 09:58:30 -0400 Subject: New blog from python-dev Message-ID: Python Insider (http://blog.python.org/) is a new blog from the Python core development team. It will provide a way for people who don't follow the mailing list to get an overview of topics discussed there, and especially to learn about changes in store for Python. We will be writing about Python-Dev activities such as the recently completed migration to Mercurial hosting, newly approved Python Enhancement Proposals (PEPs), API changes, and other major efforts going on in Python core development. Think of this blog as your window into the evolution of Python. There are a variety of ways to subscribe, including email and Twitter. The details and links are in the welcome message for the blog (http://blog.python.org/2011/03/welcome-to-python-insider.html). Doug -- Doug Hellmann Communications Director Python Software Foundation http://python.org/psf/ From cimrman3 at ntc.zcu.cz Thu Mar 24 15:03:11 2011 From: cimrman3 at ntc.zcu.cz (Robert Cimrman) Date: Thu, 24 Mar 2011 15:03:11 +0100 (CET) Subject: ANN: SfePy 2011.1 Message-ID: I am pleased to announce release 2011.1 of SfePy. Description ----------- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by the finite element method. The code is based on NumPy and SciPy packages. It is distributed under the new BSD license. Home page: http://sfepy.org Mailing lists, issue tracking: http://code.google.com/p/sfepy/ Git (source) repository: http://github.com/sfepy Documentation: http://docs.sfepy.org/doc Highlights of this release -------------------------- - discontinuous approximations - user-defined material nonlinearities - improved surface approximations - speed-up mesh reading - extensive clean-up - less code For more information on this release, see http://sfepy.googlecode.com/svn/web/releases/2011.1_RELEASE_NOTES.txt (full release notes, rather long and technical). Best regards, Robert Cimrman and Contributors (*) (*) Contributors to this release (alphabetical order): Vladim?r Luke?, Andre Smit, Logan Sorenson From elic at astllc.org Fri Mar 25 21:55:32 2011 From: elic at astllc.org (Eli Collins) Date: Fri, 25 Mar 2011 13:55:32 -0700 (PDT) Subject: [ANNOUNCE] Passlib 1.3 - a password hashing library for python Message-ID: <72ba665e-6f75-45f5-aac5-9ffbcb0377b8@glegroupsg2000goo.googlegroups.com> I'm pleased to announce the first public release of Passlib, a small password hashing library. Initially developed to handle password hashing for various multiuser applications, it has expanded to support a wide range of password hash algorithms, as well as tools aiding applications in migrating existing password hashes. Other features include: * Support for over 20 common password hashing algorithms, with complete format & algorithm documentation. * 95% complete unit test coverage * Pure python, os-independant * BSD licensed Passlib Homepage http://code.google.com/p/passlib/ Passlib Documentation http://packages.python.org/passlib Passlib @ PyPI http://pypi.python.org/pypi/passlib - Eli Collins From emilie.balland at inria.fr Sat Mar 26 09:46:14 2011 From: emilie.balland at inria.fr (Emilie Balland) Date: Sat, 26 Mar 2011 09:46:14 +0100 (CET) Subject: Call for Papers: Conference on Domain-Specific Languages (DSL 2011) In-Reply-To: <1479782227.72433.1301125055382.JavaMail.root@zmbs1.inria.fr> Message-ID: <636095614.72635.1301129174470.JavaMail.root@zmbs1.inria.fr> ============================ Call for Papers ============================ DSL 2011: Conference on Domain-Specific Languages (IFIP sponsorship pending approval) 6-8 September 2011, Bordeaux, France http://dsl2011.bordeaux.inria.fr/ CALL FOR PAPERS Domain-specific languages have long been a popular way to shorten the distance from ideas to products in software engineering. On one hand, the interface of a DSL lets domain experts express high-level concepts succinctly in familiar notation, such as grammars for text or scripts for animation, and often provides guarantees and tools that take advantage of the specifics of the domain to help write and maintain these particular programs. On the other hand, the implementation of a DSL can automate many tasks traditionally performed by a few experts to turn a specification into an executable, thus making this expertise available widely. Overall, a DSL thus mediates a collaboration between its users and implementers that results in software that is more usable, more portable, more reliable, and more understandable. These benefits of DSLs have been delivered in domains old and new, such as signal processing, data mining, and Web scripting. Widely known examples of DSLs include Matlab, Verilog, SQL, LINQ, HTML, OpenGL, Macromedia Director, Mathematica, Maple, AutoLisp/AutoCAD, XSLT, RPM, Make, lex/yacc, LaTeX, PostScript, and Excel. Despite these successes, the adoption of DSLs have been stunted by the lack of general tools and principles for developing, compiling, and verifying domain-specific programs. General support for building and using DSLs is thus urgently needed. Languages that straddle the line between the domain-specific and the general-purpose, such as Perl, Tcl/Tk, and JavaScript, suggest that such support be based on modern notions of language design and software engineering. The goal of this conference, following the last one in 2009, is to explore how present and future DSLs can fruitfully draw from and potentially enrich these notions. We seek research papers on the theory and practice of DSLs, including but not limited to the following topics. * Foundations, including semantics, formal methods, type theory, and complexity theory * Language design, including concrete syntax, semantics, and types * Software engineering, including domain analysis, software design, and round-trip engineering * Modularity and composability of DSLs * Software processes, including metrics for software and language evaluation * Implementation, including parsing, compiling, program generation, program analysis, transformation, optimization, and parallelization * Reverse engineering, re-engineering, design discovery, automated refactoring * Hardware/software codesign * Programming environments and tools, including visual languages, debuggers, testing, and verification * Teaching DSLs and the use of DSLs in teaching * Case studies in any domain, especially the general lessons they provide for DSL design and implementation The conference will include a visit to the city of Bordeaux, a tour and tasting at the wine museum and cellar, and a banquet at La Belle ?poque. INSTRUCTIONS FOR AUTHORS Papers will be judged on the depth of their insight and the extent to which they translate specific experience into general lessons for software engineers and DSL designers and implementers. Where appropriate, papers should refer to actual languages, tools, and techniques, provide pointers to full definitions, proofs, and implementations, and include empirical results. Proceedings will be published in Electronic Proceedings in Theoretical Computer Science (http://info.eptcs.org/). Submissions and final manuscripts should be at most 25 pages in EPTCS format. IMPORTANT DATES * 2011-04-18: Abstracts due * 2011-04-25: Submissions due * 2011-06-10: Authors notified of decisions * 2011-07-11: Final manuscripts due * 2011-09-05: Distilled tutorials * 2011-09-06/2011-09-08: Main conference PROGRAM COMMITTEE * Emilie Balland (INRIA) * Olaf Chitil (University of Kent) * Zo? Drey (IRIT) * Nate Foster (Cornell University) * Mayer Goldberg (Ben-Gurion University) * Shan Shan Huang (LogicBlox) * Sam Kamin (University of Illinois at Urbana-Champaign) * Jerzy Karczmarczuk (University of Caen) * Jan Midtgaard (Aarhus University) * Keiko Nakata (Tallinn University of Technology) * Klaus Ostermann (University of Marburg) * Jeremy Siek (University of Colorado at Boulder) * Tony Sloane (Macquarie University) * Josef Svenningsson (Chalmers University of Technology) * Paul Tarau (University of North Texas) * Dana N. Xu (INRIA) ORGANIZERS Local chair: Emilie Balland (INRIA) Program chairs: Olivier Danvy (Aarhus University), Chung-chieh Shan (Rutgers University) ------------------------------------------------------------------------ From mark.dufour at gmail.com Sat Mar 26 13:55:40 2011 From: mark.dufour at gmail.com (Mark Dufour) Date: Sat, 26 Mar 2011 13:55:40 +0100 Subject: [ANN] Shed Skin 0.7.1 Message-ID: hi all, I have just released Shed Skin 0.7.1, an optimizing (restricted!) Python-to-C++ compiler. It comes with some important extension module fixes, optimizations for several builtins (zip, min, max, map, filter, reduce, pow), a warning for non-uniform tuples of length > 2 and some minor fixes and internal cleanups. There are also two nice new examples (a quantum monte carlo simulator and an rsync implementation), bringing the count to 54 example programs, for a total of around 15,000 lines of code (as measured by sloccount). Please see my blog for the full announcement: http://shed-skin.blogspot.com Or go straight to the homepage: http://shedskin.googlecode.com Please have a look at the tutorial, try it out, and file any problems in the issue tracker. I'm also always very interested in hearing about potential new programs to add to the example set! Thanks, Mark Dufour -- http://www.youtube.com/watch?v=E6LsfnBmdnk From geoff.bache at gmail.com Sat Mar 26 21:38:19 2011 From: geoff.bache at gmail.com (Geoff Bache) Date: Sat, 26 Mar 2011 21:38:19 +0100 Subject: TextTest 3.21 : blackbox testing with a Python slant Message-ID: Hi all, There's a new version of the black-box test tool TextTest out. The "Traffic interception mechanism" has split off into a new project "CaptureMock", some migration is needed Otherwise, there are six months worth of generally minor enhancements and bug fixes across the board. Regards, Geoff Bache .... TextTest is a tool for automatic text-based functional testing. This means running a batch-mode executable in lots of different ways from the command line, and using the text output produced as a means of controlling the behavior of that application. As well as being usable "standalone", it is an extendable framework for black-box testing written in Python. It's also useful as a test management tool wrapping some other test tool as a test runner. Homepage: http://www.texttest.org Download: http://sourceforge.net/projects/texttest Mailing list: https://lists.sourceforge.net/lists/listinfo/texttest-users Bugs: https://bugs.launchpad.net/texttest Source: https://code.launchpad.net/texttest From geoff.bache at gmail.com Sat Mar 26 21:41:18 2011 From: geoff.bache at gmail.com (Geoff Bache) Date: Sat, 26 Mar 2011 21:41:18 +0100 Subject: CaptureMock 0.1 - honestly not just yet another mocking framework! In-Reply-To: References: Message-ID: Hi all, I can hear the groans already that here comes Python Mocking Framework Number 15 with new and improved syntax on the other 14, but plase hear me out for a paragraph or two! I've been following the Python mocking framework discussions with interest and wondered about joining in with my own contribution, but as this one is a bit different and is trying to solve a slightly different problem I've stayed out of it so far. The problem I'm (primarily) addressing is mocking out substantial subsystems and third-party modules when doing functional tests, and being easily able to handle the situation when the mocked subsystem changes its behaviour. I've found in the past that it's easy for mocks to diverge from what the real system does, and continue to pass even when the real code will break. Where other mocking frameworks primarily focus on mocking code that you own and write yourself, CaptureMock is more about mocking out code that you don't own. Anyway, I've created a mock framework that captures interaction with any given module, attribute or function, and stores the results in a text file. Any tests using it can then either be run in record or replay mode each time they are run. An obvious setup is therefore to ordinarily use replay mode but to re-record if anything in the interaction changes. And perhaps to have a CI setup somewhere that always uses record mode and hence verifies that the integration still works. Using it doesn't really involve writing mock code like existing mock tools do. It just requires saying what you want to capture: from capturemock import capturemock @capturemock("smtplib") def test_something_sending_email(): ? ? # etc @capturemock("datetime.datetime.now") def test_some_real_time_code(): ? ? # etc @capturemock("matplotlib") def test_my_graph_stuff(): ? ? # etc For more details (including what the recorded format looks like), see http://www.texttest.org/index.php?page=capturemock and obviously install from PyPI with "pip install capturemock" or similar. Any feedback much appreciated. I've been using it for some time, it's been hardwired into my TextTest tool until now, but it should be regarded as Alpha outside that context for obvious reasons... Regards, Geoff Bache From jendrikseipp at web.de Sat Mar 26 23:03:17 2011 From: jendrikseipp at web.de (Jendrik Seipp) Date: Sat, 26 Mar 2011 23:03:17 +0100 Subject: RedNotebook 1.1.4 Message-ID: <4D8E62A5.4000607@web.de> A new RedNotebook version has been released. You can get the tarball, the Windows installer and links to distribution packages at http://rednotebook.sourceforge.net/downloads.html What is RedNotebook? -------------------- RedNotebook is a **graphical journal** and diary helping you keep track of notes and thoughts. It includes a calendar navigation, customizable templates, export functionality and word clouds. You can also format, tag and search your entries. RedNotebook is available in the repositories of most common Linux distributions and a Windows installer is available. It is written in Python and uses GTK+ for its interface. What's new? ----------- * Add "phone call" and "personal" templates * Fix: Application crashes while resetting last position (LP:728466) * Fix: Editing a category entry that contains a \\ removes the new line symbol (LP:719830) * Fix: Introductory text is not translated * Fix: Properly convert dates to unicode * When a format (bold, etc.) is applied with no text selected, add whitespace, not descriptive text * Add a tooltip for the edit button * Improve introductory text * Improve help text * Do not refer to annotations as "nodes" but as "entries" * Translate the word "Categories" in exports * In statistics window use "Selected Day" instead of "Current Day" * Cleanup GUI glade file * Many translations updated Cheers, Jendrik From quentel.pierre at wanadoo.fr Sun Mar 27 18:03:07 2011 From: quentel.pierre at wanadoo.fr (Pierre Quentel) Date: Sun, 27 Mar 2011 09:03:07 -0700 (PDT) Subject: Karrigell-4.1 : first version of the web framework for Python 3.2 Message-ID: <351a3964-4773-4ffc-b1b6-4c8e8d7e8536@n10g2000yqf.googlegroups.com> Hi, Karrigell is a web framework, that was only available for Python 2.x so far (http://www.karrigell.fr) With the cgi module now usable for Python 3 since version 3.2, a first release of Karrigell for Python 3.2 is published and can be downloaded from the project page : http://code.google.com/p/karrigell/ While the features are very similar, and the syntax not too different from the Python2 versions, the implementation is very different : - the framework is installed as a package with the standard "python setup.py install", not just unpacked in some directory - it manages applications, each of which has its own set of options (root url and directory, user and translation database, url of the login script, etc) - an application can define filters, a list of functions that are applied before the default processing by Karrigell and can for instance limit access to files, scripts or directories, according to file extensions, or the user status - for installation with Apache in CGI mode, the package includes a command line script to generate a set of scripts ready to install or upload The documentation is online at the site wiki : http://code.google.com/p/karrigell/wiki/Home Best regards, Pierre From phd at phdru.name Mon Mar 28 15:28:21 2011 From: phd at phdru.name (Oleg Broytman) Date: Mon, 28 Mar 2011 17:28:21 +0400 Subject: SQLObject 1.0.0 Message-ID: <20110328132820.GB19293@iskra.aviel.ru> Hello! I'm really happy to announce SQLObject version 1.0.0! What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/1.0.0 News and changes: http://sqlobject.org/News.html What's New ========== Features & Interface -------------------- * Major API change: DB URI parser was changed to use urllib.split*() and unquote(). This means any username/password/path are allowed in DB URIs if they are properly %-encoded, and DB URIs are automatically unquoted. * A new module ``__version__.py`` was added. New variables ``version`` (string) and ``version_info`` (5-tuple: major, minor, micro, release level, serial) are imported into ``sqlobject`` namespace. * In SQLite, id columns are made AUTOINCREMENT. * Parameter ``backend`` in DB URI is no longer supported, use parameter ``driver``. For a more complete list, please see the news: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phdru.name/ phd at phdru.name Programmers don't die, they just GOSUB without RETURN. From luis at luispedro.org Mon Mar 28 19:23:58 2011 From: luis at luispedro.org (Luis Pedro Coelho) Date: Mon, 28 Mar 2011 13:23:58 -0400 Subject: ANN Jug 0.8 : Task based python programming. Message-ID: <1301333039.2977.234.camel@oakeshott> Hello List, This is to let you know of a new release of Jug, version 0.8 final. NEW IN VERSION 0.8 Version 0.8 introduces the Taskslet, which is a light-weight task, which does not save its results to disk (or database). For more details, see http://packages.python.org/Jug/tasklets.html Many bugfixes too since the 0.8 Beta: CompoundTask works correctly now (before you had to run it twice in some situations), and so does status --cache. Some bugfixes since 0.7.4 in cleanup and sleep-until. WHAT IS JUG? Jug allows you to write code that is broken up into tasks and run different tasks on different processors (even across a cluster). Jug is a pure Python implementation and should work on any platform. LINKS *Mailing List*: http://groups.google.com/group/jug-users *Documentation*: http://packages.python.org/Jug *Code*: http://github.com/luispedro/jug *Video*: http://vimeo.com/8972696 Bug reports, suggestions, &c are welcome. On the jug-users mailing list (see link above) or by private email to me: luis at luispedro.org -- Luis Pedro Coelho | Carnegie Mellon University | http://luispedro.org From petri at digip.org Tue Mar 29 20:44:32 2011 From: petri at digip.org (Petri Lehtinen) Date: Tue, 29 Mar 2011 21:44:32 +0300 Subject: multipy -- Install multiple Python versions locally Message-ID: <20110329184432.GA3454@ihaa> I'm pleased to announce multipy, a shell utility that helps you install and manage multiple local Python installations. It's available at https://github.com/akheron/multipy It downloads source tarballs for the newest version of any Python X.Y, compiles the source, and installs everything under a single directory hierarchy. By default, the install location is ~/multipy. distribute is also installed along with each Python version, as well as an activate script (in the spirit of virtualenv) for easier shell integration. multipy is a single shell script. It requires a POSIX compliant shell, wget, tar and gzip to download and extract source tarballs, and a compiler, development headers and libraries to compile Python. No existing Python installation is required. multipy should work on any Unix-like system that Python can be compiled on. Python versions 2.4 and up can be installed (including all 3.x releases). Usage examples: Install Python 2.7 and 3.2: $ multipy install 2.7 3.2 Install all supported Python versions (2.4 and up): $ multipy install all List installed Python versions: $ multipy list Remove Python 2.7: $ multipy remove 2.7 Use a custom installation directory: $ multipy -b /path/to/somewhere install 3.2 Tweak PATH to "activate" the local Python 2.5: $ . $(multipy activate 2.5) After this, e.g. python and easy_install can be used without an absolute path. To leave this mode, use deactivate. Regards, Petri Lehtinen From jyrki.pulliainen at gmail.com Thu Mar 31 10:15:38 2011 From: jyrki.pulliainen at gmail.com (Jyrki Pulliainen) Date: Thu, 31 Mar 2011 11:15:38 +0300 Subject: ANN: trombi 0.9.0 Message-ID: Announcing Trombi version 0.9.0 Trombi is an asynchronous CouchDB client for Tornado, the asynchronous web server by Facebook. Version 0.9.0 brings following changes: Views: * Add support for querying _all_docs (Thanks Jeremy Kelley) * Add support for bulk_docs * Add support for changes feed * Introduce Paginator for paginating results (thanks Jarrod Baumann) Documents: * Drop support for Document._as_dict, which was deprecated in 0.8 Other: * Improve error handling in various places * Support Tornado's SimpleHTTPClient * Various bug fixes Trombi is available at PyPI: http://pypi.python.org/pypi/trombi/0.9.0 Sources and issue tracker are available in Github: https://github.com/inoi/trombi Documentation for 0.9.0 is available at: https://github.com/inoi/trombi Cheers, Jyrki Pulliainen From sandro at e-den.it Thu Mar 31 15:12:38 2011 From: sandro at e-den.it (sandro) Date: Thu, 31 Mar 2011 13:12:38 GMT Subject: ANNOUNCE: sqlkit 0.9.3.2 Message-ID: ANNOUNCE: sqlkit 0.9.3.2 March, 31 - 2011 I'm happy to announce release 0.9.3.1 of sqlkit package for Python. http://sqlkit.argolinux.org/ This release ------------ An option as been added to sqledit to create tables if the model is provided. Mask Sqlwidget now automatically switches to a multicolumn layout if no layout is provided and many fields are to be displayed. The setup now creates a sqledit executable for Windows as well The python package ------------------ SQLkit PyGtk package provides Mask and Table widgets to edit database data. It's meant as a base for database desktop applications. The application --------------- It also provides 'sqledit' a PyGTK application based on sqlkit that can be used from command line to browse and edit data. The package has 2 very rich demo suites for sql widgets (the main one in sqlkit/demo/sql/demo.py) and for layout creation Translations ------------ If you like sqlkit and want to help translating, you may find the project on: https://launchpad.net/sqlkit Main features of sqlkit: ------------------------ * editor of databases in 2 modes: table & mask * based on sqlalchemy: can cope with many different databases * very powerfull filtering capabilities: - each field can be used to filter records - filter may span relationship - date filtering possible also on relative basis (good for saved queries) * completion on all text field and foreign keys * very easy way to draw a layout for mask views * completely effortless editing of relationships * very easy way to set defaults * possibility to display totals of numeric fields * any possible sql constraint can be attached to a Mask or a Table. It can be expressed as a normal sqlalchemy query or with django-like syntax * sqledit: the application to edit db Sqlkit is based on: ------------------- * python (>= 2.5) * PyGtk * Sqlalchemy (>= 0.5.4) * python-dateutil * babel (localization) * you db driver of choice Dowload & more: --------------- * Download: http://sqlkit.argolinux.org/misc/download.html easy_install sqlkit * Source: hg clone http://hg.argolinux.org/py/sqlkit * Google Group: http://groups.google.it/group/sqlkit/ * Translation: https://launchpad.net/sqlkit * Tutorial: http://sqlkit.argolinux.org/misc/tutorials.html * Changelog: http://sqlkit.argolinux.org/download/Changelog * License: GNU GPLv3 From palla74 at gmail.com Thu Mar 31 15:33:44 2011 From: palla74 at gmail.com (Palla) Date: Thu, 31 Mar 2011 15:33:44 +0200 Subject: EuroPython 2011: call for paper is ending - Please spread the word Message-ID: Hi everyone, I'm Francesco and I am writing on behalf of "Python Italia APS", a no-profit association promoting EuroPython conference. (www.europython.eu) Europython End of Call for Presentations is April 6th. I'd like to ask to you to forward this mail to anyone that you feel may be interested. We're looking for proposals on every aspects of Python: programming from novice to advanced levels, applications and frameworks, or how you have been involved in introducing Python into your organisation. **First-time speakers are especially welcome**; EuroPython is 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! Presenting at EuroPython ------------------------ We will accept a broad range of presentations, from reports on academic and commercial projects to tutorials and case studies. As long as the presentation is interesting and potentially useful to the Python community, it will be considered for inclusion in the programme. Can you show the conference-goers something new and useful? Can you show attendees how to: use a module? Explore a Python language feature? Package an application? If so, consider submitting a talk. Talks and hands-on trainings ---------------------------- There are two different kind of presentations that you can give as a speaker at EuroPython: * **Regular talk**. These are standard "talk with slides", allocated in slots of 45, 60 or 90 minutes, depending on your preference and scheduling constraints. A Q&A session is held at the end of the talk. * **Hands-on training**. These are advanced training sessions for a smaller audience (10-20 people), to dive into the subject with all details. These sessions are 4-hours long, and audience will be strongly encouraged to bring a laptop to experiment. They should be prepared with less slides and more source code. If possible, trainers will also give a short "teaser talk" of 30 minutes the day before the training, to tease delegates into attending the training. In the talk submission form, we assume that you intend to give a regular talk on the subject, but you will be asked if you are available for also doing a hands-on training on the very same subject. Speakers that will give a hands-on training are rewarded with a **free entrance** to EuroPython to compensate for the longer preparation required, and might also be eligible for a speaking fee (which we cannot confirm at the moment). Topics and goals ---------------- Specific topics for EuroPython presentations include, but are not limited to: - Core Python - Other implementations: Jython, IronPython, PyPy, and Stackless - Python libraries and extensions - Python 3.x migration - Databases - Documentation - GUI Programming - Game Programming - Network Programming - Open Source Python projects - Packaging Issues - Programming Tools - Project Best Practices - Embedding and Extending - Science and Math - Web-based Systems Presentation goals usually are some of the following: - Introduce audience to a new topic they are unaware of - Introduce audience to new developments on a well-known topic - Show audience real-world usage scenarios for a specific topic (case study) - Dig into advanced and relatively-unknown details on a topic - Compare different options in the market on a topic Community-based talk voting --------------------------- This year, for the first time in EuroPython history, the talk voting process is fully public. Every partecipant gains the right to vote for talks submitted during the Call For Papers, as soon as they commit to their presence at the conference by buying a ticket. See all the details in the talk voting[1] page. Contacts -------- For any further question, feel free to contact the organizers at info at pycon.it. Thank you! [1]: http://ep2011.europython.eu/talk-voting -- ->PALLA