Calibre cant natively strip DRM from ebooks, but there are third-party plugins for it that can and integrate pretty seamlessly into the process of adding the book to your library.
I used it to strip the DRM from all of my Amazon bought ebooks back before they removed the download option.
I would have thought transmen would prefer Python.