sqlparse 0.1.12

2014-09-21 Thread Andi Albrecht
I'm happy to announce sqlparse 0.1.12.

This is a bug fix release.

Bug Fixes
* Fix handling of NULL keywords in aliased identifiers.
* Fix SerializerUnicode to split unquoted newlines (issue131, by
Michael Schuller).
* Fix handling of modulo operators without spaces (by gavinwahl).

Enhancements
* Improve parsing of identifier lists containing placeholders.
* Speed up query parsing of unquoted lines (by Michael Schuller).

Download: 
https://pypi.python.org/packages/source/s/sqlparse/sqlparse-0.1.12.tar.gz#md5=fc8de0d7c7ab3ab3ee51b89ad37aecdd

Try it online: http://sqlformat.org

Cheers,

Andi
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

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


ANN: psutil 2.1.2 released

2014-09-21 Thread Giampaolo Rodola'
Hi there folks,
I'm pleased to announce the 2.1.2 release of psutil:
https://github.com/giampaolo/psutil

About
=

psutil (python system and process utilities) is a cross-platform library
for retrieving information on running processes and system utilization
(CPU, memory, disks, network) in Python. It is useful mainly for system
monitoring, profiling and limiting process resources and management of
running processes. It implements many functionalities offered by command
line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free,
nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It
currently supports Linux, Windows, OSX, FreeBSD and Sun Solaris, both
32-bit and 64-bit architectures, with Python versions from 2.4 to 3.4. Pypi
is also known to work.

What changed
===

See detailed blog post:
http://grodola.blogspot.com/2014/09/psutil-212-python-wheels.html


Links


* Home page: https://github.com/giampaolo/psutil
* Downloads:
https://pypi.python.org/pypi?:action=display&name=psutil#downloads
* Documentation: http://pythonhosted.org/psutil/


-- 
Giampaolo - http://grodola.blogspot.com
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

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


ANN: Lea 1.3.1 released

2014-09-21 Thread Pierre Denis
Lea, discrete probability distributions in Python

=

 

I have the pleasure to announce the release of Lea 1.3.1. 



NEW: Lea now runs on Python 3 (and still on Python 2.x) !

 

Lea is a Python package that allows you to define and play with discrete

probability distributions in an intuitive way. 

Lea can model a broad range of random discrete phenomenons. Then, it

allows calculating probabilities of events, whether atomic, aggregated or 
combined through operations. A typical example is the probabilities of the
sum of N dice having known, possibly unfair, probability distributions. 

Download (PyPi)

===

  http://pypi.python.org/pypi/lea



Project page / documentation



  http://code.google.com/p/lea/

Features 

- models finite discrete probability distributions 
- standard distribution indicators (mean, standard deviation,.) 
- arithmetic and logical operators on probability distribution 
- cartesian products, conditional probabilities, joint distributions 
- generation of random samples 
- open-source project, LGPL license 

- runs on Python 2.x and 3.x
- pure Python module, lightweight - no package dependency 
- probabilities stored as rationals (no floating-point biases) 

Hoping Lea could be helpful in this uncertain universe... 

 

Pierre Denis

 

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

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


pytest-xdist-1.11: restarting crash nodes, fixture cache fix

2014-09-21 Thread holger krekel

I just released pytest-xdist-1.11, the distributed testing plugin for pytest.
It introduces automatic restarting of crashed nodes, courtesy of a 
complete PR from Floris Bruynooghe.  This also works well together with
pytest-timeout by the same author: When one or more test functions hang
or crash, the overall test run will still complete and report about the
incidents.  See the changelog below for more changes and the pypi
project page for what pytest-xdist offers in general:

https://pypi.python.org/pypi/pytest-xdist/

Thanks also to an undisclosed company who partly funded the work
and to Andreas Pelme for contributing analysis of a fixture caching
failure including a test.

best,
Holger Krekel


1.11
-

- fix pytest/xdist issue485 (also depends on py-1.4.22):
  attach stdout/stderr on --boxed processes that die.

- fix pytest/xdist issue503: make sure that a node has usually
  two items to execute to avoid scoped fixtures to be torn down
  pre-maturely (fixture teardown/setup is "nextitem" sensitive).
  Thanks to Andreas Pelme for bug analysis and failing test.

- restart crashed nodes by internally refactoring setup handling
  of nodes.  Also includes better code documentation.  
  Many thanks to Floris Bruynooghe for the complete PR.

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

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


Flake8 Development Has Moved

2014-09-21 Thread Ian Cordasco
Hi all,

Flake8 - a linting and style tool that combines pep8, pyflakes, and
mccabe - has moved its development off of BitBucket to GitLab. The
transition from Mercurial to Git was discussed and took place last
weekend. For further information please read this blog post:
http://www.coglib.com/~icordasc/blog/2014/09/flake8-in-transition.html

Cheers,
Ian Cordasco
Flake8 Maintainer and Core Developer
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

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