Quelques nouvelles de projets python : m2crypto, Django 1.1, pySerial, python-gnupg, pyscard
Posted by patrick sur août 9, 2009
- http://www.heikkitoivonen.net/blog/2009/07/27/m2crypto-020-beta-cycle-begins/ (‘Better late than never… I am announcing the first beta of M2Crypto 0.20 release. M2Crypto is the most complete Python wrapper for OpenSSL.The 0.20 release has been in development for about nine months. About 30 bugs and new features have been implemented by more than ten people. Unit tests now cover 80% of the code base. Tinderbox is used to automatically test changes on various flavors of Ubuntu, Fedora Core, Redhat and Cygwin. We could use more Tinderbox clients, so please drop me a line if you have some spare machine cycles available.’)
- http://www.djangoproject.com/weblog/2009/jul/29/1-point-1/ (‘After nearly a year of development, lots of new features and thousands of other improvements, Django 1.1 is here and ready for prime time! For a full rundown of what’s new and what’s changed, consult the release notes; to grab a copy, swing by the Django download page. And for the security-conscious, signed checksums for the release tarball are available. This release also contains the security update rolled out earlier tonight for older release series. Django 1.1 is the result of hard work by hundreds of people who’ve contributed code to Django and many more who’ve donated their time to reporting, triaging, tracking down and helping to fix bugs and develop new features. Django literally would not be able to happen without all of you, so stop and give yourselves (and any other contributors you know) a pat on the back.Thanks once again to everyone who’s helped out, and we hope to see you all at DjangoCon 2009 in Portland, Oregon, and all along the path to Django 1.2‘)
- http://eli.thegreenplace.net/2009/07/30/setting-up-python-to-work-with-the-serial-port/ (‘The serial port (a.k.a. COM-port, or RS232) is slowly disappearing from desktop and laptop computers, but it’s still a very important tool for embedded engineers and people controlling equipment in general. The reason for this is that the serial port is very simple to set-up and use both from embedded software code (the vast majority of MCUs and controllers have UART ports) and from a PC. Since last year, having moved to Python, I’ve been happily employing the excellent PySerial module to do this. I want to write a couple of posts on combining PySerial with GUIs and dynamic charts, but first I’ll have to explain how to set it up. Installing a COM-port emulator: As I’ve mentioned, it’s hard to come by a PC with real COM ports these days. Although there are many USB to RS-232 adapters on the market, the simplest thing to do if all you have is a single computer is installing an emulator. One that I recommend is called com0com. It is simple to install and works pretty well. So, download com0com and follow the installation instructions carefully to create two virtual COM ports which are connected to each other. For me com0com created ports named CNCA0 and CNCB0 – in future versions the names may be different, but it really doesn’t matter.’)
- http://groups.google.com/group/comp.lang.python.announce/browse_thread/thread/d2639ec8fff51c14/663833ebf069aea1?show_docid=663833ebf069aea1 (‘I’m happy to announce a release candidate of pySerial: 2.5-rc1 Whats new:
– Updated documentation (now using Sphinx, see link above).
– Windows implementation uses ctypes (instead of pywin32).
– Python 3.x compatibility.
– Using « bytes » type when available.
– Works together with Pythons new io library.’)
- http://code.google.com/p/python-gnupg/ (‘The GNU Privacy Guard (gpg, or gpg.exe on Windows) is a command-line program which provides support for programmatic access via spawning a separate process to run it and then communicating with that process from your program. This project implements a Python library which takes care of the internal details and allows its users to generate and manage keys, encrypt and decrypt data, and sign and verify messages.’)
- http://pyscard.sourceforge.net/ (‘pyscard is a python module adding smart cards support to python.’)