The Karlsruhe Python User Group (KaPy) meets again.
Friday, 2014-03-21 (March 21st) at 19:00 (7pm) in the rooms of Entropia eV
(the local affiliate of the CCC). See http://entropia.de/wiki/Anfahrt
on how to get there.
For your calendars: meetings are held monthly, on the 3rd Friday.
There's also a mailing list at
https://lists.bl0rg.net/cgi-bin/mailman/listinfo/kapy.
I'm releasing six 1.6.0. It has a few more backports and another attempt
to solve the great lazy proxy module problem suggested by Diana Clark.
Here's the changelog:
- Raise an AttributeError for every attribute of unimportable modules.
- Issue #56: Make the fake modules six.moves puts into sys.modules
appear not to
have a __path__ unless they are loaded.
- Pull request #28: Add support for SplitResult.
- Issue #55: Add move mapping for xmlrpc.server.
- Pull request #29: Add move for urllib.parse.splitquery.
Hi all,
I just released the first version (0.1) of BlitzDB, an embeddable,
document-based database written entirely in Python. The software is
open-source and released under the MIT license, the code is available on
Github:
https://github.com/adewes/blitzdb
The documentation is hosted on ReadTheDocs:
http://blitz-db.readthedocs.org
The database ships with a native, file-based backend that has no
external dependencies. In addition, it can be used as a wrapper around
third-party database engines such as MongoDB. Some more features:
* document-based, object-oriented interface
* powerful and rich querying language comparable to MongoDB
* deep document indexes on arbitrary fields
* compressed storage of documents
* support for multiple backends (e.g. file-based storage, MongoDB)
* support for database transactions (currently only for the file-based
backend)
The current, fully functional release is on PyPi
(https://pypi.python.org/pypi/blitzdb/0.1) and can be installed using
e.g. pip or easy_install:
pip install blitzdb
#or
easy_install blitzdb
The main motivation for writing this was to create an embeddable,
document-oriented database that I could use in my Python projects (e.g.
command line tools) without having to worry about setting up and
maintaining additional software or servers. The project is NOT intended
as a fully-fledged replacement for MongoDB or other document databases.
I would love to hear your feedback on this project and I'm actively
looking for contributors, so feel free to get in touch with me (you can
find my e-mail on Github).
Best regards
Andreas
<a href="http://blitz-db.readthedocs.org">BlitzDB 0.1</a> BlitzDB 0.1 -
Embedabble, document-oriented database written entirely in Python
Hi all,
The Python Game Programming Challenge <http://pyweek.org/> will run
its 18th challenge from the 11th to the 18th of May.
The PyWeek challenge:
1. Invites entrants to write a game in one week from scratch either as
an individual or in a team,
2. Is intended to be challenging and fun,
3. Will increase the public body of game tools, code and expertise,
4. Will let a lot of people actually finish a game, and
5. May inspire new projects (with ready made teams!)
Check out the help page for how to compete (and prepare) and the
growing resources message board post:
http://pyweek.org/s/help/http://pyweek.org/d/4008/
Richard
It's been nearly a year since the last release, and this one brings
about 30+ fixes--a couple of the big ones include better Unicode
support when capturing output and compatibility with Python 3.4.
Thank you to all those who contributed to this release, and a special
thanks goes to Thomas Kluyver for all the code reviews and insights
while sorting out Unicode-related issues. See the CHANGELOG for the
details of what was fixed and the person to thank for fixing it.
It's also time to acknowledge that nose 1.x is in maintenance mode.
We will not be looking to add any features, and you should
seriously consider looking at nose2 as the way forward.
If you're interested in the future of nose, please take a look at the
nose2 project on github (https://github.com/nose-devs/nose2) or pypi
(http://pypi.python.org/pypi/nose2/0.4.7).
And lastly if you have the money to spare, please consider donating to
the John Hunter memorial fund (http://numfocus.org/johnhunter/). We
all give up time with our families to work on free software: so now
the free software community that has benefited so much from that
time we took can give something back to his family.
-John
I am happy to announce the release of Bokeh version 0.4.2!
Bokeh is a Python library for visualizing large and realtime datasets on the web. Its goal is to provide elegant, concise construction of novel graphics in the style of Protovis/D3, while delivering high-performance interactivity to thin clients. Bokeh includes its own Javascript library (BokehJS) that implements a reactive scenegraph representation of the plot, and renders efficiently to HTML5 Canvas. Bokeh works well with IPython Notebook, but can generate standalone graphics that embed into regular HTML.
Check out the full documentation, interactive gallery, and tutorial at
http://bokeh.pydata.org
If you are using Anaconda, you can install with conda:
conda install bokeh
Alternatively, you can install with pip:
pip install bokeh
Some of the new features in this release include:
* Additional Matplotlib and Seaborn compatibility (PolyCollection)
* Extensive tutorial with exercises and solutions added to docs
* new %bokeh magic for improved IPython notebook integration
* Windows support for bokeh-server with two new storage backends (in-memory and shelve)
Also, we've fixed lots of little bugs - see the CHANGELOG for full details.
BokehJS is also available by CDN for use in standalone javascript applications:
http://cdn.pydata.org/bokeh-0.4.2.jshttp://cdn.pydata.org/bokeh-0.4.2.csshttp://cdn.pydata.org/bokeh-0.4.2.min.jshttp://cdn.pydata.org/bokeh-0.4.2.min.css
Some examples of BokehJS use can be found on the Bokeh JSFiddle page:
http://jsfiddle.net/user/bokeh/fiddles/
The release of Bokeh 0.5 is planned for late March. Some notable features we plan to include are:
* Abstract Rendering for semantically meaningful downsampling of large datasets
* Better grid-based layout system, using Cassowary.js
* More MPL/Seaborn/ggplot.py compatibility and examples
* Additional tools, improved interactions, and better plot frame
* Touch support
Issues, enhancement requests, and pull requests can be made on the Bokeh Github page: https://github.com/continuumio/bokeh
Questions can be directed to the Bokeh mailing list: bokeh(a)continuum.io
Special thanks to recent contributors: Melissa Gymrek, Amy Troschinetz, Ben Zaitlen, Damian Avila, and Terry Jones
Regards,
Bryan Van de Ven
Continuum Analytics
http://continuum.io
Hi there folks,
I'm pleased to announce the 2.0.0 release of psutil:
http://code.google.com/p/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 ===
A lot. I tried to address all the changes in this blog post:
http://grodola.blogspot.com/2014/03/psutil-20.html
=== Links ===
* Home page: http://code.google.com/p/psutil
* Downloads:
https://pypi.python.org/pypi?:action=display&name=psutil#downloads
* Documentation: http://psutil.readthedocs.org/en/latest/
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 - http://grodola.blogspot.com
On behalf of the Python development team, I'm pleased to announce
the third and final** release candidate 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 428, a "pathlib" module providing object-oriented filesystem paths
* 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 451, standardizing module metadata for Python's module import system
* PEP 453, a bundled installer for the *pip* package manager
* PEP 454, a new "tracemalloc" module for tracing Python memory allocations
* 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 March 16, 2014.
To download Python 3.4.0rc3 visit:
http://www.python.org/download/releases/3.4.0/
Please consider trying Python 3.4.0rc3 with your code and reporting any
new issues you notice to:
http://bugs.python.org/
Enjoy!
** This time we really mean it! No foolin'!
--
Larry Hastings, Release Manager
larry at hastings.org
(on behalf of the entire python-dev team and 3.4's contributors)
-----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.5.
Python 3.3.5 includes fixes for these important issues:
* a 3.3.4 regression in zipimport (see http://bugs.python.org/issue20621)
* a 3.3.4 regression executing scripts with a coding declared and Windows
newlines (see http://bugs.python.org/issue20731)
* potential DOS using compression codecs in bytes.decode() (see
http://bugs.python.org/issue19619 and http://bugs.python.org/issue20404)
and also fixes quite a few other bugs.
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.5 visit:
http://www.python.org/downloads/release/python-335/
This is a production release, please report any bugs to
http://bugs.python.org/
The final release is scheduled one week from now.
Enjoy!
- --
Georg Brandl, Release Manager
georg at python.org
(on behalf of the entire python-dev team and 3.3's contributors)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlMcRNEACgkQN9GcIYhpnLAVqACeMoOOuuNX5iP6at9zbIZDnkqK
idwAoKb2FxAJlirhs2BmdESEaQiqBDJd
=smeC
-----END PGP SIGNATURE-----
Hello!
mimedecode.py
WHAT IS IT
Mail users, especially in non-English countries, often find that mail
messages arrived in different formats, with different content types, in
different encodings and charsets. Usually this is good because it allows us to
use appropriate format/encoding/whatever. Sometimes, though, some unification
is desirable. For example, one may want to put mail messages into an archive,
make HTML indices, run search indexer, etc. In such situations converting
messages to text in one character set and skipping some binary attachments is
much desirable.
Here is the solution - mimedecode.py.
This is a program to decode MIME messages. The program expects one input
file (either on command line or on stdin) which is treated as an RFC822
message, and decodes to stdout or an output file. If the file is not an RFC822
message it is just copied to the output one-to-one. If the file is a simple
RFC822 message it is decoded as one part. If it is a MIME message with multiple
parts ("attachments") all parts are decoded. Decoding can be controlled by
command-line options.
WHAT'S NEW in version 2.4.0 (2014-03-08)
Change option -d to accept a comma-separated list of headers:
-d h1,h2,h3,...
Change option -d to decode all headers and accept a list of exceptions:
-d *,-h1,-h2,...
Change option -p to accept lists of headers and parameters:
-p h1,h2,h3,..:p1,p2,p3,..
Allow * and exceptions for -p in the headers and parameters lists:
-p *,-h1,-h2,-h3:p1,p2,p3
-p h1,h2,h3:*,-p1,-p2,-p3
-p *,-h1,-h2,-h3:*,-p1,-p2,-p3
Change option -r to accept a list of headers: -r h1,h2,h3,...
Change option -r to remove all headers and accept a list of exceptions:
-r *,-h1,-h2,...
Change option -R to accept lists of headers and parameters:
-R h1,h2,h3:p1,p2,p3
-R h1,h2,h3:*,-p1,-p2,-p3
-R *,-h1,-h2,-h3:p1,p2,p3
-R *,-h1,-h2,-h3:*,-p1,-p2,-p3
Publish docs in html format.
Add ChangeLog.
WHAT'S NEW in version 2.3.7 (2014-02-23)
Add option -r to remove headers and option -R to remove headers parameters.
WHERE TO GET
Home page: http://phdru.name/Software/Python/#mimedecode
git clone http://git.phdru.name/mimedecode.git
git clone git://git.phdru.name/mimedecode.git
Requires: Python 2.2.2+, m_lib 2.0+.
Recommends: configured mailcap database.
Documentation: http://phdru.name/Software/Python/mimedecode.html
(also included in the package in html, man and txt formats).
AUTHOR
Oleg Broytman <phd(a)phdru.name>
COPYRIGHT
Copyright (C) 2001-2014 PhiloSoft Design.
LICENSE
GPL
Oleg.
--
Oleg Broytman http://phdru.name/ phd(a)phdru.name
Programmers don't die, they just GOSUB without RETURN.