dill: serialize all of python (almost)
# Version
0.2b1: 11/27/13
The latest released version is dill-0.2b1, available at:
http://dev.danse.us/trac/pathos
You can get the latest development release with all the shiny new features
at:
http://dev.danse.us/packages
or even better, fork us on our github mirror of the svn trunk:
https://github.com/uqfoundation
# Highlights
Dill can pickle the following standard types::
- none, type, bool, int, long, float, complex, str, unicode,
- tuple, list, dict, file, buffer, builtin,
- both old and new style classes,
- instances of old and new style classes,
- set, frozenset, array, lambda,
- standard functions, functions with yields, nested functions
- cell, method, unboundmethod, module, code, methodwrapper
- dictproxy, methoddescriptor, getsetdescriptor, memberdescriptor,
- wrapperdescriptor, xrange, slice,
- notimplemented, ellipsis, quit
- ... and more
Dill also provides the capability to::
- save and load python interpreter sessions
- save and extract the source code from functions and classes
- interactively diagnose pickling errors
# Features since 0.2a1:
- improved stability
- reduced import time
- fixes for distributions with missing std lib modules
- dump_session serializes new-style classes (*)
# Thanks:
Thanks to everyone who contributed, in particular thanks to Tom Stepleton
for the new-style class fix (*). The authors of dill also thank the UQ
Foundation, the Caltech PSAAP project, the ExMatEx project, the AFOSR, the
NSF and DOE for their recent support.
---
Mike McKerns
California Institute of Technology
http://www.its.caltech.edu/~mmckerns
Hello!
I'm pleased to announce an XML Virtual FileSystem for Midnight Commander
version 1.0.1.
WHAT IS IT
View an XML file in Midnight Commander as a filesystem.
WHAT'S NEW in version 1.0.1 (2013-11-24)
Fixed a few minor bugs.
WHAT'S NEW in version 1.0.0 (2013-11-23)
With lxml.etree-based implementation show only child namespaces
(calculated as combined namespaces minus parent's namespaces).
WHAT'S NEW in version 0.6.0 (2013-11-22)
Refactored _list() and attrs2text() to be completely generic.
WHAT'S NEW in version 0.5.0 (2013-11-19)
Added lxml.etree-based implementation.
WHAT'S NEW in version 0.4.0 (2013-11-19)
Added ElementTree-based implementation.
WHAT'S NEW in version 0.3.0 (2013-11-16)
Initial release. Implementation based on minidom.
WHERE TO GET
Home page: http://phdru.name/Software/mc/xml.html
Download: http://phdru.name/Software/mc/xml
git clone http://git.phdru.name/extfs.d.git
git clone git://git.phdru.name/extfs.d.git
Installation instructions: http://phdru.name/Software/mc/INSTALL.html
The VFS represents tags as directories; the directories are numbered to
distinguish tags with the same name; numbering also helps to sort tags by their
order in XML instead of sorting them by name. Attributes, text nodes and
comments are represented as text files; attributes are shown in a file named
"attributes", attributes are listed in the file as name=value lines (I
deliberately ignore a small chance of newline characters in values); names and
values are reencoded to the console encoding. Text nodes and comments are
collected in a file named "text", stripped and reencoded. The filesystem is
read-only.
Implementation based on minidom doesn't understand namespaces, it just shows
them among other attributes. ElementTree-based implementation doesn't show
namespaces at all. Implementation based on lxml.etree shows namespaces in a
separate file "namespaces".
It is useful to have a top-down view on an XML structure but it's especially
convenient to extract text values from tags. One can get, for example, a
base64-encoded image - just walk down the VFS to the tag's directory and copy
its text file to a real file.
The VFS was inspired by a FUSE xmlfs: https://github.com/halhen/xmlfs
AUTHOR
Oleg Broytman <phd(a)phdru.name>
COPYRIGHT
Copyright (C) 2013 PhiloSoft Design
LICENSE
GPL
Oleg.
--
Oleg Broytman http://phdru.name/ phd(a)phdru.name
Programmers don't die, they just GOSUB without RETURN.
On behalf of the Python development team, it's my privilege to announce
the first beta release of Python 3.4.
This is a preview release, and its use is not recommended for
production settings.
Python 3.4 includes a range of improvements of the 3.x series, including
hundreds of small improvements and bug fixes. Major new features and
changes in the 3.4 release series include:
* PEP 435, a standardized "enum" module
* PEP 436, a build enhancement that will help generate introspection
information for builtins
* PEP 442, improved semantics for object finalization
* PEP 443, adding single-dispatch generic functions to the standard library
* PEP 445, a new C API for implementing custom memory allocators
* PEP 446, changing file descriptors to not be inherited by default
in subprocesses
* PEP 450, a new "statistics" module
* PEP 453, a bundled installer for the *pip* package manager
* PEP 456, a new hash algorithm for Python strings and binary data
* PEP 3154, a new and improved protocol for pickled objects
* PEP 3156, a new "asyncio" module, a new framework for asynchronous I/O
Python 3.4 is now in "feature freeze", meaning that no new features will be
added. The final release is projected for late February 2014.
To download Python 3.4.0b1 visit:
http://www.python.org/download/releases/3.4.0/
Please consider trying Python 3.4.0b1 with your code and reporting any
new issues you notice to:
http://bugs.python.org/
Enjoy!
--
Larry Hastings, Release Manager
larry at hastings.org
(on behalf of the entire python-dev team and 3.4's contributors)
Announcing version 0.2 of PyDitz, a drop-in replacement for Ditz, a
distributed bug tracker.
Changes in this version:
* Fixed problem with blank comments in a few commands.
Features:
* Whereas Ditz, when typed on its own, runs the "todo" command, PyDitz
drops you into a command shell where you can run Ditz commands and get
completion on command names, issue names and release names according to
context.
* It keeps an intelligent cache of issues, so parsing of all the YAML files
isn't necessary for each command. This greatly improves speed when you
have lots of issues.
* With PyDitz, you don't have to run it from the same directory where the
issue database is; it will look in parent directories for it.
* You can use the database engine of PyDitz in Python programs to migrate
bug databases to and from Ditz format, or create summary reports in your
own favourite format.
In this release, all the Ditz commands are implemented except "edit",
"html" and "validate". They're planned for some time Real Soon Now.
You can get PyDitz from:
https://pypi.python.org/pypi/pyditz
or browse the sources at:
https://bitbucket.org/zondo/pyditz
It's distributed under the GPL v2+.
Announcing the first official release of PyDitz, a drop-in replacement for the Ditz distributed bug tracker (http://ditz.rubyforge.org).
Features:
* A console command (pyditz) which implements most of the Ditz commands ('edit' and 'html' still to do). It also has a 'shell' mode, providing context-dependent completion on commands, issues and releases.
* A Ditz database API, to help with migrating bug databases to/from Ditz format.
Where to get it:
Source packages are at https://pypi.python.org/pypi/pyditz
Source repository is at https://bitbucket.org/zondo/pyditz
License:
GPL v2 or later
I am pleased to announce release 2013.4 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 list: http://groups.google.com/group/sfepy-devel
Git (source) repository, issue tracker, wiki: http://github.com/sfepy
Highlights of this release
--------------------------
- simplified quadrature definition
- equation sequence solver
- initial support for 'plate' integration/connectivity type
- script for visualization of quadrature points and weights
For full release notes see http://docs.sfepy.org/doc/release_notes.html#id1
(rather long and technical).
Best regards,
Robert Cimrman and Contributors (*)
(*) Contributors to this release (alphabetical order):
Vladimír Lukeš, Jaroslav Vondřejc
Hi there folks,
I'm pleased to announce the 1.2.0 release of psutil:
http://code.google.com/p/psutil/
=== About ===
psutil is a module providing an interface for retrieving information on all
running processes and system utilization (CPU, memory, disks, network,
users) in a portable way by using Python, implementing many functionalities
offered by command line tools such as ps, top, free, netstat, lsof and
others.
It supports Linux, Windows, OSX, FreeBSD and Solaris with Python versions
from 2.4 to 3.4.
=== New features ===
psutil provides a new wait_procs() utility function which waits for
multiple processes to terminate (
https://code.google.com/p/psutil/issues/detail?id=440)
Tipical use case is:
1. send SIGTERM to a list of processes
2. give them some time to terminate
3. send SIGKILL to those ones which are still alive
Example:
>>> def on_terminate(proc):
... print("process {} terminated".format(proc))
...
>>> for p in procs:
... p.terminate()
...
>>> gone, still_alive = psutil.wait_procs(procs, timeout=3,
callback=on_terminate)
>>> for p in still_alive:
... p.kill()
...
>>>
Also, you can now avoid to pass a PID to psutil.Process constructor in
which case os.getpid() will be assumed.
=== Main bugfixes ===
High priority issue
https://code.google.com/p/psutil/issues/detail?id=348on Windows XP has
been fixed.
=== Links ===
* Home page: http://code.google.com/p/psutil
* Downloads:
https://pypi.python.org/pypi?:action=display&name=psutil#downloads
* 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.
All the best,
--- Giampaolo Rodola'
http://code.google.com/p/pyftpdlib/http://code.google.com/p/psutil/http://code.google.com/p/pysendfile/
All,
I am pleased to announce the release of Bokeh 0.3! Bokeh is a Python interactive visualization library for large datasets that natively uses the latest web technologies. Its goal is to provide elegant, concise construction of novel graphics in the style of Protovis/D3, while delivering high-performance interactivity over large data to thin clients.
If you are using Anaconda, you can install through conda:
conda install bokeh
Alternatively you can install from PyPI using pip:
pip install bokeh
This release was largely an internal refactor to merge the BokehJS and Bokeh projects into one repository, and to greatly improve and simplify the BokehJS coffee script build process. Additionally, this release also includes a number of bug and stability fixes, and some enhancements, including:
* bugfixes:
- #155 ColumnDataSource does not update column_names
- #150 If you plot circles that all have a position (0,0), there is a crash
- #117 axis_line_color=None does not work
* enhancements:
- #157 xaxis, etc should return collection object
- #129 The sampledata download is confusing
- #82 Improve hold() functionality in notebook
See the CHANGELOG for full details.
Several new examples were added including a reproduction of Burtin's Antibiotics, and examples of animation using the Bokeh plot server. ColorBrewer palettes were also added on the python side. Finally, the user guide has been flushed out and will continually be updated as features and API changes are made. Check out the full documentation and interactive gallery at
http://bokeh.pydata.org
The release of Bokeh 0.4 is planned for early January. Some notable features to be included are:
* Integrate Abstract Rendering into bokeh server
* Better grid-based layout system; use Cassowary.js for layout solver
* Tool Improvements (pan always on, box zoom always on, passive resize with hot corners)
* Basic MPL compatibility interface (enough to make ggplot.py work)
* Expose image plot in Python interface: Add BSON for sending large data
Issues or enhancement requests can be logged on the Bokeh Github page: https://github.com/continuumio/bokeh
Questions can be directed to the Bokeh mailing list: bokeh(a)continuum.io
Regards,
Bryan Van de Ven
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On behalf of the Python development team, I'm very happy to announce
the release of Python 3.3.3.
Python 3.3.3 includes several security fixes and over 150 bug fixes
compared to the Python 3.3.2 release. Importantly, a security bug in
CGIHTTPServer was fixed [1]. Thank you to those who tested the 3.3.3
release candidate!
This release fully supports OS X 10.9 Mavericks. In particular, this
release fixes an issue that could cause previous versions of Python to
crash when typing in interactive mode on OS X 10.9.
Python 3.3 includes a range of improvements of the 3.x series, as well
as easier porting between 2.x and 3.x. In total, almost 500 API items
are new or improved in Python 3.3. For a more extensive list of
changes in the 3.3 series, see
http://docs.python.org/3.3/whatsnew/3.3.html
To download Python 3.3.3 rc2 visit:
http://www.python.org/download/releases/3.3.3/
This is a production release, please report any bugs to
http://bugs.python.org/
Enjoy!
- --
Georg Brandl, Release Manager
georg at python.org
(on behalf of the entire python-dev team and 3.3's contributors)
[1] http://bugs.python.org/issue19435
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlKLDGYACgkQN9GcIYhpnLCjewCfQ+EJHpzGzIyTvYOrYmsRmnbv
n40AniVM0UuQWpPrlCu349fu7Edt+d4+
=WSIj
-----END PGP SIGNATURE-----