In ASA version 9.3(2) Cisco released REST API support for their firewall. RASA (or REST API wrapper for Cisco ASA) is a Python wrapper using this API. The goal is to make it simpler to use the API. RASA is used in the Ansible modules for Cisco ASA.
The Python module is under early development and might change in backwards incompatible ways, but if you want to check it out. However if you want to try out out you can install it with pip.
pip install rasa
To view the code you can look at the project page at GitHub.
As I decide about how to organize the project I will add documentation. If you want to try it out and don’t know how to get started just send me a message.