- Efficient I/O with zero-copy & psutil (Pycon China 2019) (how I sped up file copies in Python 3.8)
Open source projects
This is how I spend most of my free time: writing code which I don't even use (yes, I am not a user of the software I write)! =)
- psutil: a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python which works on Linux, Windows, OSX, FreeBSD and Solaris. (2008 - now)
- pyftpdlib: a very fast, asynchronous, pure-python FTP server. (2006 - now)
- pysendfile: a binding to sendfile(2) syscall which lets you send a file twice as fast as with a common socket. (2011 - now)
Contributions to python-dev
Being that Python is an important part of my every day life I'm happy to contribute back every time I get the chance. Starting from year 2010 I've been given commit access against Python code repository. My contributions are mainly focused against the Python standard library (amongst others: efficient zero-copy for shtuil.copy* functions, os.sendfile(), socket.sendfile(), ftplib's FTPS support, shutil.disk_usage(), os.get/setpriority(), signal constant enums, Solaris /dev/poll support) and I'm the current maintainer of ftplib, smtpd, asyncore and asynchat modules. I'm also occasionally active on the python bug tracker and participate in discussions on python-dev and python-ideas mailing lists, mainly as a lurker.
Whatever is not big enough to become an actual project I usually turn into an independent recipe.
Here's the ones I like the most:
Abandoned projectsThese are from when I started moving my first steps with Python. Listed here mainly for historical / nostalgic reasons. =)
- soicmp: a remote shell using ICMP protocol instead of TCP
- pypk: a port knocker based on libpcap
- pftpd: this is the ancestor of pyftpdlib, a multi thread based FTP server. Back then I still didn't know threads are evil. =)
Like my work?
All the stuff I work on is MIT licensed meaning you can do whatever you want with it. Except from small occasional donations I've never directly earned money out of my projects. If you think my work is worth your money consider making me a donation via paypal or write me a recommendation on Linkedin. If you're interested in psutil updates you can follow me on Twitter or search for #psutil.