I had the pleasure of giving a talk about Python virtual environments at this week's Christchurch Python meetup. It described the problem that virtualenvs solve, some gotchas and the tools people use to create and manage them. We also spent some time on some of the newer entrants in this space including pew, pipenv and poetry. The slides are available.
IMAPClient 2.1.0 has just been released! Here's the main highlights:
- Python 3.7 is now officially suppported
- Testing against PyPy (version 2 and 3)
- Added support for the QUOTA extension
- Helper for locating special folders
- Document usage for using self-signed TLS certificates
- Document how to use the
- Handling NIL values for INTERNALDATE
As always, IMAPClient can be installed using pip (
pip install imapclient). Full documentation is available at Read the Docs.
I recently had to write some NodeJS code which uses the AWS SDK to
list all the objects in a S3 bucket which potentially contains many
objects (currently over 80,000 in production). The S3 listObjects
API will only return up to 1,000 keys at a time so you have to make
multiple calls, setting the
Marker field to page through all the
I recently gave a talk at the Christchurch Python meetup which discussed the strengths and weaknesses of shell scripts, and why you might want to consider using Python instead of shell scripts. I went into some areas where Python is arguably worse than shell scripts, and then we dived into the excellent Plumbum package which nicely addresses most of those weaknesses.
The slides for the talk are available here.
IMAPClient 1.1.0 has just been released! Many thanks to the recent contributors and the project's other maintainers, Nicolas Le Manchet and Maxime Lorant. This release is full of great stuff because of them. Here's some highlights:
- search now supports nested criteria so that more complex criteria can be expressed. IMAPClient will add parentheses in the right place. See
- PLAIN authentication support
- UNSELECT support
- ENABLE support
- UID EXPUNGE support
- IMAP modified UTF-7 encoding/decoding now works correctly in all cases
- the mock package is no longer installed by default (just as a test dependency)
- many, many bug fixes
See the release notes for more details.
Much work has already gone into the 2.0 release and it won't be too far behind 1.1.0. The headline change there is reworking IMAPClient's handling of TLS.
This week I had the pleasure of giving a talk to Data Science masters students at the University of Canterbury (NZ). It was my attempt at giving some real-world advice from many years working as a technology geek. I think it went well and I hope the audience got something useful out of it.
The slides are now available.
I also managed to promote my current gig as well. Expect an article about what I've been up to soon.