Tiffany - Read/Write Multipage-Tiff with PIL without PIL
========================================================
Tiffany stands for any tiff. The tiny module solves a large set of
problems, has no dependencies and just works wherever Python works.
Tiffany was developed in the course of the *DiDoCa* project and will
always appear on PyPi.
Version 0.6.1
-------------
This version uses the new int.from_bytes/to_bytes methods from
python3.2 and emulates them on python2.6/2.7 . This migration
was tested using pytest.
Tiffany is quite unlikely to change anymore until user requests come,
or I get better test data:
Testing with larger tiff files
------------------------------
The implementation right now copies data in one big chunk. I would
like to make that better/not limited by memory. For that, I need
a tiff file that is a few megabytes big.
Can somebody please send me one?
Extending Tiffany?
------------------
I'm also thinking of
- an interface to Qt (without adding a dependency)
- a command line interface, to make tiffany into a new tiff tool,
- support for other toolkits that need to handle tiff files.
Ideas about this are most welcome.
Please let me know if this stuff works for you, and send requests to
<tismer(a)stackless.com> or use the links in the bitbucket website:
https://bitbucket.org/didoca/tiffany
cheers -- Chris
--
Christian Tismer :^)<mailto:tismer@stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/
14482 Potsdam : PGP key -> http://pgp.uni-mainz.de
work +49 173 24 18 776 mobile +49 173 24 18 776 fax n.a.
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
--
http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
PyDev 2.6.0 has been released
Details on PyDev: http://pydev.org
Details on its development: http://pydev.blogspot.com
Release Highlights:
-------------------------------
Interactive console:
* It's now possible to use the interactive console attached to a
debug session. (patch from Hussain Bohra)
To use this feature either right-click a frame in the debug
view and choosing PyDev > Debug console or create a new Interactive
console as usual (Ctrl+Alt+Enter and choose 'PyDev Debug Console' --
but note that this option will only be enabled when in a debug session
with a selected frame in the Debug view.
* Fixed issue where completions from the console did not work
properly with '%' because quoting was not being properly done.
* Fixed issue where the execfile() redefinition in the PyDev
console did not use the proper globals
* When launching interactive console, PYTHONPATH order is properly
kept (patch from James Blackburn).
* Fix pasting into the middle of the console (patch from James Blackburn).
* For paste, only go to the end of the line if the cursor isn't in
range (patch from James Blackburn).
PyUnit:
* Improved preferences page configuration (links shown to add options).
* Improved test discovery in PyDev PyUnit runner (exclude/include
files/tests options added).
Jython:
* print may be used in dotted names as Jython requires for grammars
2.4 and 2.5.
Others:
* In a build, PyDev could end up reading the contents of files
unrelated to Python.
* Django project startup compatible with django 1.4.
* Assignments to builtins when in the class-level no longer
generate a warning.
* Fixed issue starting new thread in the debugger (fix for paste/waitress).
* Fixed error configuring interpreter if os.path was not present.
* Fixed issue when configuring interpreter which has unicode
characters in the PYTHONPATH.
* When searching for external files, also take a look at the
configured projects, as it may be that the file should actually be
found in an external source folder.
* Fixed issues getting marker on files with a dirty editor and
where we could end up getting markers from other files.
* The scripting output console is not shown unless there's actually
some output to show.
* A bunch of other minor fixes.
What is PyDev?
---------------------------
PyDev is a plugin that enables users to use Eclipse for Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
------------------------------------------------------
Software Developer
Appcelerator
http://appcelerator.com/
Aptana
http://aptana.com/
PyDev - Python Development Environment for Eclipse
http://pydev.orghttp://pydev.blogspot.com
Hi All,
Python Ireland is delighted to announce that early bird tickets are now
available for our 2012 PyCon Ireland conference, to be held in the Radisson
Blue Hotel in Dublin between the 13th and 14th of October.
PyCon lreland is the premier Irish open source conference for python
programming enthusiasts, professionals and students. Early bird
registration guarantees your place at a reduced rate. We also offer
corporate and student rates.
Register: http://python.ie/pycon/2012/registration/
Call for Papers now open also, please register here:
http://python.ie/pycon/2012/callfor/#speakers
Call for Sponsors still open, please register your interest here:
http://python.ie/pycon/2012/callfor/#sponsors
For more details see http://python.ie/pycon/2012/
Thanks,
/// Vicky Lee (PyCon Ireland 2012 Committee)
~~~~~~~~~~~~~~~~~~~~~~~~~
~~ http://irishbornchinese.com ~~
~~ http://www.python.ie ~~
~~~~~~~~~~~~~~~~~~~~~~~~~
Hi folks,
I'm pleased to announce the 0.5.0 release of psutil:
http://code.google.com/p/psutil/
=== Major new features ===
- system users
- (Linux, Windows) process CPU affinity (get and set)
- (POSIX) process number of opened file descriptors.
- (Windows) process number of opened handles.
- psutil.disk_partitions() now provides also mount options
- new Process.as_dict() method.
- Process.get_children(recursive=True): return all process descendants.
- 2to3 is not longer required to run at installation time in order to
support Python 3
- ppid, name, exe, cmdline and create_time properties of Process class
are now cached after being accessed.
- psutil.process_iter() now caches Process instances between calls.
For a complete list of features and bug fixes see:
http://psutil.googlecode.com/svn/trunk/HISTORY
=== New features by example ===
>>> import psutil, os
>>>
>>> psutil.get_users()
[user(name='giampaolo', terminal='pts/2', host='localhost',
started=1340737536.0),
user(name='giampaolo', terminal='pts/3', host='localhost',
started=1340737792.0)]
>>>
>>> psutil.disk_partitions()
[partition(device='/dev/sda1', mountpoint='/', fstype='ext4', opts='rw,nosuid'),
partition(device='/dev/sda2', mountpoint='/home', fstype='ext, opts='rw')]
>>>
>>> p = psutil.Process(os.getpid())
>>> p.get_num_fds()
4
>>>
>>> p.get_num_handles() # windows only
254
>>>
>>> p.get_memory_maps()
[mmap(path='/lib/x86_64-linux-gnu/libutil-2.15.so', rss=16384,
anonymous=8192, swap=0),
mmap(path='/lib/x86_64-linux-gnu/libc-2.15.so', rss=6384,
anonymous=15, swap=0),
mmap(path='/lib/x86_64-linux-gnu/libcrypto.so.1.0.0', rss=34124,
anonymous=1245, swap=0),
mmap(path='[heap]', rss=54653, anonymous=8192, swap=0),
mmap(path='[stack]', rss=1542, anonymous=166, swap=0),
...]
>>>
>>> p.as_dict()
{'status': 0, 'pid': 29510, 'connections': [], 'cmdline': ['python'], ...}
>>>
>>> p.get_cpu_affinity()
[0, 1, 2, 3]
>>> p.set_cpu_affinity([0])
>>>
>>> p.get_children(recursive=True)
[<Process...>, <Process...>, ...]
>>>
=== Links ===
* Home page: http://code.google.com/p/psutil
* Source tarball: http://psutil.googlecode.com/files/psutil-0.5.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/http://code.google.com/p/pysendfile/
On behalf of the Python development team, I'm happy to announce the
first beta release of Python 3.3.0.
This is a preview release, and its use is not recommended in
production settings.
Python 3.3 includes a range of improvements of the 3.x series, as well
as easier porting between 2.x and 3.x. Major new features and changes
in the 3.3 release series are:
* PEP 380, syntax for delegating to a subgenerator ("yield from")
* PEP 393, flexible string representation (doing away with the
distinction between "wide" and "narrow" Unicode builds)
* A C implementation of the "decimal" module, with up to 80x speedup
for decimal-heavy applications
* The import system (__import__) now based on importlib by default
* The new "lzma" module with LZMA/XZ support
* PEP 397, a Python launcher for Windows
* PEP 405, virtual environment support in core
* PEP 420, namespace package support
* PEP 3151, reworking the OS and IO exception hierarchy
* PEP 3155, qualified name for classes and functions
* PEP 409, suppressing exception context
* PEP 414, explicit Unicode literals to help with porting
* PEP 418, extended platform-independent clocks in the "time" module
* PEP 412, a new key-sharing dictionary implementation that
significantly saves memory for object-oriented code
* PEP 362, the function-signature object
* The new "faulthandler" module that helps diagnosing crashes
* The new "unittest.mock" module
* The new "ipaddress" module
* The "sys.implementation" attribute
* A policy framework for the email package, with a provisional (see
PEP 411) policy that adds much improved unicode support for email
header parsing
* A "collections.ChainMap" class for linking mappings to a single unit
* Wrappers for many more POSIX functions in the "os" and "signal"
modules, as well as other useful functions such as "sendfile()"
* Hash randomization, introduced in earlier bugfix releases, is now
switched on by default
In total, almost 500 API items are new or improved in Python 3.3.
For a more extensive list of changes in 3.3.0, see
http://docs.python.org/3.3/whatsnew/3.3.html (*)
To download Python 3.3.0 visit:
http://www.python.org/download/releases/3.3.0/
Please consider trying Python 3.3.0 with your code and reporting any bugs
you may notice to:
http://bugs.python.org/
Enjoy!
(*) Please note that this document is usually finalized late in the release
cycle and therefore may have stubs and missing entries at this point.
--
Georg Brandl, Release Manager
georg at python.org
(on behalf of the entire python-dev team and 3.3's contributors)
Tiffany - Read/Write Multipage-Tiff with PIL without PIL
========================================================
Tiffany stands for any tiff. The tiny module solves a large set of
problems, has no dependencies and just works wherever Python works.
Tiffany was developed in the course of the *DiDoCa* project and will
always appear on PyPi.
Version 0.6
-----------
This is a compatibility update for Python 3.2.
Tiffany now works on Python 2.6, 2.7 and 3.2.
This version also reduces the needed PIL files to only four. The
same files work for python2 and python3.
You can help me by sending some tiff files with different encoding
and larger file size for testing.
I'm also thinking of
- an interface to Qt (without adding a dependency)
- a command line interface, to make tiffany into a new tiff tool,
- support for other toolkits that need to handle tiff files.
Ideas about this are most welcome.
Please let me know if this stuff works for you, and send requests to
<tismer(a)stackless.com> or use the links in the bitbucket website:
https://bitbucket.org/didoca/tiffany
cheers -- Chris
--
Christian Tismer :^)<mailto:tismer@stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/
14482 Potsdam : PGP key -> http://pgp.uni-mainz.de
work +49 173 24 18 776 mobile +49 173 24 18 776 fax n.a.
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
odt2sphinx 0.2.1 is now available on pypi :
http://pypi.python.org/pypi/odt2sphinx/.
Odt2sphinx convert OpenDocument Text file(s) to one or several .rst
files suitable for Sphinx.
Changes
-------
* Add support for numbered lists, hyperlinks, underlined text
(translated to italic).
* Fix bold text support.
Regards,
Christophe de Vienne
PyCon Argentina is pleased to announce an extended set of 5 financial
aid grants up to $1500 ARS pesos, around 300 USD each grant (according
current currency exchange), to help speakers to cover travel and
lodging costs.
Do not wait to apply, applications will be analysed in a
rolling-basis, the first applicants will be given priority.
To propose activities please go to:
http://ar.pycon.org/2012/conference/proposals?lang=en
To apply for financial aid please read the instructions and fill the
following form:
http://ar.pycon.org/2012/fa?lang=en
This is the last week to submit talk proposals (deadline June 6th, 2012).
Don't miss this chance to speak at the largest gathering of the
Spanish-speaking Python community and interact with almost 500
expected attendees, including high skilled python developers,
entrepreneurs, scientific researchers, teachers and students.
This year the conference will be held in Buenos Aires, one of the most
important latin-american cities, full of nearby attractions!
Talks and tutorials in English or Portuguese are welcome if you are
not comfortable with Spanish.
This year's PyCon AR preconfirmed special international speakers
includes so far:
* Massimo Di Pierro (USA) - De Paul University - web2py / FermiQCD
* Andrea Gavana (Denmark) - Maersk Oil - wx.lib.agw & 2D/3D visualization
* Brett Cannon (Canada) - Google - python core developer: importlib py3k pypy
* Christophe Pettus (USA) - PostgreSQL Experts - Django & ORMs
* Thiago Avelino (Brasil) - Mochii - MongoDB - London
* Craig Kerstiens (USA) - Heroku - Tools, django, Postgres
* John Anderson (Chile) - pyramid, gevent-socketio, real-time web
Pycon Argentina is not possible without corporate sponsorship.
For companies interested in sponsoring of PyCon AR we recommend to
check sponsorship conditions at:
http://ar.pycon.org/2012/sponsors/prospectus?lang=en
Please spread the word and let other, interested people know about
PyCon Argentina.
Best Regards
Mariano Reingart
PyCon Argentina 2012 Chair
http://ar.pycon.org/2012
Hi,
Yet Another Meeting Assistant (YaMA), will help you with the Agenda,
Meeting Invitations, Minutes of a Meeting as well as Action Points. If
you are the assigned minute taker at any meeting, this tool is for
you.
Checkout http://yama.sourceforge.net/
YaMA is written in Python and Tkinter, is open source software
released under GPLv2, and is hosted by SourceForge
(www.sourceforge.net)
Whats New in version 1.7.1 :
1. Timezone related bug-fix.
Regards,
-- Atul
Hi,
I have uploaded greenlet 0.4.0 to PyPI:
http://pypi.python.org/pypi/greenlet
What is it?
-----------
The greenlet module provides coroutines for python. coroutines allow
suspending and resuming execution at certain locations.
concurrence[1], eventlet[2] and gevent[3] use the greenlet module in
order to implement concurrent network applications.
Documentation can be found here: http://greenlet.readthedocs.org
The code is hosted on github:
https://github.com/python-greenlet/greenlet
Changes in version 0.4.0
------------------------
The NEWS file lists these changes for release 0.4.0:
* Greenlet has an instance dictionary now, which means it can be
used for implementing greenlet local storage, etc. However, this
might introduce incompatibility if subclasses have __dict__ in their
__slots__. Classes like that will fail, because greenlet already
has __dict__ out of the box.
* Greenlet no longer leaks memory after thread termination, as long as
terminated thread has no running greenlets left at the time.
* Add support for debian sparc and openbsd5-sparc64
* Add support for ppc64 linux
* Don't allow greenlets to be copied with copy.copy/deepcopy
* Fix arm32/thumb support
* Restore greenlet's parent after kill
* Add experimental greenlet tracing
Many thanks to Alexey Borzenkov, who spent a lot of time on this release
and everyone else that helped make this release happen.
[1] http://opensource.hyves.org/concurrence/
[2] http://eventlet.net/
[3] http://www.gevent.org/
--
Cheers
Ralf Schmitt