Announce: Python for .NET 1.0 RC1 released
Hi all - I'm happy to announce the release of Python for .NET 1.0 RC1. You can download it from: http://www.zope.org/Members/Brian/PythonNet Highlights of this release: - Implemented a workaround for the fact that exceptions cannot be new-style classes in the CPython interpreter. Managed exceptions can now be raised and caught naturally from Python - Implemented support for invoking methods with out and ref parameters. Because there is no real equivalent to these in Python, methods that have out or ref parameters will return a tuple. The tuple will contain the result of the method as its first item, followed by out parameter values in the order of their declaration in the method signature. - Fixed a refcount problem that caused a crash when CLR was imported in an existing installed Python interpreter. - Added an automatic conversion from Python strings to byte[]. This makes it easier to pass byte[] data to managed methods (or set properties, etc.) as a Python string without having to write explicit conversion code. Also works for sbyte arrays. Note that byte and sbyte arrays returned from managed methods or obtained from properties or fields do *not* get converted to Python strings - they remain instances of Byte[] or SByte[]. - Added conversion of generic Python sequences to object arrays when appropriate (thanks to Mackenzie Straight for the patch). - Added a bit of cautionary documentation for embedders, focused on correct handling of the Python global interpreter lock from managed code for code that calls into Python. - PyObject.FromManagedObject now correctly returns the Python None object if the input is a null reference. Also added a new AsManagedObject method to PyObject, making it easier to convert a Python-wrapped managed object to the real managed object. - Created a simple installer for windows platforms. All known bugs have also been fixed - thanks to all who have sent in issue reports and patches for past releases. At this point, the only thing I plan to do before a 1.0 final is fix any new issues and add to the documentation (probably including a few specific examples of embedding Python for .NET in a .NET application). Enjoy! ;) Brian Lloyd[EMAIL PROTECTED] V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
imgSeek 0.8.5
imgSeek --- imgSeek is a photo collection manager and viewer with content-based search and many other features. The query is expressed either as a rough sketch painted by the user or as another image you supply (or an image in your collection). You may also do slideshows, generate web photo albums, edit image metadata including EXIF and IPTC data, organize images into a keyword hierarchy, and more. Changes --- * fixes bug at startup on new versions of PyQT (QSizePolicy) * fixes bug at startup when detecting locale * Applied patch by Daniel Fahlgren. Fixes bug which made compared image (when loaded from an external file) to be loaded rotated. * implemented a low level jpeg loader, which interacts directly with libjpeg so now imgSeek doesn't have to read the whole jpeg file in order to generate thumbnails and add an image to database. That represents a reduction by 1/3 to the time needed to thumbnail and add images to the database. On some benchmarks, adding 160 files (1600x1200) would take an average of 1'10 and now it takes 32. * fixed bug on Windows where dialogs wouldn't show up again after being closed * fixed some unicode bugs * added Rename image menu option * finished Portuguese (BR) translation * added i18n support Requires - Python 2.2.x, QT 3.x and PyQT 3.5. (3.4 should work) - ImageMagick development files or QT development files. Recommended: - Python Imaging Library. Links - Download: http://imgseek.python-hosting.com/wiki/Download Homepage: http://imgseek.python-hosting.com/ Screenshots: http://imgseek.sourceforge.net/sshot/ Complete ChangeLog: http://imgseek.python-hosting.com/timeline -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: rest2web 0.1.0
Finally, the long awaited (*ahem*) release of **rest2web**. It's an early release - lot's more features still to be added - but it all works. *Hurrah* rest2web is a tool for autogenerating websites. It allows you to store your contents in reST format, and generate pages and indexes from templates. It uses a simple but flexible templating system and generates index pages and navigation links. This means that adding new pages is as easy as dropping a text file into the right folder. rest2web will handle adding the link to the index page and creating the new page from a template and the contents. Removing a page is as easy as deleting a single file, and have rest2web automatically rebuild the indexes. The download includes the rest2web code, and docs, and a test site. The test site serves as a simple illustration of how rest2web builds pages and indexes. For full details see any of the following pages : * `rest2web Docs` - http://www.voidspace.org.uk/python/rest2web * `Example Site` - http://www.voidspace.org.uk/python/rest2web/test_site * `Quick Download (608k)` - http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=rest2web.zip The next features to add will be auto sitemap generation and a bigger change (under the hood) to make the index data available to every page in a section. This will allow pages to have sidebars with links, rather than just a single index page per section. I'm already building part of the Voidspace website with rest2web, over the next few months it will take over Lots of other features, tested on Linux and Windoze. Fuzzyman http://www.voidspace.org.uk/python -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
Dr. Dobb's Python-URL! - weekly Python news and links (May 9)
QOTW: It's not perfect, but then nobody in this thread has offered anything even remotely resembling perfect documentation for regular expressions yet. wink - Peter Hansen Python's flavor of OO is perfectly valid and usable, even though it doesn't follow the Java Holy Bible of Object Orientation (gasp!) - Hans Nowak It's highly arguable if Python is better than C#, but from a control-your-own-destiny angle, Python is a complete slam dunk. Python works well on *nix, Java, .NET and Mac OS X. It's open source. It's sane. But I won't argue it's fast. It's usually just not so slow you care. - Jonathan Rentzsch String Manipulation in Python: http://www.devshed.com/c/a/Python/String-Manipulation/ Why you can't detect a float's significant digits: http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/85eaac30c01b51a5 Dependency Injection The Python Way: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413268 What is Paste? http://blog.ianbicking.org/what-is-paste.html Finding peaks and valleys: http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/6506673a689339b7 Type-safe Enums in Python: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413486 Python turns up again in a Microsoft outpost: http://www.informit.com/guides/content.asp?g=windowsserverseqNum=183rl=1 Encryption with Python: http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/5fb9ffada975bae9 The importance of being selfish, deja vu: http://zephyrfalcon.org/weblog2/arch_e10_00770.html#e776 Notable releases: CherryPy-2.0-final: http://groups-beta.google.com/group/comp.lang.python.announce/browse_thread/thread/8905b9f2bd114f38 BeautifulSoup 2.1.0: http://www.crummy.com/software/BeautifulSoup/ KirbyBase 1.8.2: http://www.netpromi.com/kirbybase.html Everything Python-related you want is probably one or two clicks away in these pages: Python.org's Python Language Website is the traditional center of Pythonia http://www.python.org Notice especially the master FAQ http://www.python.org/doc/FAQ.html PythonWare complements the digest you're reading with the marvelous daily python url http://www.pythonware.com/daily Mygale is a news-gathering webcrawler that specializes in (new) World-Wide Web articles related to Python. http://www.awaretek.com/nowak/mygale.html While cosmetically similar, Mygale and the Daily Python-URL are utterly different in their technologies and generally in their results. For far, FAR more Python reading than any one mind should absorb, much of it quite interesting, several pages index much of the universe of Pybloggers. http://lowlife.jp/cgi-bin/moin.cgi/PythonProgrammersWeblog http://www.planetpython.org/ http://mechanicalcat.net/pyblagg.html comp.lang.python.announce announces new Python software. Be sure to scan this newsgroup weekly. http://groups.google.com/groups?oi=djqas_ugroup=comp.lang.python.announce Steve Bethard, Tim Lesher, and Tony Meyer continue the marvelous tradition early borne by Andrew Kuchling, Michael Hudson and Brett Cannon of intelligently summarizing action on the python-dev mailing list once every other week. http://www.python.org/dev/summary/ The Python Package Index catalogues packages. http://www.python.org/pypi/ The somewhat older Vaults of Parnassus ambitiously collects references to all sorts of Python resources. http://www.vex.net/~x/parnassus/ Much of Python's real work takes place on Special-Interest Group mailing lists http://www.python.org/sigs/ The Python Business Forum further[s] the interests of companies that base their business on ... Python. http://www.python-in-business.org Python Success Stories--from air-traffic control to on-line match-making--can inspire you or decision-makers to whom you're subject with a vision of what the language makes practical. http://www.pythonology.com/success The Python Software Foundation (PSF) has replaced the Python Consortium as an independent nexus of activity. It has official responsibility for Python's development and maintenance. http://www.python.org/psf/ Among the ways you can support PSF is with a donation. http://www.python.org/psf/donate.html Kurt B. Kaiser publishes a weekly report on faults and patches. http://www.google.com/groups?as_usubject=weekly%20python%20patch Cetus collects Python hyperlinks. http://www.cetus-links.org/oo_python.html