pymsfrpc An api wrapper for the metasploit rpc server written in python. getting started just install using pip sudo pip3 install pymsfrpc docs The docs are at here - Read the docs