casevh | 2 Feb 2009 07:55
Picon

ANN: gmpy 1.04 released

Everyone,

A new version of gmpy is available. gmpy is a wrapper for the GMP
multiple-precision arithmetic library. This version of gmpy also
supports the MPIR multiple-precision arithmetic library. gmpy 1.04  is
available for download from http://code.google.com/p/gmpy/

There are several new features in this release:

- Support for "rich comparisons".
- Faster conversion to/from Python longs and other formats.
- Fixed conversion of very large numbers to a string (only limited by
memory).
- Support for pickling.
- Support for divexact.
- Support for bit_length.
- Special helper functions to improve the performance of mpmath, an
arbitrary-precision floating point library written in Python, (http://
code.google.com/p/mpmath/).
- Support for MPIR, an alternative multiple-precision library based on
GMP, (http://mpir.org).
- Added fround() to round an mpf value.

WARNING!

A (possibly) significant change was made to the handling of mpf
values. GMP would frequently return more bits in a result than
requested. This led to bugs such such as mpf(1.1)*mpf(1) != mpf(1.1)
but mpf(1.1) / mpf(1) == mpf(1.1). The results of all floating point
calculations are now rounded to the requested precision. mpf
(Continue reading)

denis-bz-gg | 2 Feb 2009 15:31
Picon
Favicon

ANN: Gmatch, a tiny matcher of google-like queries

Gmatch is a tiny matcher of google-like query patterns, called
"goopat"s:

    gm = Gmatch( "color: blue - sky  size: < 100" )
    if gm.match( record ): ...
    matching_records = [rec for rec in records if gm.match( rec )]

A "record" is a dict, or namedtuple, or Dotdict,
    or anything with record.get( key ) -> value.

A "goopat" pattern is made up of the following elements, here with
examples:

    color:      a key or field name, followed by a ":" colon

    blu         words made of letters and numbers match anywhere in a
field,
                case-insensitive: blu matches Blue Blur sublunar

    blue sky    match all the words, anywhere in a field, in any
order:
                    bluesky sky-blue "frisky ... blues"

    blue - sky   blue but not sky -- put blanks around the "-"
    blue green - sky cloud   blue and green but not sky and not cloud

                Double quotes are used for:
    "key.word", "http://a-b-c.net"  names containing special
characters
    "sky blue"  sky, any amount of white space, then blue
(Continue reading)

Fabrizio Pollastri | 2 Feb 2009 20:08
Picon
Favicon

AVC 0.7.0 released

Announcing AVC 0.7.0
----------------------------
Webpage: http://avc.inrim.it/

What is AVC?
-----------------
AVC is a multiplatform, fully automatic, live connection among
graphical interface widgets and application variables for the python
language. AVC supports in a uniform way the most popular widget
toolkits: GTK+, Qt3, Qt4, Tk, wxWidgets.

New features
-----------------
* Added support for advanced widgets: list view and tree view.
* Added support for progress bar widget.

Features
-----------
* Fully transparent widget-variable connections
* Automatic connection by matching widgets and variables names
* Multiple matching namespaces
* Dynamic connections
* No design pattern, no application redesign, no widget toolkit
  dependent code, separation between application logic and GUI.
* Multiple widget toolkits support: GTK+, Qt3, Qt4, Tk, wxWidgets.
* Full compatibility and support for Glade, Qt Designer, Visual Tcl
  and wxGlade interface design tools.
* Normal widgets: button, check button, combo box, entry, label,
  progress bar, radio button, slider, spin button, status bar, text
  view/edit, toggle button.
(Continue reading)

Ted Pollari | 2 Feb 2009 22:45
Picon

Financial aid for PyCon 2009 is now available

I'm happy to announce that the Python Software Foundation has  
allocated funds to help people attend PyCon 2009!

If you would like to come to PyCon but can't afford it, the PSF may be  
able to help you pay for registration, lodging/hotel costs and  
transportation (flight etc.). Please see http://us.pycon.org/2009/registration/financial-aid/ 
  for full details, or email pycon-aid <at> python.org with questions.

--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Giles Thomas | 3 Feb 2009 20:08
Favicon

ANN: Resolver One 1.4 beta - with IronPython 2.0 and numpy

Version 1.4 of Resolver One, our Pythonic spreadsheet, uses our
Ironclad project to provide (alpha-level) support for numpy in a
IronPython application.  You can put numpy matrices in spreadsheet
cells and manipulate them like any other data - there's a 4-minute
screencast here: <http://www.resolversystems.com/screencasts/numpy/>

We're releasing the beta tomorrow: this has a few performance problems
but is otherwise functionally complete.  If you're interested in
trying it out, drop me a line.

Best regards,

Giles
--
Giles Thomas
MD & CTO, Resolver Systems Ltd.
giles.thomas <at> resolversystems.com
+44 (0) 20 7253 6372

Win up to $17,000 for a spreadsheet: <http://www.resolversystems.com/
competition/>

17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79
Registered in England and Wales as company number 5467329.
Registered address: 843 Finchley Road, London NW11 8NA, UK
--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
(Continue reading)

Lucas Taylor | 4 Feb 2009 04:55
Picon

TuPLE - (Tucson Python Language Enthusiasts) meeting Feb. 23, 2009

 TuPLE (Tucson Python Language Enthusiasts)  is having its first meeting this month. We are a new user group for Tucson and the Southern Arizona area.

Chris Merle has volunteered to give us an introduction to Plone to kick off the first meeting.

When: Monday, February 23th 2009 at 6pm
Where: Woods Memorial Library
http://www.library.pima.gov/locations/woods/

http://maps.google.com/maps?f=q&hl=en&q=3455+N.+First+Ave.+85719&ie=UTF8&ll=32.270769,-110.961142&spn=0.015531,0.043259&om=1
   3455 N. First Ave.
   Tucson, AZ 85719

Upcoming: http://upcoming.yahoo.com/event/1504843

Our group list and web presence for now: http://groups.google.com/group/TuPLEgroup/
We'll also have meeting recaps and future info available here: http://wiki.python.org/moin/TucsonPythonUserGroup


Lucas Taylor

--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html
Andrew Ziem | 4 Feb 2009 16:05
Picon
Gravatar

[ANN] BleachBit 0.3.1

BleachBit is a Internet history, locale, registry, privacy, and
temporary file cleaner for Linux on Python v2.4 - v2.6.

Notable changes for 0.3.1:
* Clean the cache and temporary files of Acrobat Reader, GIMP, Google
Earth, Second Life Viewer, and winetricks.
* Clean Firefox version 3's URL history without deleting the entire
places.sqlite file (which also contains bookmarks).
* Clean more localizations.
* Vacuum the Firefox databases (which becomes fragmented).
* Fixed bug that blocked cleaning of some localizations for some using
Ubuntu 8.04.
* Fixed bug that prevented starting BleachBit when the language was not set.
* Fixed bug that prevented cleaning of the clipboard.

Release notes
 http://bleachbit.blogspot.com/2009/02/bleachbit-031-released.html

Download
 http://bleachbit.sourceforge.net/download.php
--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

someonesdad1 | 5 Feb 2009 00:30
Picon

hcpy: a console-based simple RPN calculator

I'd like to announce an RPN calculator intended to be used in a
console.  It is based on two previous versions I wrote over the last
15 years in C and C++.  Using python and mpmath (http://
code.google.com/p/mpmath) lets it be pure-python, yet much more
powerful than I could write in the same amount of time in C/C++.  I
use this calculator for simple stuff at my computer every day, but now
it has more horsepower than previous versions for when I need that
power.

It was influenced by the common functions of the HP-42s calculator,
still my favorite hand-held calculator.

It is intended to be simple-looking and austere.  It is easily
changeable and extensible and the configuration mechanisms let you
make it work the way you want (well, within reason).  You probably
won't be interested in this calculator unless you're 1) a die-hard RPN
user and 2) a command line weenie.

It is open source and available at http://code.google.com/p/hcpy.

I have added most of the functionality I envisioned, but the existing
code is a bit of a hacked-together mess that really needs to be
refactored.  Still, I would really like some feedback on the tool, so
please feel free to submit issues or send me email with any comments.

someonesdad1 <at> gmail.com

--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Massimo Di Pierro | 5 Feb 2009 08:34
Picon

web2py 1.56 is OUT

web2py 1.56 is out, including a new web site with better documentation

     http://www.web2py.com

What is web2py?
=============

- It is the web framework used by PyCon 2009 for registration.

- It a very easy and very powerful Python web framework.

- It is fast and rock solid. It has a very clean design and it is  
strong on security.

- Includes a web based development environment, maintenance  
environment, and database
administrative interface.

- Includes a Database Abstraction Layer that works with SQLite, MySQL,  
PostgreSQL, FireBird, MSSQL, Oracle, AND the Google App Engine. The  
DAL does migrations.

- Includes a pure Python based template language with no indentation  
requirements.

- Includes jQuery, simplejson, markdown, feedparser, PyRSS2, nicEdit,  
EditArea and a lot more.

- Runs on any platform that runs python. The binary versions can even  
run off a USB drive without dependences.

- The same apps can run on a PC with Oracle or on the Google App  
Engine or on Windows Mobile, without changes, including DB API.

New features Include:
=================

- Authentication
- Authorization (Role Based Access Controller)
- CRUD
- portable url fetch function
- portable geocoding function
- PEP8 compliant
- Python 2.5 and Python 2.6 compliant
- Runs on Jython (although without db drivers)
- Runs on IronPython (although without CSV, db drivers and internal  
web-server)
- DAL shortcuts
- SQLFORM has default image preview
- new generic.html view
- more examples and documentation
- always backward compatible

Example of code (complete app)
=========================
     ## in model db.py
     from gluon.tools import *
     db=SQLDB()
     db.define_table('puppy', db.Field('name'),  
db.Field('image','upload'))
     auth=Auth(globals(),db)
     crud=Crud(flobals(),db)

     ## in controller default.py
     def user():
         " to expose register, login, logout, etc "
         return dict(form=auth())

      <at> auth.requires_login()
     def data():
          " to expose select, create, update, delete, etc "
         return dict(form=crud())

      <at> auth.requires_login()
     def download():
         " for downloading uploaded images "
         return response.download(request,db)

     ## in view default/user.html
     {{extend 'layout.html'}}
     <div>{{=form}}</div>

     ## in view default/data.html
     {{extend 'layout.html'}}
     <div>{{=form}}</div>

This complete code will allow to register, login, change password,  
upload images of puppies (with relative names), select puppies, edit  
records, read and preview images, enforce authorization, and more.

Thanks to all the contributors:
=======================

     * Attila Csipa (cron job)
     * Bill Ferrett (modular DAL design)
     * CJ Lazell (tester)
     * DenesL (validators)
     * Douglas Andrade (2.6 compliance, docstrings)
     * Francisco Gama (bug fixing)
     * Fran Boon (authorization and authentication)
     * Fred Yanowski (XHTML compliance)
     * Jonathan Benn (is_url validator and tests)
     * Jose Jachuf (Firebird support)
     * Kyle Smith (javascript)
     * Limodou (winservice)
     * Marcel Leuthi (Oracle support)
     * Mark Larsen (taskbar widget)
     * Mark Moore (databases and daemon scripts)
     * Markus Gritsch (bug fixing)
     * Martin Hufsky (expressions in DAL)
     * Mateusz Banach (stickers)
     * Michael Willis (shell)
     * Nathan Freeze (admin design)
     * Niall Sweeny (MSSQL support)
     * Niccolo Polo (epydoc)
     * Ondrej Such (MSSQL support)
     * Pai (internationalization)
     * Phyo Arkar Lwin (web hosting and Jython tester)
     * Robin Bhattacharyya (Google App Engine support)
     * Sharriff Aina (tester and PyAMF integration)
     * Sterling Hankins (tester)
     * Stuart Rackham (MSSQL support)
     * Telman Yusupov (Oracle support)
     * Timothy Farrell (python 2.6 compliance, windows support)
     * Yarko Tymciurak (design)
     * Younghyun Jo (internationalization)

--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Bart Thate | 6 Feb 2009 00:52
Picon

ANN: GOZERBOT 0.9 RELEASED

Finally gozerbot 0.9 has been released.  This is a huge step forward
to version 1.0 and contains a number of changes:

    * use json as the format to save data in instead of pickles
    * let config files also use json, this makes them more readable
and human editable
    * remove popen usage from the bot core
    * remove execfile() calls from the bot core
    * rewrite the gozerbot package into several subpackages
    * use sqlaclhemy to provide database backend (sqlite3 is default)
    * require python2.5
    * move most of the plugins into their own package
    * restructure the gozerdata layout so its more readable

All these changes makes upgrading from older versions of gozerbot
necessary so a gozerbot-upgrade program is provided (upgrading from
0.7 is not supported yet, will follow soon).

See http://gozerbot.org on how to install gozerbot 0.9

About GOZERBOT:

0.9 Requirements

    * a shell
    * python 2.5 or higher
    * gnupg
    * simplejson
    * sqlalchemy
    * xmpppy

Why gozerbot?

    * provide both IRC and Jabber support
    * user management by userhost .. bot will not respond if it
doesn't know you (see USER)
    * fleet .. use more than one bot in a program (list of bots) (see
FLEET)
    * use the bot through dcc chat
    * fetch rss feeds (see RSS)
    * remember items
    * relaying between bots (see RELAY)
    * program your own plugins (see PROGRAMPLUGIN)
    * query other bots with json REST (see CLOUD)
    * serve as a udp <-> irc or jabber notification bot (see UDP
    * sqlalchemy support

Bart
--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html


Gmane