Pathlib is a new library that lets you use path objects in an asynchronous way. It takes advantage of lib.io for async IO on Linux, which is probably where you care most about performance because that's where your server is. You can do all the same things with context managers like cache and files or the and the path history to make it even more powerful.