Hey all,
i just released tox-1.1, the virtualenv/test/CI automation tool.
See here for general information and install info:
http://codespeak.net/~hpk/tox
or
http://tox.readthedocs.org
(which is missing some navigation links at time of sending email)
The release incorporates a number of bug fixes and an enhanced work
flow: repeatedly calling tox without increasing version numbers now
works (by calling pip -U --nodeps).
With this release i consider tox pretty stable and fit for general use.
best & thanks to all contributors,
holger krekel
1.1
-----------------
- fix issue5 - don't require argparse for python versions that have it
- fix issue6 - recreate virtualenv if installing dependencies failed
- fix issue3 - fix example on frontpage
- fix issue2 - warn if a test command does not come from the test
environment
- fixed/enhanced: except for initial install always call "-U
--no-deps" for installing the sdist package to ensure that a package
gets upgraded even if its version number did not change. (reported on
TIP mailing list and IRC)
- inline virtualenv.py (1.6.1) script to avoid a number of issues,
particularly failing to install python3 environents from a python2
virtualenv installation.
- rework and enhance docs for display on readthedocs.org
Welcome to the relase of pytest-2.1, a mature testing tool for Python,
supporting CPython 2.4-3.2, Jython and latest PyPy interpreters. See
the improved extensive docs (now also as PDF!) with tested examples here:
http://pytest.org/
The single biggest news about this release are **perfected assertions**
courtesy of Benjamin Peterson. You can now safely use ``assert``
statements in test modules without having to worry about side effects
or python optimization ("-OO") options. This is achieved by rewriting
assert statements in test modules upon import, using a PEP302 hook.
See http://pytest.org/assert.html#advanced-assertion-introspection for
detailed information. The work has been partly sponsored by my company,
merlinux GmbH.
For further details on bug fixes and smaller enhancements see below.
If you want to install or upgrade pytest, just type one of::
pip install -U pytest # or
easy_install -U pytest
best,
holger krekel / http://merlinux.eu
Changes between 2.0.3 and 2.1.0
----------------------------------------------
- fix issue53 call nosestyle setup functions with correct ordering
- fix issue58 and issue59: new assertion code fixes
- merge Benjamin's assertionrewrite branch: now assertions
for test modules on python 2.6 and above are done by rewriting
the AST and saving the pyc file before the test module is imported.
see doc/assert.txt for more info.
- fix issue43: improve doctests with better traceback reporting on
unexpected exceptions
- fix issue47: timing output in junitxml for test cases is now correct
- fix issue48: typo in MarkInfo repr leading to exception
- fix issue49: avoid confusing error when initizaliation partially fails
- fix issue44: env/username expansion for junitxml file path
- show releaselevel information in test runs for pypy
- reworked doc pages for better navigation and PDF generation
- report KeyboardInterrupt even if interrupted during session startup
- fix issue 35 - provide PDF doc version and download link from index page
Hi folks,
I'm pleased to announce the 0.3.0 release of psutil:
http://code.google.com/p/psutil
=== Major enhancements ===
* disk usage
* mounted disk partitions
* system per-cpu percentage utilization and times
* per-process terminal
* physical and virtual memory usage including percentage
=== New features by example ===
>>> import psutil
>>>
>>> for x in range(3):
... psutil.cpu_percent(percpu=True)
...
[4.0, 34.2]
[7.0, 8.5]
[1.2, 9.0]
>>>
>>> psutil.phymem_usage()
usage(total=4153868288, used=2854199296, free=1299668992, percent=34.6)
>>> psutil.virtmem_usage()
usage(total=2097147904, used=4096, free=2097143808, percent=0.0)
>>>
>>> psutil.get_partitions()
[partition(device='/dev/sda3', mountpoint='/', fstype='ext4'),
partition(device='/dev/sda7', mountpoint='/home', fstype='ext4')]
>>>
>>> psutil.disk_usage('/')
usage(total=21378641920, used=4809781248, free=15482871808, percent=22.5)
>>>
>>>
>>> psutil.Process(os.getpid()).terminal
'/dev/pts/0'
>>>
Also, a new examples directory showing some examples usages:
http://code.google.com/p/psutil/source/browse/#svn%2Ftrunk%2Fexamples
For a complete list of features and bug fixes see:
http://psutil.googlecode.com/svn/trunk/HISTORY
=== Links ===
* Home page: http://code.google.com/p/psutil
* Source tarball: http://psutil.googlecode.com/files/psutil-0.3.0.tar.gz
* Api Reference: http://code.google.com/p/psutil/wiki/Documentation
Please try out this new release and let me know if you experience any
problem by filing issues on the bug tracker.
Thanks in advance.
--- Giampaolo Rodola'
http://code.google.com/p/pyftpdlib/http://code.google.com/p/psutil/
ActiveState is pleased to announce ActivePython 2.5.6.10, a complete, ready-to-install binary distribution of Python 2.5.
http://www.activestate.com/activepython/downloads
What's New in ActivePython-2.5.6.10
===================================
New Features & Upgrades
-----------------------
- Upgrade to Python 2.5.6 (`release notes
<http://www.python.org/download/releases/2.5.6/NEWS.txt>`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes <http://wiki.tcl.tk/26961>`_)
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug #87783
- [Linux] Include Tcl/Tk development files (`#40`_)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Security upgrade to openssl-0.9.8r
Noteworthy Changes & Bug Fixes
------------------------------
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Renamed "python25.exe" to "python2.5.exe" (Unix like)
- [Windows] Include "python2.exe"
What is ActivePython?
=====================
ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX builds, and access to older versions are available in ActivePython Business, Enterprise and OEM editions:
http://www.activestate.com/python
ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for low-level library access, and others. The Windows distribution ships with PyWin32 -- a suite of Windows tools developed by Mark Hammond, including bindings to the Win32 API and Windows COM.
ActivePython also includes a binary package manager for Python (PyPM) that can be used to install packages much easily. For example:
C:\>pypm install numpy
[...]
C:\>python
>>> import numpy.linalg
>>>
See this page for full details:
http://docs.activestate.com/activepython/2.5/whatsincluded.html
As well, ActivePython ships with a wealth of documentation for both new and experienced Python programmers. In addition to the core Python docs, ActivePython includes the "What's New in Python" series, "Dive into Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).
An online version of the docs can be found here:
http://docs.activestate.com/activepython/2.5/
We would welcome any and all feedback to:
activepython-feedback(a)activestate.com
Please file bugs against ActivePython at:
http://bugs.activestate.com/enter_bug.cgi?product=ActivePython
Supported Platforms
===================
ActivePython is available for the following platforms:
- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)
- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
More information about the Business Edition can be found here:
http://www.activestate.com/business-edition
Custom builds are available in the Enterprise Edition:
http://www.activestate.com/enterprise-edition
Thanks, and enjoy!
The Python Team
--
Sridhar Ratnakumar
sridharr at activestate.com
ActiveState is pleased to announce ActivePython 2.6.7.20, a complete, ready-to-install binary distribution of Python 2.6.
http://www.activestate.com/activepython/downloads
What's New in ActivePythonEE-2.6.7.20
=====================================
New Features & Upgrades
-----------------------
- Upgrade to Python 2.6.7 (`release notes
<http://www.python.org/download/releases/2.6.7/NEWS.txt>`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:
- [Windows] `Bug #89474 <http://bugs.activestate.com/show_bug.cgi?id=89474>`_:
automatically expand %APPDATA%\Python\Scripts
- Bug #90382: --no-ignore option to fail immediately for missing packages
- Upgraded the following packages:
- Distribute-0.6.19
- pip-1.0.1
- virtualenv-1.6.1
Noteworthy Changes & Bug Fixes
------------------------------
- PyPM:
- Upgrade to six 1.0.0
- Bug #89540: `uninstall` command now properly removes symlinks
- Bug #89648: shebang fixer skips symlinks
What is ActivePython?
=====================
ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX builds, and access to older versions are available in ActivePython Business, Enterprise and OEM editions:
http://www.activestate.com/python
ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for low-level library access, and others. The Windows distribution ships with PyWin32 -- a suite of Windows tools developed by Mark Hammond, including bindings to the Win32 API and Windows COM.
ActivePython also includes a binary package manager for Python (PyPM) that can be used to install packages much easily. For example:
C:\>pypm install numpy
[...]
C:\>python
>>> import numpy.linalg
>>>
See this page for full details:
http://docs.activestate.com/activepython/2.6/whatsincluded.html
As well, ActivePython ships with a wealth of documentation for both new and experienced Python programmers. In addition to the core Python docs, ActivePython includes the "What's New in Python" series, "Dive into Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).
An online version of the docs can be found here:
http://docs.activestate.com/activepython/2.6/
We would welcome any and all feedback to:
activepython-feedback(a)activestate.com
Please file bugs against ActivePython at:
http://bugs.activestate.com/enter_bug.cgi?product=ActivePython
Supported Platforms
===================
ActivePython is available for the following platforms:
- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)
- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
More information about the Business Edition can be found here:
http://www.activestate.com/business-edition
Custom builds are available in the Enterprise Edition:
http://www.activestate.com/enterprise-edition
Thanks, and enjoy!
The Python Team
--
Sridhar Ratnakumar
sridharr at activestate.com
ActiveState is pleased to announce ActivePython 2.7.2.5, a complete, ready-to-install binary distribution of Python 2.7.
http://www.activestate.com/activepython/downloads
What's New in ActivePython-2.7.2.5
==================================
New Features & Upgrades
-----------------------
- Upgrade to Python 2.7.2 (`release notes
<http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS>`__)
- Security upgrade to openssl-0.9.8r
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:
- [Windows] `Bug #89474 <http://bugs.activestate.com/show_bug.cgi?id=89474>`_:
automatically expand %APPDATA%\Python\Scripts
- Bug #90382: --no-ignore option to fail immediately for missing packages
- Upgraded the following packages:
- Distribute-0.6.19
- pip-1.0.1
- virtualenv-1.6.1
Noteworthy Changes & Bug Fixes
------------------------------
- PyPM:
- Upgrade to six 1.0.0
- Bug #89540: `uninstall` command now properly removes symlinks
- Bug #89648: shebang fixer skips symlinks
- Include SQLAlchemy in the private area (pypm/external/{2,3}/sqlalchemy)
What is ActivePython?
=====================
ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX builds, and access to older versions are available in ActivePython Business, Enterprise and OEM editions:
http://www.activestate.com/python
ActivePython includes the Python core and the many core extensions: zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for low-level library access, and others. The Windows distribution ships with PyWin32 -- a suite of Windows tools developed by Mark Hammond, including bindings to the Win32 API and Windows COM.
ActivePython also includes a binary package manager for Python (PyPM) that can be used to install packages much easily. For example:
C:\>pypm install numpy
[...]
C:\>python
>>> import numpy.linalg
>>>
See this page for full details:
http://docs.activestate.com/activepython/2.7/whatsincluded.html
As well, ActivePython ships with a wealth of documentation for both new and experienced Python programmers. In addition to the core Python docs, ActivePython includes the "What's New in Python" series, "Dive into Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).
An online version of the docs can be found here:
http://docs.activestate.com/activepython/2.7/
We would welcome any and all feedback to:
activepython-feedback(a)activestate.com
Please file bugs against ActivePython at:
http://bugs.activestate.com/enter_bug.cgi?product=ActivePython
Supported Platforms
===================
ActivePython is available for the following platforms:
- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)
- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
More information about the Business Edition can be found here:
http://www.activestate.com/business-edition
Custom builds are available in the Enterprise Edition:
http://www.activestate.com/enterprise-edition
Thanks, and enjoy!
The Python Team
--
Sridhar Ratnakumar
sridharr at activestate.com
Hello,
I am pleased to announce that EPD (Enthought Python Distribution)
version 7.1 has been released. The most significant change is the
addition of an "EPD Free" version, which has its own very liberal
license, and can be downloaded and used free of any charge by
anyone (not only academics). "EPD Free" includes a subset of the
packages included in the full EPD. The highlights of this subset are:
numpy, scipy, matplotlib, traits and chaco. To see which libraries
are included in the free vs. full version, please see:
http://www.enthought.com/products/epdlibraries.php
In addition we have opened our PyPI build mirror for everyone.
This means that one can type "enpkg xyz" for 10,000+ packages.
However, there are still benefits to becoming an EPD subscriber.
http://www.enthought.com/products/getepd.php
Apart from the addition of "EPD Free", this release includes updates
to over 30 packages, including numpy, scipy, ipython and ETS.
We have also added PySide, Qt and MDP to this release. Please find the
complete list of additions, updates and bug fixes in the change log:
http://www.enthought.com/products/changelog.php
About EPD
---------
The Enthought Python Distribution (EPD) is a "kitchen-sink-included"
distribution of the Python programming language, including over 90
additional tools and libraries. The EPD bundle includes NumPy, SciPy,
IPython, 2D and 3D visualization, and many other tools.
EPD is currently available as a single-click installer for Windows XP,
Vista and 7, MacOSX (10.5 and 10.6), RedHat 3, 4 and 5, as well as
Solaris 10 (x86 and x86_64/amd64 on all platforms).
All versions of EPD (32 and 64-bit) are free for academic use. An
annual subscription including installation support is available for
individual and commercial use. Additional support options, including
customization, bug fixes and training classes are also available:
http://www.enthought.com/products/epd_sublevels.php
- Ilan
FLiP-1.2, a logical framework in Python, has been released. Code,
documentation, and downloads are available:
http://staff.washington.edu/jon/flip/www/http://pypi.python.org/pypi/FLiP/https://github.com/jon-jacky/FLiP
Version 1.2 is organized into packages and provides a distutils
install. These may make FLiP easier to use and extend. It also
includes a case study based on the "She's a witch!" scene from Monty
Python and the Holy Grail. The functionality is the same as in version
1.0, as it was announced here in July 2009:
--------
FLiP is a logical framework written in Python. A logical framework is
a library for defining logics and writing applications such as theorem
provers. One Flip application is a proof checker for entering and
editing proofs in natural deduction style. Here is some output from
the checker, generated from a Python proof script:
[(Text('~Ax.P(x) |- Ex.~P(x)'), comment),
(Not(A(x, P(x))), given),
(Not(E(x, Not(P(x)))), assume),
(New(x), new),
(Not(P(x)), assume),
(E(x, Not(P(x))), Ei, 4),
(F, contra, 5,2),
(Not(Not(P(x))), raa, 4,6),
(P(x), ne, 7),
(A(x, P(x)), Ai, 3,8),
(F, contra, 9,1),
(Not(Not(E(x, Not(P(x))))), raa, 2,10),
(E(x, Not(P(x))), ne, 11)]
The checker can use different logics; Flip comes with several. You
can add another logic, or add axioms and derived rules, by writing a
module in Python. Python is both the object language and the
metalanguage. Formulas, inference rules, and entire proofs are Python
expressions. Prover commands are Python functions. The Python
interpreter itself is the only user interface to the proof checker
application. (It is not necessary to know much Python to use the
checker.)
Flip was undertaken as a Python programming exercise. It is not
intended to compete with industrial-strength theorem provers such as
HOL nor with nicely-designed educational provers such as Jape. That
said, the checker is quite capable of working the examples and
exercises in university-level textbooks on logic for computer science
or mathematics (such as those by Kaye, Huth and Ryan, or Bornat).
Hi everyone,
We are proud to annouce the release of DEAP 0.7, a library for doing
Distributed Evolutionary Algorithms in Python.
You can download a copy of this release at the following web page.
http://deap.googlecode.com
For those who wouldn't already know about the project, it is built
around two major parts, EAP and DTM.
EAP has been built using the Python and UNIX programming philosophies
in order to provide a transparent, simple and coherent environment for
implementing your favourite evolutionary algorithms. EAP is very easy
to use even for those who do not know much about the Python
programming language. EAP uses both the object oriented and functional
programming paradigm that are provided by Python in order to make
development simple and beautiful. It also contains more than 20
illustrative and diversified examples, to help newcomers to ramp up
very quickly in using this environment.
The D part of DEAP, called DTM, is under intense development and
currently available as an alpha version (0.2). DTM provides tools to
distribute workload evenly on a cluster or LAN of workstations, based
on MPI and TCP communication managers. The load balancing is based on
a new epidemiologic model. This unique model allows unique
possibilities, like tasks spawning other tasks that can be run on any
available workers.
This release includes a lot of new examples, a cleaner API, new
features like easy statistics computation and a benchmark module, new
variation methods for finer control on algorithms, and a few bug
fixes.
Your feedback and comments are welcome at <deap-users at googlegroups
dot com>.
You can also follow us on Twitter @deapdev, and on our blog
http://deapdev.wordpress.com/
Best,
François-Michel De Rainville
Félix-Antoine Fortin
Marc-André Gardner
Christian Gagné
Marc Parizeau
Laboratoire de vision et systèmes numériques
Département de génie électrique et génie informatique
Université Laval
Quebec City (Quebec), Canada