PyMetasploit is a full-fledged msfrpc client library for the Metasploit server (msfrpcd). The library features an easy-to-use object-oriented approach to accessing all the features available within the Metasploit framework. With only a few simple lines of code, developers can select exploit/payload/auxiliary modules, configure them, and execute them.
Armitage is a graphical cyber attack management tool for Metasploit that visualizes your targets, recommends exploits, and exposes the advanced capabilities of the framework. Armitage aims to make Metasploit usable for security practitioners who understand hacking but don't use Metasploit every day. If you want to learn Metasploit and grow into the advanced features, Armitage can help you.