Ride Tab Editor 2.03 has been released. New in this version are some
minor graphics fixes, a new customizable tool menu for users code is
alpha (not quite working yet).
http://dexrowem.blogspot.com/search?q=ride+tab+editor
I am pleased to announce the availability of NumPy 1.5.0. This is the first
NumPy release to include support for Python 3, as well as for Python 2.7.
Binaries, sources, documentation and release notes can be found at
https://sourceforge.net/projects/numpy/files/.
Thank you to everyone who contributed to this release.
Enjoy,
the Numpy developers
=========================
NumPy 1.5.0 Release Notes
=========================
Highlights
==========
Python 3 compatibility
----------------------
This is the first NumPy release which is compatible with Python 3. Support
for
Python 3 and Python 2 is done from a single code base. Extensive notes on
changes can be found at
`<http://projects.scipy.org/numpy/browser/trunk/doc/Py3K.txt>`_.
Note that the Numpy testing framework relies on nose, which does not have a
Python 3 compatible release yet. A working Python 3 branch of nose can be
found
at `<http://bitbucket.org/jpellerin/nose3/>`_ however.
Porting of SciPy to Python 3 is expected to be completed soon.
:pep:`3118` compatibility
-------------------------
The new buffer protocol described by PEP 3118 is fully supported in this
version of Numpy. On Python versions >= 2.6 Numpy arrays expose the buffer
interface, and array(), asarray() and other functions accept new-style
buffers
as input.
New features
============
Warning on casting complex to real
----------------------------------
Numpy now emits a `numpy.ComplexWarning` when a complex number is cast
into a real number. For example:
>>> x = np.array([1,2,3])
>>> x[:2] = np.array([1+2j, 1-2j])
ComplexWarning: Casting complex values to real discards the imaginary
part
The cast indeed discards the imaginary part, and this may not be the
intended behavior in all cases, hence the warning. This warning can be
turned off in the standard way:
>>> import warnings
>>> warnings.simplefilter("ignore", np.ComplexWarning)
Dot method for ndarrays
-----------------------
Ndarrays now have the dot product also as a method, which allows writing
chains of matrix products as
>>> a.dot(b).dot(c)
instead of the longer alternative
>>> np.dot(a, np.dot(b, c))
linalg.slogdet function
-----------------------
The slogdet function returns the sign and logarithm of the determinant
of a matrix. Because the determinant may involve the product of many
small/large values, the result is often more accurate than that obtained
by simple multiplication.
new header
----------
The new header file ndarraytypes.h contains the symbols from
ndarrayobject.h that do not depend on the PY_ARRAY_UNIQUE_SYMBOL and
NO_IMPORT/_ARRAY macros. Broadly, these symbols are types, typedefs,
and enumerations; the array function calls are left in
ndarrayobject.h. This allows users to include array-related types and
enumerations without needing to concern themselves with the macro
expansions and their side- effects.
Changes
=======
polynomial.polynomial
---------------------
* The polyint and polyder functions now check that the specified number
integrations or derivations is a non-negative integer. The number 0 is
a valid value for both functions.
* A degree method has been added to the Polynomial class.
* A trimdeg method has been added to the Polynomial class. It operates like
truncate except that the argument is the desired degree of the result,
not the number of coefficients.
* Polynomial.fit now uses None as the default domain for the fit. The
default
Polynomial domain can be specified by using [] as the domain value.
* Weights can be used in both polyfit and Polynomial.fit
* A linspace method has been added to the Polynomial class to ease plotting.
* The polymulx function was added.
polynomial.chebyshev
--------------------
* The chebint and chebder functions now check that the specified number
integrations or derivations is a non-negative integer. The number 0 is
a valid value for both functions.
* A degree method has been added to the Chebyshev class.
* A trimdeg method has been added to the Chebyshev class. It operates like
truncate except that the argument is the desired degree of the result,
not the number of coefficients.
* Chebyshev.fit now uses None as the default domain for the fit. The default
Chebyshev domain can be specified by using [] as the domain value.
* Weights can be used in both chebfit and Chebyshev.fit
* A linspace method has been added to the Chebyshev class to ease plotting.
* The chebmulx function was added.
* Added functions for the Chebyshev points of the first and second kind.
histogram
---------
After a two years transition period, the old behavior of the histogram
function
has been phased out, and the "new" keyword has been removed.
correlate
---------
The old behavior of correlate was deprecated in 1.4.0, the new behavior (the
usual definition for cross-correlation) is now the default.
Checksums
=========
738572dd3e5d4cd89e98c76cc3f162a9
release/installers/numpy-1.5.0-py2.5-python.org.dmg
f58ebc1840974cf2ef8b4f41516dc288
release/installers/numpy-1.5.0-py2.6-python.org.dmg
d7232048392ede8d8d8fb57839cb4b91
release/installers/numpy-1.5.0-py2.7-python.org.dmg
c5130a11f920706cdc665ef1e07772e2
release/installers/numpy-1.5.0-win32-superpack-python2.5.exe
b46a52f82126ace1eb7cb627623c64dc
release/installers/numpy-1.5.0-win32-superpack-python2.6.exe
8a93c004a104f6231de4c398e2b3c48f
release/installers/numpy-1.5.0-win32-superpack-python2.7.exe
1d255b58764d465e64b7b3eee832aa9e
release/installers/numpy-1.5.0-win32-superpack-python3.1.exe
3a8bfdc434df782d647161c48943ee09 release/installers/numpy-1.5.0.tar.gz
11354c0ca15ca6f37df9589bd4f25943 release/installers/numpy-1.5.0.zip
Everyone,
I'm pleased to announce a minor update to GMPY.
GMPY is a wrapper for the MPIR or GMP multiple-
precision arithmetic library. GMPY is available
for download from:
http://code.google.com/p/gmpy/
------------------
GMPY 1.13 is the new stable release. GMPY 1.13
changes the formatting of the "mpq" rational type
to match previous versions of GMPY (prior to 1.10)
and to match Python's Fraction type. Properties
to access the numerator and denominator were
added.
Binary installers for Python 3.2 are available.
Please report any issues!
casevh
Hello world !
I just released version 0.3 of JSONBOT. JSONBOT is a remote event
driven framework for building bots that talk JSON to each other over
XMPP.
This distribution provides bots built on this framework for console,
IRC, XMPP for the shell and WWW and XMPP for the Google Application
engine.
JSONBOT 0.3 provides the following programs:
jsb - console version of jsonbot
jsb-import - import data from another bot
jsb-installplug - install remote plugins
jsb-irc - IRC version of jsonbot (socket)
jsb-xmpp - XMPP version of jsonbot (socket)
jsb-fleet - mix IRC and XMPP bots
jsb-release - create a new release directory
jsb-rollback - rollback a release
jsb-run - run a release in the GAE dev_appserver
jsb-stop - stop a running bot
jsb-upload - upload a release to the GAE
A plugin infrastructure is in place to program the functionality that
is needed.
JSONBOT 0.3 plugins:
8b - eight ball
admin - administator related commands
alias - keep aliases (per user)
ask - plugin for asking "experts" a question
choice - choice out of a list .. used in pipelines
controlchar - set the control character of a channel
forward - forward events of a channel to another bot
clone - clone waves into new ones
core - core bot commands
count - count the numbers in a result .. used in pipelines
data - provide data dumps of channels, bots, events
fleet - support multiple bots in a running instance (list of bots)
gae - provide GAE commands like flush cache or cache stats
gadget - wave gadget support
gcalc - use google to calculate
grep - grep the result .. used in pipelines
hubbub - pubsubhubbub plugin providing subscribe functionality
ipcalc - ipcalculator
irc - IRC related commands
jsondata - enable/disable sharing of files through the jsonserver (not
enabled right now)
kickban - channel control commands for IRC
misc - other commands
more - do a more on buffered output
nickcapture - retake nick (IRC)
nickserv - nickserver support (IRC)
not - negated grep .. used in pipelines
outputcache - show outputcache data
rss - provide RSS and Atom pollers
relay - relay to other waves/xmpp
restserver - provide REST functionality to the bot
reload - reloading of plugins
reverse - rever see the result .. also used in pipelines
seen - keep track of users
shop - keep shopping lists
sort - sort the result .. used in pipelines
tail - tail the result .. used in pipelines
test - test commands
tinyurl - get a tinyurl
todo - keep a todo list
underauth - undernet auth support (IRC)
uniq - make the result unique .. used in pipelines
user - user management
userstate - userstate management
watcher - watch channels that get forwarded to the bot.
wave - wave related commands
weather - show weather in a city
welcome - welcome messages shown in the gadget
wikipedia - query wikipedia
xmpp - xmpp related functions account
Project home is at http://jsonbot.googlecode.com
Have fun with it!
Hi all,
Lupa 0.13.1 was released to fix a major distribution bug in 0.13. Updating
is recommended.
http://pypi.python.org/pypi/lupa/0.13.1
What is Lupa?
-------------
Lupa integrates the LuaJIT2 runtime into CPython. It is a partial rewrite
of LunaticPython in Cython with some additional features such as proper
coroutine support.
Why use it?
------------
It complements Python very well. Lua is a language as dynamic as Python,
but LuaJIT compiles it to very fast machine code, sometimes faster than
many other compiled languages. The language runtime is extremely small and
carefully designed for embedding. The complete binary module of Lupa,
including a statically linked LuaJIT2 runtime, is only some 500KB on a 64
bit machine.
However, Lua code is harder to write than Python code as the language lacks
most of the batteries that Python includes. Writing large programs in Lua
is rather futile, but it provides a perfect backup language when raw speed
is more important than simplicity, and edit-compile-run cycles are too
heavy for agile development.
Lupa is a very fast and thin wrapper around LuaJIT. It makes it easy to
write dynamic Lua code that accompanies dynamic Python code by switching
between the two languages at runtime, based on the tradeoff between
simplicity and speed.
Recent Changes
---------------
0.13.1 (2010-08-30)
* fix Cython generated C file using Cython 0.13
0.13 (2010-08-29)
* fixed undefined behaviour on str(lua_object) when the object's
__tostring() meta method fails
* removed redundant "error:" prefix from LuaError messages
* access to Python's python.builtins from Lua code
* more generic wrapping rules for Python objects based on supported
protocols (callable, getitem, getattr)
* new helper functions as_attrgetter() and as_itemgetter() to specify
the Python object protocol used by Lua indexing when wrapping Python
objects in Python code
* new helper functions python.as_attrgetter(), python.as_itemgetter()
and python.as_function() to specify the Python object protocol used
by Lua indexing of Python objects in Lua code
* item and attribute access for Python objects from Lua code
0.12 (2010-08-16)
* fix Lua stack leak during table iteration
* fix lost Lua object reference after iteration
0.11 (2010-08-07)
* error reporting on Lua syntax errors failed to clean up the stack so
that errors could leak into the next Lua run
* Lua error messages were not properly decoded
Hi,
I am pleased to announce the release of TGWebServices 1.2.4.
Download: http://pypi.python.org/pypi/TGWebServices/1.2.4
Homepage: http://code.google.com/p/tgws/
What is it?
===========
TGWebServices provides a very easy way to implement multi-procotol
webservices in your TurboGears application.
What's New?
===========
This release brings a few improvements and bug fixes.
Among them :
- native date, time and datetime support
- base64-encodede binary support
- Improved documentation
A more complete Changelog is available at
http://wiki.tgws.googlecode.com/hg/changelog.html
Cheers,
Christophe
Reminder: Application deadline is August 31st, 2010!
===================================================
Advanced Scientific Programming in Python
=========================================
an Autumn School by the G-Node, the Center for Mind/Brain Sciences
and the Fondazione Bruno Kessler
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 with
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'll 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. Clean language design and easy extensibility are
driving Python to become a standard tool for scientific computing.
Some of the most useful open source libraries for scientific
computing and visualization will be presented.
This school is targeted at Post-docs and PhD students from all areas
of science. Competence in Python or in another language such as
Java, C/C++, MATLAB, or Mathematica is absolutely required. A basic
knowledge of the Python language is assumed. Participants without
prior experience with Python should work through the proposed
introductory materials.
Date and Location
=================
October 4th—8th, 2010. Trento, Italy.
Preliminary Program
===================
Day 0 (Mon Oct 4) — Software Carpentry & Advanced Python
• Documenting code and using version control
• Object-oriented programming, design patterns, and agile programming
• Exception handling, lambdas, decorators, context managers, metaclasses
Day 1 (Tue Oct 5) — Software Carpentry
• Test-driven development, unit testing & Quality Assurance
• Debugging, profiling and benchmarking techniques
• Data serialization: from pickle to databases
Day 2 (Wed Oct 6) — Scientific Tools for Python
• Advanced NumPy
• The Quest for Speed (intro): Interfacing to C
• Programming project
Day 3 (Thu Oct 7) — The Quest for Speed
• Writing parallel applications in Python
• When parallelization does not help: the starving CPUs problem
• Programming project
Day 4 (Fri Oct 8) — Practical Software Development
• Efficient programming in teams
• 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://www.g-node.org/python-autumnschool
Applications must be submitted before August 31st, 2010.
Notifications of acceptance will be sent by September 4th, 2010.
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! Look on 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
• Stéfan van der Walt, Applied Mathematics, University of Stellenbosch,
South Africa
• Tiziano Zito, Berlin Institute of Technology and Bernstein Center for
Computational Neuroscience Berlin, Germany
Organized by Paolo Avesani for the Center for Mind/Brain Sciences
and the Fondazione Bruno Kessler, and by Zbigniew Jędrzejewski-Szmek
and Tiziano Zito for the German Neuroinformatics Node of the INCF.
Website: http://www.g-node.org/python-autumnschool
Contact: python-info(a)g-node.org
ActiveState is pleased to announce ActivePython 2.7.0.2, a complete,
ready-to-install binary distribution of Python 2.7.
http://www.activestate.com/activepython
What's New in ActivePython-2.7.0.2
==================================
*Release date: 25-Aug-2010*
New Features & Upgrades
-----------------------
- Security upgrade to openssl-0.9.8o
- Upgrade to PyPM 1.1.1; noteworthy changes:
- Custom config file support w/ new repository settings (-R free,be
instead of
-L)
- Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
- Bug #87687: Prevent partial downloading of repo index cache
- Upgraded the following packages:
- Distribute-0.6.14
- pip-0.8
- SQLAlchemy-0.6.3
Noteworthy Changes & Bug Fixes
------------------------------
- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465
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 2.6 and 2.7 also include a binary package manager for
Python (PyPM) that can be used to install packages much easily. For example:
C:\>pypm install mysql-python
[...]
C:\>python
>>> import MySQLdb
>>>
See this page for full details:
http://docs.activestate.com/activepython/2.7/whatsincluded.html
As well, ActivePython ships with a wealth of documentation for both new
and experienced Python programmers. In addition to the core Python docs,
ActivePython includes the "What's New in Python" series, "Dive into
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals
(PEPs).
An online version of the docs can be found here:
http://docs.activestate.com/activepython/2.7/
We would welcome any and all feedback to:
activepython-feedback(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 (32-bit)
- Windows/x64 (64-bit) (aka "AMD64")
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64 (64-bit) (aka "AMD64")
- 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.6.15, a complete,
ready-to-install binary distribution of Python 2.6.6.
http://www.activestate.com/activepython
What's New in ActivePython-2.6.6.15
===================================
*Release date: 25-Aug-2010*
New Features & Upgrades
-----------------------
- Upgrade to Python 2.6.6 (`release notes
<http://www.python.org/download/releases/2.6.6/NEWS.txt>`__)
- Security upgrade to openssl-0.9.8o
- [MacOSX] 64-bit support (PPC and 10.4 are no longer supported)
- Upgrade to PyPM 1.1.1; noteworthy changes:
- Custom config file support w/ new repository settings (-R free,be
instead of
-L)
- Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
- Bug #87687: Prevent partial downloading of repo index cache
- Upgraded the following packages:
- Distribute-0.6.14
- pip-0.8
- SQLAlchemy-0.6.3
Noteworthy Changes & Bug Fixes
------------------------------
- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465
What's New in ActivePython-2.6.5.14
===================================
*Release date: 07-Jul-2010*
New Features & Upgrades
-----------------------
- Upgrade to PyPM 1.0.2
- 'pypm search' now also shows if a package is installed and upgradeable
- 'pypm info' now prints a concise representation by default
- 'pypm list --short' will show only packages names; for scripting
purposes
- Respect distutils install schemes (purelib, scripts)
Noteworthy Changes & Bug Fixes
------------------------------
- [MacOSX] Fix /usr/local/bin symlinks to not use the 'Current' symlink
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin
See the release notes for full details:
http://docs.activestate.com/activepython/2.6/relnotes.html#changes
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 2.6 and 2.7 also include a binary package manager for
Python (PyPM) that can be used to install packages much easily. For example:
C:\>pypm install mysql-python
[...]
C:\>python
>>> import MySQLdb
>>>
See this page for full details:
http://docs.activestate.com/activepython/2.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 (32-bit)
- Windows/x64 (64-bit) (aka "AMD64")
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64 (64-bit) (aka "AMD64")
- 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
The third edition of the web2py book is out:
http://www.lulu.com/product/paperback/web2py-%283rd-edition%29/12199578
also available in pDF and online for free in html at http://web2py.com/book
It includes documentation about many features not documented in the
2nd edition including:
- alternate login methods (openid, oauth, rpx, etc.)
- application level routes
- computed fields and virtual fields
- recursive selects and dal shortcuts
- field type list:linteger, list:string, list:reference
- more deployment recipes and scalability suggestions
- more details about GAE deployment
- building modular apps with components and plugins
- info about plugin_wiki (more or less described in this video: http://vimeo.com/13485916)