Command line unrar python wrapper for multiple extractions (*.rar) with some handy features. The one you want. Depends on unrar (non-free-version) and python. Designed with jDownloader in mind.
PySamba is a full wrapper based in the work of Tim Potter. PySamba is built as a Python C extension and a Python module that hides the complexity of the lower layer (smb). At now, PySamba provides a fully functional samba wrapper